Ask Your Question

Fahrradweg's profile - activity

2020-01-18 19:47:06 -0600 received badge  Notable Question (source)
2018-11-24 22:32:47 -0600 received badge  Popular Question (source)
2016-01-25 13:31:48 -0600 received badge  Enthusiast
2016-01-21 06:52:30 -0600 received badge  Editor (source)
2016-01-20 23:55:45 -0600 asked a question What are tvecs and rvecs?

When obtaining the camera calibration parameters using calibrateCamera I get back two C++ vectors of matrices tvecs and rvecs. It seems that these are the extrinsic parameters of the camera, i.e. the parameters that describe the location and rotation of the camera. If I'm understanding it correctly, the rotation matrix rotates the scene so that the optical axis of the camera is aligned parallel to the Z-axis and the translation vector then moves the scene by the negative camera position vector, so that it is located at the origin. Am I understanding this correctly?

Bonus question: Is it possible to reproject (u, v) points from the camera image back to world coordinates? It seems to be impossible in the general case because cameraMatrix performs a central projection so that the depth information is lost.