Perspective matrix and camera parameters

asked 2012-10-27 12:42:44 -0600

this post is marked as community wiki

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

I have an image with N points which I know (I, j, x, y, z). I calculated the perspective matrix (4,4) that transforms any x,y,z to the image I,j. I don't know anything about the camera that generates the image. Is there a way to calculate the location of the camera from the perspective matrix? I want to know the rotation angles of the camera (rolll, pitch, heading) and the translation tx, Ty, tz. Also, how can I get the camera intrinsic matrix? I'll appreciate any leads.

thanks you so much.

edit retag flag offensive close merge delete

Comments

Just to be sure. Are you familiar with calib3d module documentation and tutorials? You can also try to read C++ samples and opencv_stitching module.

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-29 03:27:59 -0600 )edit