OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Thu, 02 Jul 2020 12:56:21 -0500OpenCV Decompose projection matrix outputshttp://answers.opencv.org/question/232009/opencv-decompose-projection-matrix-outputs/0
I got confused with the outputs of opencv `decomposeProjectionMatrix` function.
I have the projection matrix and the camera matrix "K" and I want to get the translation vector "t"and the Rotation matrix "R" from the projection matrix
As I know the projection matrix of dimension 3*4 = K[R|t] in which "t" is a 3*1 vector
`cv2.decomposeProjectionMatrix` returns R with dimension 3*3 which is correct but the transVect returned is of dimension 4*1 not 3*1
My question is how to get back the projection matrix from the function outputs?Thu, 02 Jul 2020 12:56:21 -0500http://answers.opencv.org/question/232009/opencv-decompose-projection-matrix-outputs/