Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use findHomography() for this. It returns a transformation matrix H, which you can use as parameter for warpPerspective() to map the source image onto the destination image.