Multiple Image stitching in Python

This repository contains an implementation of multiple image stitching. For explanation refer my blog post : Creating a panorama using multiple images

Requirements :

  • Python 2.7
  • Numpy >= 1.8
  • OpenCV 3.1.0

Project Structure :

	|_ code -|
	|		 |-- pano.py
	|		 |-- txtlists-|
	|		 			  |--files1.txt .... 
	|	
	|_ images - |
	|			|- img1.jpg
	|			|- abc.jpg 
	|			.... and so on ... 

Demo txtfile : files2.txt :

    ../../images/1.jpg
    ../../images/2.jpg
    ../../images/3.jpg
    ../../images/4.jpg

To run :

`python pano.py <txtlists/filename_.txt>`

Outputs !!


Stitching with Lunchroom example


Stitching with home example


Stitching with building example


Stitching using Hill example


Stitching using room example

Other WebSources for Images :

Base paper for panorama using scale invariant features :

[1] "Automatic Panoramic Image Stitching using Invariant Features", Download.springer.com, 2016. [Online]. Available: matthewalunbrown.com/papers/ijcv2007.pdf

Test images taken from :

[2]"PASSTA Datasets", Cvl.isy.liu.se, 2016. [Online]. Available: http://www.cvl.isy.liu.se/en/research/datasets/passta/.

[3] "OpenCV Stitching example (Stitcher class, Panorama)", Study.marearts.com, 2013. [Online]. Available: http://study.marearts.com/2013/11/opencv-stitching-example-stitcher-class.html.

[4] "Github daeyun Image-Stitching Test Images", 2016. [Online]. Available: https://github.com/daeyun/Image-Stitching/tree/master/img/hill.

[5] "Github tsherlock Test Images", 2016. [Online]. Available: . https://github.com/tsherlock/panorama/