3

let's say that all we have are corresponding image points in two views. From these points, I can compute a homography/essential matrix, however extracting the angle of rotation of the camera is not understood.

3
  • 1
    Did you already have a look here? stackoverflow.com/questions/4485774/rotation-matrix-opencv Dec 21, 2012 at 14:02
  • 1
    that will get you rotation around z, is that all you need? Getting rotation around x and y from just a homography is harder than you might expect
    – Hammer
    Dec 21, 2012 at 15:13
  • @Hammer you're right, the rotation matrix being calculated in that question is for 2D (essentially the rotation of an image). I'm looking for the rotation of the camera.
    – honeywind
    Dec 21, 2012 at 19:17

1 Answer 1

0

I'm not sure if I have misunderstood your question but if you are looking are looking for the rotation matrix between two camera coordinate systems and have computed the essential matrix then the rotation matrix can be calculated by taking an SVD of the essential matrix and doing some simple matrix multiplication.

The algorithm is listed here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.