Ask Your Question

Th results of decomposeHomographyMat meaning

asked 2017-11-01 11:59:20 -0500

Humam Helfawi gravatar image

I have single calibrated RGB camera that is moving around a static object. I took two senescence shots and compute the Homography between them.

Then, using Camera Matrix and Homography, I call cv::decomposeHomographyMat which gives me possible rotations angles and translations.

Suppose that always the first pair of rotation and translation the correct one, what do those angles and translation mean? what is the origin of this transformation. Is it about the camera origin? is it about the object origin?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-11-02 08:58:52 -0500

Tetragramm gravatar image

The results of decomposeHomographyMat are an rvecs and a tvecs. The rvecs represents the rotation of the homography from the original coordinate system. The tvecs is the translation from the original.

In other words. The camera is assumed to be at no rotation, no translation looking at a planar scene. The output is where the camera would have to be to see the scene as if it were warped by the homography. The coordinate system is that described at the top of THIS page.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-01 11:59:20 -0500

Seen: 615 times

Last updated: Nov 02 '17