[Insight-users] Reading an Affine transformation

Vikash Gupta vikash.gupta at inria.fr
Wed Sep 12 14:48:55 EDT 2012



Hi everyone, 
I was wondering how to read an affine transformation matrix and apply the transformation to a point. 


The transformation matrix is stored in the ITK format as shown below. 



#Insight Transform File V1.0 
# Transform 0 
Transform: AffineTransform_double_3_3 
Parameters: 0.99994 0.0036829 -0.010337 -0.00366198 0.999991 0.00204231 0.0103444 -0.00200433 0.999944 0.629776 0.860314 -0.637161 
FixedParameters: 0 0 0 


Can anyone suggest a solution, I looked at itkTransformFileReader, but there is no function which says reader->GetOutput(). 
I was thinking it will be something trivial, but I do not understand. 


Any help will be appreciated. 
Thanks 
Vikash 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120912/fb495782/attachment.htm>


More information about the Insight-users mailing list