How to estimate the Euler Angles (or the corresponding homogeneous 4x4 tform) by use of a known 3x3 projective tform?

1 vue (au cours des 30 derniers jours)
I am trying to estimate the euler angles from a projective Transformation Matrix.
knowns: projective-2d tform (3x3), camera's intrinsic matrix
I tried out the tform2eul function (robotics sytem toolbox), but it needs a 4x4 homogeneous tform as input. How can one estimate the 4x4 homogeneous tform by use of the 3x3 projective tform?
If you know other solutions please give me a hint. Thank's

Réponses (1)

Sebastian Castro
Sebastian Castro le 12 Sep 2018
Modifié(e) : Sebastian Castro le 12 Sep 2018
Assuming the projective2d transform is doing a rotation about Z and translation about XY, you can probably do the following:
tform3d = [tform.T(1:2,1:2) [0;0] tform.T(1:2,3);
0 0 0 1]
eul = tform2eul(tform3d)
- Sebastian

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by