Hi John,<div><br></div><div>Readers are templated over the image type, so unless two images</div><div><br></div><div>are of same type you can't use the same reader (or writer).</div><div><br></div><div>If you want to do RGB operations on a grayscale image you can use the </div>
<div><br></div><div>ScalarToRGBColormapImageFilter to convert the greyscale image to RGB.</div><div><br></div><div>HTH,</div><div><br></div><div>Dawood</div><div><br></div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<</div>
<div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<</div>
<div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>Hello to all,
I would like to know if a RGB pointer could read and write properly a
greyscale image? Or I must use different pointers for RGB and greyscale
images?
Thanks in advance</pre></span></div>