DecomposeProjectionMatrix clarification

asked 2015-09-17 09:00:33 -0600

CallumjCourt gravatar image

Hi all,

Can someone please explain fully what the output of decomposeProjectionMatrix is?

I am giving it a 3x4 camera matrix, and I understand that the output is the intrinsic matrix, a 3x3 rotation matrix and a 4x1 translation vector. My questions are:

-Is the translation vector representing the position of the world origin in camera coordinates or visa versa? -To fully determine camera pose (i.e centre of perspective and the 'look in' direction of the camera) what would I need to do to the output matrices?

Thanks

edit retag flag offensive close merge delete

Comments

  • The translation vector will represent the position of the world frame in camera coordinates.
  • I don't understand what you want to do. With decomposeProjectionMatrix, you can have the intrinsic matrix and the camera pose matrix.
Eduardo gravatar imageEduardo ( 2015-09-18 03:43:58 -0600 )edit