[Insight-users] Compose metaimages into a Vector image

Antonio Gómez Barquero agb1 at alu.upct.es
Fri Sep 30 10:21:42 EDT 2011


Maybe you could use the VectorIndexSelectionCastImageFilter.

 

Antonio

 

De: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] En
nombre de Mengqiu Tian
Enviado el: viernes, 30 de septiembre de 2011 15:20
Para: insight-users at itk.org
Asunto: [Insight-users] Compose metaimages into a Vector image

 

Hi all,

I am trying to write an example of using imagetovectorimage.h.
I want to compose every 3 slices of the image series into a vector image.
part of my program as follows:

typedef itk::ImageToVectorImageFilter< ScalarImageType > FilterType;
FilterType::Pointer filter = FilterType::New();

filter->SetInput( 0, A);
filter->SetInput( 1, B);
filter->SetInput( 2, C);

A, B and C are slices need to be composed. However, after read in the images
by using itkMetaImageIO.h, how could I seperated the data into slices?

Thx in advance.:)

Mengqiu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110930/f96cbcc3/attachment.htm>


More information about the Insight-users mailing list