[Insight-users] 4x4 matrix to itkTransform

Vikash Gupta vikash.gupta at inria.fr
Tue Jan 28 13:27:34 EST 2014


Hey everyone 
I am little bit lost like if there is a tool that exist that will convert a 4x4 matrix to a ITKTransform type 


For example, essentially 
input format 



0.990242 0.0089482 0.0115564 -55.2129 
-0.00411503 0.978607 0.0120489 -60.1255 
-0.00965018 -0.00686595 0.979628 74.2065 
0 0 0 1 


Output 

#Insight Transform File V1.0 
# Transform 0 
Transform: AffineTransform_double_3_3 
Parameters: -0.997192 0.0283671 -0.0693022 0.0158514 0.984462 0.174879 -0.0731862 -0.173289 0.982148 -0.206132 -33.1051 7.77696 
FixedParameters: 0 0 0 




Any help would be really appreciated. 


Thanks 
Vikash 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140128/e0af82b0/attachment.html>


More information about the Insight-users mailing list