Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does the perspectiveTransform( ) function work?

In the tutorial -> http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html
I understand that the syntax for this function is as follows: perspectiveTransform(obj_corners, scene_corners, H);
Where obj_corners and scene_corners are vectors of Points and obj_corners contains 4 points of the object to be found and H is the homography matrix. My question is, what exactly does this function do?