[Insight-users] Compose metaimages into a Vector image

Mengqiu Tian tianmengqiu at gmail.com
Fri Sep 30 09:19:32 EDT 2011


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/f3d64652/attachment.htm>


More information about the Insight-users mailing list