OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Fri, 17 May 2013 10:49:08 -0500How to obtain projection matrix?http://answers.opencv.org/question/13545/how-to-obtain-projection-matrix/I have translation, rotation and camera matrices for two camera. How I can obtain two projection matrices for them?Fri, 17 May 2013 07:16:02 -0500http://answers.opencv.org/question/13545/how-to-obtain-projection-matrix/Answer by RaulPL for <p>I have translation, rotation and camera matrices for two camera. How I can obtain two projection matrices for them?</p>
http://answers.opencv.org/question/13545/how-to-obtain-projection-matrix/?answer=13559#post-id-13559Hi, the projection matrix is defined as P = KT (matrix multiplication)
where K => intrinsic parameters (camera parameters obtained by calibration)
[fx, 0, cx;
K = 0, fy, cy;
0, 0, 1]
and T => extrinsic parameters (rotation matrix and translation vector [R|t] )
[r11, r12, r13, t1;
T = r21, r22, r23, t2;
r31, r32, r33, t3]
You can see this in the [docs page](http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html).
Fri, 17 May 2013 10:49:08 -0500http://answers.opencv.org/question/13545/how-to-obtain-projection-matrix/?answer=13559#post-id-13559