[Insight-users] Reslice volume according to 'Image Orientation' Dicom tag.

Laurent PAUL Laurent.Paul at orto.ucl.ac.be
Mon Jun 12 06:14:49 EDT 2006


Hi users,

Now I've got another problem.
For the moment I use origin of the initial volume but for volumes widely
rotated initially, the transformed volume is 'only' a piece of the intial
volume. I'd want to get, not the whole volume, I know it's impossible, but
at least entire slices (when there are).
I guess I need to transform the origin and pass it to the resampleFilter
as OutputOrigin.
Am I right?

I looked for a way to transform a point and I found that I can call the
TransformPoint() method from any Transform.
The problem is that I don't know which type of transform
ResampleImageFilter use when setting OutputDirection.

Any advice concerning correct origin setting would be great!

Thanks,

Laurent.




Hi!

I tried with OrientImageFilter , but I can only orient image following
predefined orientation (RIP, LIP...).
If I well understood, it does the same job as flip filter, isn't it?

I found an example in ITK!
For people interested in, it is ResampleOrientedImageFilter.cxx in
ITK-2.6.0\Examples\Filtering.

Laurent.



> Laurent PAUL wrote:
>> Hi users,
>> I get images with Image Orientation Dicom tag non equal to 1\0\0\0\1\0.
I'd want to align rows and columns respectively on X and Y axes. I know
there a class in VTK to reslice volume (great to dispaly
coronal,
>> sagittal and transversal views!).
>> Is there an equivalent class in ITK which reslices the volume using
Direction cosines?
> You can use the OrientImageFilter to get a new image which has direction
cosines close to 1 0 0 , 0 1 0 , 0 0 1 .
>> Thanks,
>> Laurent.
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
> --
> Simon
















More information about the Insight-users mailing list