[Insight-users] RGB to grayscale

Darren Weber darren.weber.lists at gmail.com
Wed Jul 1 18:44:41 EDT 2009


This prior thread is helpful,
http://www.itk.org/pipermail/insight-users/2004-August/010112.html

Are there any examples of using custom weights for the RGB components in
these classes:

Please look at the RGBToLuminanceImageAdaptor
http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageAdaptor.html

and the RGBToLuminanceImageFilter:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageFilter.html


There is an example in Filtering/RGBToGrayscale.cxx, but it does not modify
the weights on each RGB channel.

TIA,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090701/973e7fea/attachment.htm>


More information about the Insight-users mailing list