Using my phone camera, I have taken some pictures on campus and at my appartnment to be used in this project.
The goal here is to find the homography matrix H. Since there are 8 unkown entries in the matrix, we need at least 4 corresponding pairs of points to find the matrix. Note that the scale factor "i" here can be set to 1 so in reality there is only 8 unkonwns shown in the follwing matrix. Also note that we are using OSL if we provide more than 4 points.
1. Take picture of image that contains a rectangle somewhere.
2. Define the coordinates on the 4 corner of the rectangle.
3. Self define a set of corresponding coordinates to those 4 corners.
4. Use part 2 to find the homography matrix H.
5. Apply the homography matrix to the original image we took.
For image 1 I target the green looking rectangle above the light switch.
For image 2 I target the poster itself.
1. Define corresponding points to two images.
2. Warp one of the images onto the other like part 3.
3. Using the given offsets (if not already shown in the output) to align image.
4. Blend them together using concepts from project 2.