[ITK-users] ITK Importing Image Data from a Buffer

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Oct 27 12:14:01 EDT 2014


Hello,

I would create separate R, G and B images, with 3 different import filters then use the ComposeImageFilter to make an ITK RGB image. ITK image or RGBPixel, are stored in RGBRGBRGB format.

A simular conversion was done here[1], when reading the VisibleHuman data set. You will need to use an ImportImageFilter in stead of the readers used in the example.

Brad


[1] http://www.itk.org/Doxygen/html/IO_2VisibleHumanStreamReadWrite_8cxx-example.html

On Oct 27, 2014, at 12:05 PM, assil <assil-king at hotmail.fr> wrote:

> Hi Bill, 
> 
> It's RRRRRRRRRRRR...GGGGGGGGGGGGGGGG....BBBBBBBBBBBBBBBBB... 
> 
> 
> 
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-Importing-Image-Data-from-a-Buffer-tp7586419p7586423.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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.php
> 
> 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://public.kitware.com/mailman/listinfo/insight-users



More information about the Insight-users mailing list