<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><div><div>Hi everyone, </div></div><div>I was wondering how to read an affine transformation matrix and apply the transformation to a point.</div><div><br></div><div>The transformation matrix is stored in the ITK format as shown below.</div><div><br></div><div><div>#Insight Transform File V1.0</div><div># Transform 0</div><div>Transform: AffineTransform_double_3_3</div><div>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</div><div>FixedParameters: 0 0 0</div></div><div><br></div><div>Can anyone suggest a solution, I looked at itkTransformFileReader, but there is no function which says reader->GetOutput().</div><div>I was thinking it will be something trivial, but I do not understand.</div><div><br></div><div>Any help will be appreciated.</div><div>Thanks</div><div>Vikash</div><div><br></div></div></body></html>