The following illustration shows the original image and the image mapped to the parallelogram. Now suppose you map those three points to destination points as follows.
Exampleįor example, suppose the original image is a rectangle with upper-left corner at (0, 0), upper-right corner at (100, 0), and lower-left corner at (0, 50). The three destination points determine an affine transformation that maps the original rectangular image to a parallelogram. You can rotate, reflect, and skew an image by specifying destination points for the upper-left, upper-right, and lower-left corners of the original image.