<br>This prior thread is helpful,<br><a href="http://www.itk.org/pipermail/insight-users/2004-August/010112.html">http://www.itk.org/pipermail/insight-users/2004-August/010112.html</a><br><br>Are there any examples of using custom weights for the RGB components in these classes:<br>
<pre><font style="font-family: courier new,monospace;" size="2">Please look at the RGBToLuminanceImageAdaptor<br><a href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageAdaptor.html">http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageAdaptor.html</a><br>
<br>and the RGBToLuminanceImageFilter:<br><a href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageFilter.html">http://www.itk.org/Insight/Doxygen/html/classitk_1_1RGBToLuminanceImageFilter.html</a></font><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;">
</pre><br>There is an example in Filtering/RGBToGrayscale.cxx, but it does not modify the weights on each RGB channel.<br><br>TIA,<br>Darren<br><br>