Skip to content

Given a set of images, program determines if they are of the same object/scene and creates a montage/panoramic by stitching the images together.

Notifications You must be signed in to change notification settings

DWShuo/image-stitching

Repository files navigation

Usage

python stitch.py <img_dir>

Script takes a folder of images as its input

Example image

original images side by side

original images

Here are the keypoints detected after the inital FLANN matching

FLANN matching

Inlier keypoints after Fundamental matrix estimation

Fundamental matrix estimation

Remaining keypoints after homography estimation

Homography matrix

Finally here are the two images stitched together along with the output log

Final image

Output log

Comparing image2.JPG and image3.JPG
Matches found: 1287
Inliers count after Fundamental estimate: 966
Fundamental decision ---
Matched scene: inlier threshold meet
Inliers count after Homography estimate 397
Homography decision ---
image2_image3 Possible for alignment
Alignment possible: combine images
Warp Image 1 -> Image 2

About

Given a set of images, program determines if they are of the same object/scene and creates a montage/panoramic by stitching the images together.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages