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

54 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Matt J
Matt J am 21 Dez. 2021
  4 Kommentare
arindam mondal
arindam mondal am 22 Dez. 2021
Bearbeitet: arindam mondal am 22 Dez. 2021
But different way of decomposition gives different rotation angle is it not true?
Matt J
Matt J am 22 Dez. 2021
Yes, it's true, but what does it matter?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 3-D Scene Control finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by