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

54 ビュー (過去 30 日間)
arindam mondal
arindam mondal 2021 年 12 月 21 日
コメント済み: Matt J 2021 年 12 月 22 日
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.

採用された回答

Matt J
Matt J 2021 年 12 月 21 日
  4 件のコメント
arindam mondal
arindam mondal 2021 年 12 月 22 日
編集済み: arindam mondal 2021 年 12 月 22 日
But different way of decomposition gives different rotation angle is it not true?
Matt J
Matt J 2021 年 12 月 22 日
Yes, it's true, but what does it matter?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange3-D Scene Control についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by