# Image-Stitching-OpenCV
**Repository Path**: carlson/Image-Stitching-OpenCV
## Basic Information
- **Project Name**: Image-Stitching-OpenCV
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-25
- **Last Updated**: 2021-06-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Image-Stitching-OpenCV
Simple image stitching algorithm using SIFT, homography, KNN and Ransac in Python.
For full details and explanations, you're welcome to read `image_stitching.pdf`.
The project is to implement a featured based automatic image stitching algorithm. When we input two images with overlapped fields, we expect to obtain a wide seamless panorama.
We use scale invariant features transform(SIFT) to extract local features of the input images, K nearest neighbors algorithms to match these features and Random sample consensus(Ransac) to calculate the homograph matrix, which will be used for image warping. Finally we apply a weighted matrix as a mask for image blending.
## Dependency
- Python 2 or 3
- OpenCV 3
## Usage
`python Image_Stitching [/PATH/img1] [/PATH/img2]`
## Sample
## Input images
## Matching

## Output image

## other examples
Room:

Another building: This is a stitching of three related images. It doesn't work so well. Trying to improve.
