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 Center および File ExchangeGeometric 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