GithubHelp home page GithubHelp logo

hmshoppy / opencv-panorama-stitch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prakashsidd18/opencv-panorama-stitch

0.0 1.0 0.0 5.41 MB

An openCV implementation of stitching two images to create a panorama using SURF Detectors

Makefile 2.79% C++ 97.21%

opencv-panorama-stitch's Introduction

Author : Siddhant Prakash

About:

The code given here is for simple image stitching of two images using OpenCV. We can use the same code multiple times to stitch multiple images. As the code resizes each images everytime it uses a new image, it is automatically stitched.

OpenCV "also has a stitching module" which helps in achieving this task and which is more robust than this.

The code present here helped me in understanding the major steps involved in image stitching algorithm.

I am using OpenCV 2.4.7 and vim editor. This code is based on the openCV tutorial available http://ramsrigoutham.com/2012/11/22/panorama-image-stitching-in-opencv/.

The main parts of stitching algorithm are โ€“

  1. Finding Surf descriptors in both images,
  2. Matching the surf descriptors between two images,
  3. Using RANSAC to estimate the homography matrix using the matched surf descriptors,and
  4. Warping the images based on the homography matrix.

Execution :

  1. Compile the code using Makefile given, using the command "make pano"( as the src file is named pano.cpp). It will create an executable pano.
  2. Run the executable by passing the image files as its arguements in the format, "./pano <img_file_1> <img_file_2>". For example, to use the files in data1 directory use "./pano data1/panorama_image1.jpg data1/panorama_image2.jpg". The Resulting image is created and stored in the current directory with the name, "Result.jpg" .

==================

opencv-panorama-stitch's People

Contributors

prakashsidd18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.