How to decompose affine matrix to know rotation angle and translation?
57 views (last 30 days)
Show older comments
I am using affine transformation in the function imregtform in Matlab. The output of the function tform.T gives an affine matrix. Affine matrix consists of translation, rotation, scale, and shear. In matlab affine matrix look like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/840560/image.png)
translation would be e, and f. Now I want to decompose
to find the rotation angle. But I don't know which order rotation, scale, and shear should be decomposed? Hence kindly recommend something.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/840565/image.png)
Also if there is any easy way to find the rotation angle please suggest.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Linear Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!