[Insight-users] 3 gray images to one RGB
Cory Quammen
cquammen at cs.unc.edu
Tue May 25 08:38:23 EDT 2010
It looks like ComposeRGBImageFilter is what you are looking for:
http://www.itk.org/Doxygen/html/classitk_1_1ComposeRGBImageFilter.html
Cory
On Tue, May 25, 2010 at 4:19 AM, Rahul P.Kumar <aarkay0001 at yahoo.com> wrote:
> Hi everyone,
>
> How can I convert 3 different gray scale images into one RGB image?
>
> I tried using iterator with the pixel type as RGB but could not set more
> than one value to the pixel.
> In the description of RGBpixel, it specifies a function
> void Set<http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#137c282f9d5ed7329a54dfc501a97ad9>
> (ComponentType<http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3>
> red, ComponentType<http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3>
> green, ComponentType<http://www.itk.org/Doxygen316/html/classitk_1_1RGBPixel.html#98aad6da6a722513f1c3d85bab9c7cd3>
> blue)
> But I could not figure out how to use it.
>
>
> Best Regards,
> Rahul
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
--
Cory Quammen
Center for Computer Integrated Systems for Microscopy and Manipulation
(CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100525/113dc7a1/attachment.htm>
More information about the Insight-users
mailing list