[Insight-users] casting an 2D image to an 3D image

Miller, James V (Research) millerjv at crd.ge.com
Tue Mar 8 15:01:14 EST 2005


The CastImageFilter can be used to convert a 2D image into a 3D image.
Simply instantiate a CastImageFilter where the input image type is 2D
and output image type is 3D. The result will be a 3D image with a single

The CastImageFilter can also be used to go 3D to 2D, although the
ExtractImageFilter is better for that purpose since it allows you to 
select the slice to use.


-----Original Message-----
From: insight-users-bounces at itk.org
[mailto:insight-users-bounces at itk.org]On Behalf Of Matthias Linkenheil
Sent: Tuesday, March 08, 2005 11:39 AM
To: insight-users at itk.org
Subject: [Insight-users] casting an 2D image to an 3D image


is there a possibility to cast an 2D image to an 3D image (z size of 3D 
image = 0)?

Kind regards,
Insight-users mailing list
Insight-users at itk.org

More information about the Insight-users mailing list