[Insight-users] How to get one 2d image from 3d volume data?
jiang
jiang at TI . Uni-Trier . DE
Fri, 5 Dec 2003 15:30:34 +0100
Dear ITK-users,
I read a series of 2d image files to form a 3d volume. Now I want to get one
slice of those images from the volume pointer. How should I do?
The type of volume is:
typedef itk::Image<PixelType, 3> ImageNDType;
ImageNDType::Pointer volume;
The 2d image type is:
typedef itk::Image<PixelType, 2> ImageType;
ImageType::Pointer OnePiece.
Thank you very much!
Chunyan