Image_Stitching

所属分类:图形图像处理
开发工具:Python
文件大小:1744KB
下载次数:1
上传日期:2021-12-24 00:34:56
上 传 者sh-1993
说明:  基于SIFT和ORB的图像拼接
(Image Stitching based on SIFT and ORB)

文件列表:
comparison.png (648156, 2021-12-24)
left.jpg (596287, 2021-12-24)
right.jpg (550411, 2021-12-24)
stitch.py (6553, 2021-12-24)

# Image_Stitching Image Stitching based on SIFT(https://www.cs.ubc.ca/~lowe/papers/iccv99.pdf) and ORB(https://en.wikipedia.org/wiki/Oriented_FAST_and_rotated_BRIEF) ## Requirements ``` OpenCV>=4.4.0 NumPy ``` ## Steps to use Function for stitching ``` solution(left_img, right_img, feature_method = 'sift', sift_features = 1000, ratio = 0.75): """ :param left_img: :param right_img: :param feature_method: descriptor method to be used :param sift_features: if 'sift' max features to be used :param ratio: \eta for ratio testing :return: final_img """ ``` 1. Change line number 195, 196, 197, 1*** in stitch.py based on the files names of the images you want to stitch together, feature detector and output file name 2. Run stitch.py ## Example ### Input ![Left Image](https://github.com/baasitsharief/Image_Stitching/blob/master/left.jpg) ![Right Image](https://github.com/baasitsharief/Image_Stitching/blob/master/right.jpg) ### Output Comparison ![Comparison](https://github.com/baasitsharief/Image_Stitching/blob/master/comparison.png)

近期下载者

相关文件


收藏者