Ask Your Question
0

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

asked Apr 28 '13

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.

Preview: (hide)

2 answers

Sort by » oldest newest most voted
2

answered Apr 29 '13

Rogeeeer gravatar image

updated Apr 29 '13

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/

Preview: (hide)

Comments

Thx, didnt know that solvePnP was the replacement :)

StevenPuttemans gravatar imageStevenPuttemans (Apr 29 '13)edit
-1

answered Apr 28 '13

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.

Preview: (hide)

Comments

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

jkoregaokar gravatar imagejkoregaokar (Apr 28 '13)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 (Apr 29 '13)edit

Question Tools

Stats

Asked: Apr 28 '13

Seen: 2,084 times

Last updated: Apr 29 '13