Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.36 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.36 KB

Image Stitcher

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.

🖼️ Example

Input:

Peile Building, Newnham College (left side) Peile Building, Newnham College (right side)

Output:

A stitched image of Peile Building, Newnham College

📚 Sources

[1] Lowe, D. (2004). Distinctive image features from scale-invariant key-points. International Journal of Computer Vision, 60(2), 91–110.