Ask Your Question
1

rotation matrix to euler angle

asked 2013-03-10 01:29:46 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-03-10 08:02:55 -0600

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).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-10 01:29:46 -0600

Seen: 5,572 times

Last updated: Mar 10 '13