The goal is to compute the homography matrix, H:
To do so, we set up the following equations in AH = b format:
I set up a linear system of several equations and use numpy's least square solver to solve the best estimate.
I warped the images using skimage.transform.warp function. I supplied the source image and H inverse to the function.
Image mosaics were created by warping the source image to a 'center' image perspective.
Original images
Warped and combined
Original images
Warped and combined
Original images
Warped and combined
Original images
Warped and combined
I learnt to better visualise and understand how panaromas are created!