[ITK] Conversion from ITK to VTK coordinate spaces

sganesan at cusa.canon.com sganesan at cusa.canon.com
Tue May 9 12:16:38 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? I'm using 
ITK_4.11.0

Kind Regards,
Sam


Santosh Ganesan
Software Engineer
Innovation Center Division
Canon U.S.A., Inc.
210 Broadway, Cambridge, MA, 02139
www.usa.canon.com
sganesan at cusa.canon.com
T 617-374-2625 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170509/91297273/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3762 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20170509/91297273/attachment.gif>


More information about the Community mailing list