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

shoosh moosh babygirl_25 at hotmail.com
Tue Sep 15 10:31:08 EDT 2009


I want to apply a certain transform to the my filter.
How do I set a particular transform with these values: 
double T[4][4]={ {R11,R12,R13,X }, {R21,R22,R23,Y} , {R31,R32,R33,Z} ,  {0,0,0,1} };
It's a 4x4 transformation applied to a 3D image.

Subject: Re: [Insight-users] extracting a subvolume from a larger volume
From: andreas.schuh.84 at googlemail.com
Date: Tue, 8 Sep 2009 22:42:15 -0400
CC: insight-users at itk.org
To: babygirl_25 at hotmail.com



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

_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090915/f70d35a8/attachment.htm>


More information about the Insight-users mailing list