CorentinBrtx/image-stitching
CorentinBrtx/image-stitching has 148 GitHub stars and 21 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-23 05:40 UTC. Last push 2026-07-27.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
Image Stitching algorithm in Python from scratch with gain compensation and blending
Herramientas de desarrolloREADME.md
OriginalImage Stitching
Image Stitching algorithm with multi-panoramas, gain compensation, simple blending, and multi-band blending. Part of a project for the Computer Vision course of CentraleSupélec.
The implementation is strongly based on the 2007 paper Automatic Panoramic Image Stitching using Invariant Features by Matthew Brown and David G. Lowe.
Install
Python 3.11 or higher is required. Clone the repository, and run the following command:
pip install -r requirements.txt
Usage
Simply put all your images in a single folder (possibly images of different panoramas), and run the following command:
python main.py /path/to/folder
For more options, see the command line help:
python main.py --help
You will find sample images in the folder samples/mountain for you to try the algorithm.
Examples
The below panoramas have been obtained with the default parameters.



Detailed description
The process contains multiple steps to obtain the best-looking panorama as possible. Namely, the following steps are performed:
- Feature detection: the algorithm uses the SIFT algorithm to detect features in the images.
- Feature matching: the algorithm matches the features between the images.
- Connected components: the algorithm groups the images into connected components, each corresponding to a different panorama.
- Panorama stitching: the algorithm stitches the images together.
- Gain compensation: the algorithm compensates the gain of the images.
- Blending: the algorithm blends the images together. Two different blending methods are available: simple blending and multi-band blending. The simple blending is the one used by default, as the multi-band blending is slower and gives more blurred results.
Mountain panorama after panorama stitching without any compensation
Mountain panorama after gain compensation
Mountain panorama with multi-band blending
Mountain panorama with simple blending
Explorar proyectos relacionados
Cargando…