[Insight-users] Image Orientation Filter
Luis Ibanez
luis.ibanez at kitware.com
Mon Feb 9 11:54:15 EST 2009
Hi Pascal,
I would suggest you to use the itkResampleImageFilter.
*if* the directions in the images are set correctly,
You should be able to do this with an itkIdentityTransform.
Simply set the direction of the Output image to the orientation
that you want your output to have, define the parameters of the
output image grid (origin, spacing, number of pixels along x,y,z).
and pick an interpolator.
The process should be very straight forwards.
Notice that you will have to calculate carefully the origing
of the output image to make sure that it is located in the
same extent of physical space as the input images.
Making a diagram in physical coordinates, of the extents
from each one of the images (including their orientation)
will make things a lot clearer.
Regards,
Luis
--------------
Pascal wrote:
> Hi all,
>
> I've recently posted this issue and received no answer. I'm struggling
> with the implementation aspects....so any advice or suggestions are
> welcomed and appreciated.
>
> I am faced with a problem regarding the pasting or stitching of oblique
> images in a final volume. For instance, suppose I have three images,
> each one oriented at Rx=[-5, 0, +5] degrees, and Ry=Rz= 0 degrees, how
> could I read these oriented images and place all three in a common volume?
>
> I am not certain that the OrientImageFilter can do these, even though it
> can allow us to use the following command:
>
> orienter --> SetUseImageDirection( );
>
>
> thank you in advance
>
>
> Pascal
>
>
>
>
> ------------------------------------------------------------------------
>
> _____________________________________
> 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
More information about the Insight-users
mailing list