Skip to content

🧵 A simple SIFT-based image stitcher made with the OpenCV library.

Notifications You must be signed in to change notification settings

meganelisabethfinch/image_stitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🧵 A simple SIFT-based image stitcher made with the OpenCV library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published