[vtkusers] Conversion from ITK to VTK Coordinate spaces

sganesan at cusa.canon.com sganesan at cusa.canon.com
Tue May 9 11:46:06 EDT 2017


Hello 

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). 

       a        b      c    x 
 
       d      e       f     y 
 
       g      h        i     z 

        l      m       n    1 

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.


How do I convert that to VTK format 


       a        b      c    o 
 
       d      e       f     p 
 
       g      h        i     q 

        0      0       0    1 

where (a,b,c,d,e,f,g,h,i) represent my VTK matrix,, and (o,p,q) is my 
translation. 

Is there a relatively straightforward way of doing this?

Kind Regards,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170509/1480a11c/attachment.html>


More information about the vtkusers mailing list