[Insight-users] multiple component image

David Doria daviddoria at gmail.com
Tue Mar 22 10:15:12 EDT 2011


On Tue, Mar 22, 2011 at 10:09 AM, Eduardo Suarez-Santana
<esuarez at itccanarias.org> wrote:
> I'd like to create a multiple component image, whose number of
> components is established in execution time. How can I do that? Is it
> possible to use templated classes, or do I need to append somehow a
> vector of images?

Check out itkVectorImage:

http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/VectorImage

Particularly the SetNumberOfComponentsPerPixel function:
http://www.itk.org/Doxygen/html/classitk_1_1VectorImage.html#ab168beb6f1737a7f4ac84d2bd05af80f

David


More information about the Insight-users mailing list