[Insight-users] convert slice to volumn

Jun Tan bitleo at gmail.com
Wed Dec 22 16:06:57 EST 2004


Hi, Louis:
I want to convert an image defined by 
    typedef itk::Image<ImagePixelType, 2> SliceType;
to another image defined by
    typedef itk::Image<ImagePixelType, 3> VolumnType;
without calling "SetPixel(...)" for all pixels, so that the second
image is 3 dimensional but contains only one slice.
Is there any such functions or I have to make one?

Thanks,

Jun


More information about the Insight-users mailing list