Clear Filters
Clear Filters

How to decompose affine matrix to know rotation angle and translation?

57 views (last 30 days)
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
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.
Also if there is any easy way to find the rotation angle please suggest.

Accepted Answer

Matt J
Matt J on 21 Dec 2021
  4 Comments
arindam mondal
arindam mondal on 22 Dec 2021
Edited: arindam mondal on 22 Dec 2021
But different way of decomposition gives different rotation angle is it not true?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!