<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Hi everyone,</div><div><br></div><div>How can I convert 3 different gray scale images into one RGB image?</div><div><br></div><div>I tried using iterator with the pixel type as RGB but could not set more than one value to the pixel.</div><div>In the description of RGBpixel, it specifies a function </div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; "><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="memItemLeft" nowrap="" align="right" valign="top" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; padding-top: 1px; padding-right: 0px; padding-bottom: 0px; padding-left: 8px; margin-top: 4px; margin-right: 4px; margin-bottom: 4px; margin-left: 4px; border-top-width:
1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(224, 224, 224); border-right-color: rgb(224, 224, 224); border-bottom-color: rgb(224, 224, 224); border-left-color: rgb(224, 224, 224); border-top-style: solid; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: rgb(250, 250, 250); ">void </td><td class="memItemRight" valign="bottom" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; padding-top: 1px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; margin-top: 4px; margin-right: 4px; margin-bottom: 4px; margin-left: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(224, 224, 224); border-right-color: rgb(224, 224, 224); border-bottom-color: rgb(224, 224, 224); border-left-color: rgb(224, 224, 224); border-top-style: solid; border-right-style:
none; border-bottom-style: none; border-left-style: none; background-color: rgb(250, 250, 250); "><a class="el" href="http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#137c282f9d5ed7329a54dfc501a97ad9" style="color: rgb(26, 65, 168); text-decoration: none; font-weight: bold; ">Set</a> (<a class="el" href="http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3" style="color: rgb(42, 55, 152); text-decoration: none; font-weight: bold; ">ComponentType</a> red, <a class="el" href="http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3" style="color: rgb(42, 55, 152); text-decoration: none; font-weight: bold; ">ComponentType</a> green, <a class="el" href="http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3" style="color: rgb(42, 55, 152); text-decoration: none; font-weight: bold;
">ComponentType</a> blue)</td></tr></tbody></table><br></span><div style="position:fixed"></div>
<div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; ">But I could not figure out how to use it.</span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; ">Best Regards,</span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; ">Rahul</span></div></div><br>
</body></html>