Ask Your Question
0

how do we get yaw, roll, pitch from POSIT rotation matrix

asked 2013-04-28 14:46:09 -0600

jkoregaokar gravatar image

what is the algorithm used to calculate the yaw(z axis), roll(x axis) and pitch(y axis) from the 3*3 rotation matrix generated by cvPOSIT.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-04-29 02:17:48 -0600

Rogeeeer gravatar image

updated 2013-04-29 03:39:09 -0600

You can use the c implementation, it still works. You can also use solvePnP, which seems to replace cvPOSIT for pose estimation.

Pedro Martins in his Master's thesis explain what you want with cvPOSIT :

http://www2.isr.uc.pt/~pedromartins/Publications/pmartins_MScThesis.pdf

And here with solvePnP :

http://www.morethantechnical.com/2012/10/17/head-pose-estimation-with-opencv-opengl-revisited-w-code/

edit flag offensive delete link more

Comments

Thx, didnt know that solvePnP was the replacement :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-29 07:08:12 -0600 )edit
-1

answered 2013-04-28 15:17:14 -0600

Basically the cvPOSIT is not a function provided by the openCV library as can be seen here. I am guessing you are using some kind of wrapper functionality provided by another development group. Please go to the specific wrapper or add-on library webpage.

edit flag offensive delete link more

Comments

there seems to be a wiki page for it. http://opencv.willowgarage.com/wiki/Posit

jkoregaokar gravatar imagejkoregaokar ( 2013-04-28 15:56:51 -0600 )edit

I have seebn the page indeed. However, as far as I understand, willowgarage originally supported the development for OpenCV. However, OpenCV is now developped independently, maybe leading to the removal of some intellectual property. Another thing could be that the function got renamed inside the latest releases...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-29 01:51:18 -0600 )edit

Question Tools

Stats

Asked: 2013-04-28 14:46:09 -0600

Seen: 2,061 times

Last updated: Apr 29 '13