Introduction - If you have any usage issues, please Google them yourself
Take two pictures with slightly different camera positions
Find corner points and the correspondences in both pictures
Geometric image transformation T
Apply the transformation T to register the distorted image to the reference image
Show the registered image.