[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
Matthias,
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
slice.
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.
Jim
-----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
Hello,
is there a possibility to cast an 2D image to an 3D image (z size of 3D
image = 0)?
Kind regards,
Matthias
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list