First time here? Check out the FAQ!
answered 2012-10-12 07:49:42 -0600
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.
findHomography()
H
warpPerspective()