<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.53">
<TITLE>RE: [Insight-users] Getting the transformation used by theitk::OrientImageFilter</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
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:<BR>
0&nbsp; 1&nbsp; 0<BR>
1&nbsp; 0&nbsp; 0<BR>
0&nbsp; 0&nbsp; 1<BR>
whereas a flip across the x-axes would correspond to:<BR>
1&nbsp; 0&nbsp; 0<BR>
0 -1&nbsp; 0<BR>
0&nbsp; 0 -1<BR>
That is, if by flipping is meant: inversion about an axes. You'll have to check, if that is the case.<BR>
<BR>
best,<BR>
Jeroen<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: insight-users-bounces@itk.org on behalf of Anja Ende<BR>
Sent: Fri 11/04/2008 11:46<BR>
To: insight-users@itk.org<BR>
Subject: [Insight-users] Getting the transformation used by theitk::OrientImageFilter<BR>
<BR>
Hi everyone,<BR>
<BR>
How can I get the transformation that is applied to the image by the<BR>
itk::OrientImageFilter. I have a need where I have to apply the<BR>
inverse of that transformation to an input point. However, I am not<BR>
sure how to get reference to the transformation matrix.<BR>
<BR>
Hope someone can help me...<BR>
<BR>
Anja<BR>
_______________________________________________<BR>
Insight-users mailing list<BR>
Insight-users@itk.org<BR>
<A HREF="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>