[Insight-users] extracting a subvolume from a larger volume

Andreas Schuh andreas.schuh.84 at googlemail.com
Tue Sep 8 22:42:15 EDT 2009


Hi,

you don't have to resample the entire image, just the region you want  
to crop out. There is no way  you can do this without resampling in  
the case that the region you want to crop out is not aligned with the  
coordinate axes of the image's coordinate system. The  
itk::ResampleImageFilter only resamples the volume within the region  
you specify.

Andreas

On Sep 8, 2009, at 9:36 PM, shoosh moosh wrote:

> I don't want to resample the entire image. I want to crop out a  
> certain subvolume from the whole image with this subvolume having a  
> defined origin with respect to the original image, and defined  
> dimensions that are actually smaller than the original image. The  
> orientation of the smaller subvolume with respect to the original  
> image is also a given.
> Thanks
>
>
> Date: Tue, 8 Sep 2009 16:16:42 -0400
> Subject: Re: [Insight-users] extracting a subvolume from a larger  
> volume
> From: kishoreraom at gmail.com
> To: babygirl_25 at hotmail.com
> CC: andreas.schuh.84 at googlemail.com; insight-users at itk.org
>
> Hi,
>
> Look at the ResampleImageFilter and remember to set the transform  
> and interpolation method along with the output information such as  
> size, spacing and origin.
>
> Kishore
>
> 2009/9/8 shoosh moosh <babygirl_25 at hotmail.com>
> >
> > Hi,
> > Is there an ITK class that can extract a subvolume from a larger  
> volume (similar to itk::ExtractImageFilter) but where the subvolume  
> isn't necessarily aligned with the bigger volume. Instead,the inputs  
> would be the origin, the dimensions of the subvolume, and the  
> subvolume orientation information.
> > Thanks,
> >
> > ________________________________
> > From: andreas.schuh.84 at googlemail.com
> > To: babygirl_25 at hotmail.com
> > Subject: Re: [Insight-users] extracting a subvolume from a larger  
> volume
> > Date: Fri, 10 Jul 2009 07:33:58 -0400
> > CC: insight-users at itk.org
> >
> > Hi,
> > have a look at itk::ExtractImageFilter. Instead of the center, you  
> specify the starting index of the subvolume.
> > --
> > regards
> > Andreas
> >
> > On Jul 10, 2009, at 6:54 AM, shoosh moosh  
> <babygirl_25 at hotmail.com> wrote:
> >
> > Hi,
> > Is there an ITK program where I can specify the x, y, z  
> coordinates of the center of a subvolume and also the width, height,  
> and depth of the subvolume to extract a subvolume from a bigger  
> volume?
> > Thanks
> >
> > ________________________________
> > Windows Live™: Keep your life in sync. Check it out!
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> > ________________________________
> > With Windows Live, you can organize, edit, and share your photos.
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
> What can you do with the new Windows Live? Find out

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090908/3959ec13/attachment.htm>


More information about the Insight-users mailing list