Ask Your Question
0

Is rotation vector from solvePnP() already roll, pitch and yaw?

asked 2013-09-06 15:32:01 -0600

alfa_80 gravatar image

The output of solvePnP() is a rotation vector and a translation vector.

My question: Is this rotation vector representing roll, pitch, yaw in (whatever X-Y-Z order or similar) fixed angle convention? I guess it is, but I want to have a confirmation on this.

Thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-09-22 05:16:25 -0600

As you can check here it is Rodrigues angles. If you want rpy, you have to convert it.

edit flag offensive delete link more
1

answered 2015-01-13 08:04:31 -0600

Haris gravatar image

No, the out put of solvePnP() is not directly roll, yaw & pitch, but need to calculate using OpenCV inbuilt decomposeProjectionMatrix.

The detailed answer can be found here

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-06 15:32:01 -0600

Seen: 7,394 times

Last updated: Jan 13 '15