2

below you can see the result of the optical flow if a camera makes a translation movement. If the camera makes a roll rotation the result looks like the second picture. Is it possible to retrieve the yaw angle from a camera if its only rotation around the yaw axis? I think in the optical flow you can recognize if the camera is rotating around the yaw axis (z-axis), but i don't know how to retrieve the information how much the cam has rotated.

I would be gradeful for any hints. Thanks

Translation: enter image description here

Roll rotation:

enter image description here

Orientation of camera:

enter image description here

user3077796
  • 192
  • 1
  • 19
  • Did you find an answer to this problem? I am interested as well and would appreciate if you post the answer (if you found one) – Zwähnia Jul 27 '16 at 14:11

1 Answers1

1

If you have a pure rotation of your cam then you can use findhomography. You need four point correspondence in your pictures. For a pure rotation the homography matrix is already a rotation matrix. Otherwise you need to decompose the homograohy matrix. For a camera movement off 6 dof you can use the function find essential matrix and decompose this to translation and rotation.

user3077796
  • 192
  • 1
  • 19