A simple panorama or image stitcher.
The image stitcher uses SIFT to detect keypoints in a pair of images, then matches each keypoint descriptor in one image to its two nearest neighbours in the other, and applies the ratio test described in [1] to filter for good matches. A match is considered 'good' if the distances of the two nearest neighbours differ by less than a ratio; otherwise, the match is likely to be erroneous and is discarded.
The positions of the matched keypoints are used to compute a homography that transforms the right-hand image into the correct plane. The left image is then overlaid to create the panorama.
Input:
Output:
[1] Lowe, D. (2004). Distinctive image features from scale-invariant key-points. International Journal of Computer Vision, 60(2), 91–110.