Project 5: (Auto)stitching and Photo Mosaics

Candace Chiang, 3032706562

Pictures and Points

Below are the two images I plan to use for the mosaic, and the image I plan to rectify. I selected points manually for each picture.

Computing Homography

I wrote out and defined a function to calculate the homography matrix, which we use as so: p' = Hp.

Warping

I'm still working on the warping function, and running into a lot of issues :(. I'm currently trying to repurpose warping code from Project 3, but it doesn't seem to be working, so I might look into the cv2.remap(). I'm also have strange bugs with finding the bounding box from applying the homography matrix to the corners of the image to be rectified. I display my current results with the corners and corresponding bounding box (which I think is wrong), and the results of skimage.transform.warp.