[Insight-users] 2D -> 3D image

Matthias Linkenheil m.linkenheil at dkfz-heidelberg.de
Tue Mar 15 01:57:22 EST 2005


Laksono Adhianto schrieb:

>Hi
>
>I am new in ITK. I am interested in "converting" a series of 2D image
>to a 3D image. Is it possible ? (The 2D images are taken from confocal
>microscope)
>
>Regards,
>
>  
>


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 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.





More information about the Insight-users mailing list