findHomography() returns matrix of homography.
The perspectiveTransform()
on the basis of this matrix gives you corners of the object inside the scene.
質問
Hi i want to know what does the findHomography method do and the result it generates. Can anyone give me good explanation of this method.
H = findHomography( obj, scene, CV_RANSAC );
perspectiveTransform( obj_corners, scene_corners, H);
解決
findHomography() returns matrix of homography.
The perspectiveTransform()
on the basis of this matrix gives you corners of the object inside the scene.