OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Mon, 29 Oct 2012 03:27:59 -0500Perspective matrix and camera parametershttp://answers.opencv.org/question/3516/perspective-matrix-and-camera-parameters/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.Sat, 27 Oct 2012 12:42:44 -0500http://answers.opencv.org/question/3516/perspective-matrix-and-camera-parameters/Comment by Kirill Kornyakov for <p>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.</p>
<p>thanks you so much.</p>
http://answers.opencv.org/question/3516/perspective-matrix-and-camera-parameters/?comment=3549#post-id-3549Just to be sure. Are you familiar with [calib3d](http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html) module documentation and [tutorials](http://docs.opencv.org/doc/tutorials/calib3d/table_of_content_calib3d/table_of_content_calib3d.html)? You can also try to read C++ samples and opencv_stitching module.Mon, 29 Oct 2012 03:27:59 -0500http://answers.opencv.org/question/3516/perspective-matrix-and-camera-parameters/?comment=3549#post-id-3549