OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Sat, 28 Feb 2015 12:17:48 -0600How to adjust rotation matrix by a known anglehttp://answers.opencv.org/question/56448/how-to-adjust-rotation-matrix-by-a-known-angle/Hi,
I have calibrated a camera and the pitch angle considered was 0. I have the rotation mat & translation vector from using solvePnp and Rodrigues. Now, if I tilt the camera, the pitch angle changes.. how can I adjust the 3x3 rotation matrix to take into account the new pitch angle? Or the rotation vector.. The pitch angle is expressed in degrees or radians.
Basically I build up an ipm image using projectPoints function that takes the previously obtained matrixes: camera mat, rotation and translation vectors from the calibration. I simply want to modify the rotation mat to take into account the new pitch angle of the camera (mobile phone). I have rotated the points 'manually' before applying the projectPoints but the computation takes too much time.
Any ideas?
Thanks!Sat, 28 Feb 2015 12:17:48 -0600http://answers.opencv.org/question/56448/how-to-adjust-rotation-matrix-by-a-known-angle/