MATLAB: How to obtain the translation and rotation from the given affine transformation matrix

affine transformation matrixComputer Vision Toolboxrotaiontranslation

Hi, I already determined SURF features in both frames, and use the matchFeatures function from the Computer Vision System Toolbox to match points in one frame to the points in the other.
Then I used RANSAC to determine a good matching transformation that removes outliers in point matching using the vision.geometricTransformEstimator function. This function returns a transformation matrix.
If the value of affine transformation matrix is a = [0.9947 -0.0012; -0.0038 0.9896; 2.5796 -0.1141],how do i know the translation and rotation values?please help.

Best Answer

Affine transformations involve a rotation, translation, scale and shear. It may not be possible to recover only the translation/rotation from an affine transformation matrix.