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

조회 수: 59 (최근 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 CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by