[Insight-users] How to do Image Plane Cut using ITK?

Steve M. Robbins steve at sumost.ca
Thu Jun 21 10:56:12 EDT 2007


On Thu, Jun 21, 2007 at 09:33:52AM -0500, Shuzai Fan wrote:
> Dear All,
> 
> What I want to do is to cut a 3D MRI volume using a plane. This plane may
> not be perpendicular to x, y, or z axis and it could be any position and
> orientation. I need to know all the pixel locations on this plane to do
> further analysis. I know that VTK has a class called "vtkImageReslice" that
> can do the image plane cut. I am wondering if this could be implemented by
> using ITK only.

Yep.  The class you seek is itk::ResampleImageFilter.

When resampling -- whether using ITK or VTK -- be careful to use
proper interpolation for your application.  See
e.g. http://public.kitware.com/pipermail/insight-users/2007-May/022170.html

Cheers,
-Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070621/92e5889c/attachment.pgp


More information about the Insight-users mailing list