<font size=2 face="sans-serif"><br>
Hello </font>
<br>
<br><font size=2 face="sans-serif">I'm trying to write a function that
can reasonably convert between ITK and VTK coordinate spaces. I have a
given ITK transform with my 12 parameters, (3 fixed). </font>
<br>
<br><font size=2 face="sans-serif"> a
b c x
</font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif"> d
e f y
</font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif"> g
h i z
</font>
<br>
<br><font size=2 face="sans-serif"> l
m n 1 </font>
<br>
<br><font size=2 face="sans-serif">where (a,b,c,d,e,f,g,h,i) represent
my ITK matrix, (x,y,z) is my center, and (l,m,n) is my translation.</font>
<br>
<br>
<br><font size=2 face="sans-serif">How do I convert that to VTK format
</font>
<br>
<br>
<br><font size=2 face="sans-serif"> a
b c o
</font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif"> d
e f p
</font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif"> g
h i q
</font>
<br>
<br><font size=2 face="sans-serif"> 0
0 0 1 </font>
<br>
<br><font size=2 face="sans-serif">where (a,b,c,d,e,f,g,h,i) represent
my VTK matrix,, and (o,p,q) is my translation. </font>
<br>
<br><font size=2 face="sans-serif">Is there a relatively straightforward
way of doing this?</font>
<br>
<br><font size=2 face="sans-serif">Kind Regards,</font>
<br><font size=2 face="sans-serif">Sam</font>
<br>