Borrar filtros
Borrar filtros

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

55 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Matt J
Matt J el 21 de Dic. de 2021
  4 comentarios
arindam mondal
arindam mondal el 22 de Dic. de 2021
Editada: arindam mondal el 22 de Dic. de 2021
But different way of decomposition gives different rotation angle is it not true?
Matt J
Matt J el 22 de Dic. de 2021
Yes, it's true, but what does it matter?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Linear Least Squares en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by