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

1 次查看(过去 30 天)
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

回答(1 个)

Sebastian Castro
Sebastian Castro 2018-9-12
编辑:Sebastian Castro 2018-9-12
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

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by