OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Tue, 11 Jun 2013 00:20:46 -0500Rotation Vectors and Translation Vectorshttp://answers.opencv.org/question/14256/rotation-vectors-and-translation-vectors/Hii , I am using cvCalibrateCamera2(....) function in opencv . Here one of the output that I get is the rotation_vectors which is Nx3 matrix . I have seen the documentation and it says look at cvRodrigues2() function for further details . And I have understood that cvRodrigues2() function converts the a 1x3 rotation vector to a 3x3 rotation matrix . My question is which 1x3 rotation vector out of the N , should be inputted to cvRodrigues2() function for calculating the Rotation Matrix ?? sachin_rtThu, 30 May 2013 00:03:41 -0500http://answers.opencv.org/question/14256/Rotation Matrix calculation using cvRodrigues , Calculating real world coordinates from pixel world coordinates .http://answers.opencv.org/question/14969/rotation-matrix-calculation-using-cvrodrigues-calculating-real-world-coordinates-from-pixel-world-coordinates/Hii I want to get real world (X,Y,Z) coordinates of an object from live capture from a PTZ camera .
I have found the intrinsic parameters , and using chessboard calibration with 15 chessboard images . I have also found the extrinsic prameters . I know Z coordinate cannot be found using a single camera .
To do this I need to find rotation and translation matrix . I have a doubt that for finding rotation matrix cvRodrigues() function will convert a rotation vector to 3x3 rotation matrix , but here I will have 15 rotation vectors . Which one should I use for finding the rotation matrix ??
Also I want to know if I happen to pan or tilt my camera from the original calibration position . will i have to recalculate my rotation matrix and translation matrix or can i use the old ones ?? sachin_rtTue, 11 Jun 2013 00:20:46 -0500http://answers.opencv.org/question/14969/