Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to decompose homography transformation matrix in opencv

Hello, I have found feature points detection and matching using SURF and based on homography transformation matrix. Now, I want to decompose homography transformation matrix to retrieve rotation and translation parameters. I have tried in opencv2.4.9 and all higher version. there is function for decomposePerspectiveMat but not for homography transformation matrix. This function is available for opencv3.0 and higher version. But before to use this function, I have to find feature points using SURF and xfeature2d as per documentation is required. But when we installed opencv3.1.0, then no file available like xfeature2d.hpp.

Can you please help to decompose homgraphy transformation matrix?

Thank you,