[Insight-users] vector to image conversion

Bradley Lowekamp blowekamp at mail.nih.gov
Fri Mar 15 11:08:46 EDT 2013


Hello,

Please look at the NthElementAdaptor:

http://www.itk.org/Doxygen/html/classitk_1_1NthElementImageAdaptor.html

Included in the doxygen is the links to the wiki examples.

As the example indicates you may be able to use the adapted image as input in the next filter. Or you could use it as input into a CastImageFilter, to get an actual Image of the scalar type.

Brad


On Mar 15, 2013, at 10:43 AM, Mekonnen Lemessa <mekonnenlem at gmail.com> wrote:

> Dear insight-users,
>  
>  
> Is there any means of converting itk::Vector type vector of 1D to itk::Image type of 2D or 3D in ITK?  I hope you will help me giving any suggestion!
>  
> regards,
>  
>  
> Mek.
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list