[Insight-users] Getting the transformation used by theitk::OrientImageFilter
J.S.Wijnhout at lumc.nl
J.S.Wijnhout at lumc.nl
Fri Apr 11 07:11:34 EDT 2008
Hi,
You should be able to use GetFlipAxes () and GetPermuteOrder () to construct the transformation. For example a permutation of the x and y axes would correspond to a matrix:
0 1 0
1 0 0
0 0 1
whereas a flip across the x-axes would correspond to:
1 0 0
0 -1 0
0 0 -1
That is, if by flipping is meant: inversion about an axes. You'll have to check, if that is the case.
best,
Jeroen
-----Original Message-----
From: insight-users-bounces at itk.org on behalf of Anja Ende
Sent: Fri 11/04/2008 11:46
To: insight-users at itk.org
Subject: [Insight-users] Getting the transformation used by theitk::OrientImageFilter
Hi everyone,
How can I get the transformation that is applied to the image by the
itk::OrientImageFilter. I have a need where I have to apply the
inverse of that transformation to an input point. However, I am not
sure how to get reference to the transformation matrix.
Hope someone can help me...
Anja
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080411/cf1746da/attachment-0001.htm>
More information about the Insight-users
mailing list