First time here? Check out the FAQ!

Ask Your Question
1

rotation matrix to euler angle

asked Mar 10 '13

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Hi, I have a 3X3 rotation matrix. I need to find out euler angle (rotation along x, y and z in terms of angle). I used cvRodrigues2(), but it giving rotation in terms of vector. any other function in opencv? thanking u I also tried Rx = atan2(r32,r33) Ry = atan2(-r31, sqrt(r32r32+r33fr33)) Rz = atan2(r21, r11)

but not getting proper result

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Mar 10 '13

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Please see https://d3cw3dd2w32x2b.cloudfront.net/wp-content/uploads/2012/07/euler-angles.pdf . According to this paper your computation has several errors (note the indices start with 0 not 1).

Preview: (hide)

Question Tools

Stats

Asked: Mar 10 '13

Seen: 5,609 times

Last updated: Mar 10 '13