Git Product home page Git Product logo

image-stitching's Introduction

Panoramic Image Stitching Program

The pipeline is composed of 4 parts:

  1. Feature detection - Harris corner detector
  2. Feature description - Simple custom descriptors or SIFT
  3. Extimation of the affine transformation matrix - RANSAC algorithm
  4. Transforming and overlaying the second image over the first

Qualitative Results

alt text alt text alt text alt text


Structure and Instructions

Directories:

  • Test cases: Contains pairs of input images for testing
  • Results: Contains plots and logs from all experiments

Code:

  • main.py: The main file for the application
  • utils.py: Collection of utility functions
  • descriptors.py: Implementation of feature descriptors
  • ransac.py: RANSAC implementation
  • visualizer.py: Visualization code

Instructions:

  1. To use one of the supplied test examples in base case configuration, execute:

$ python3 main.py --img1 ./test_images/Original/1.jpeg --img2 ./test_images/Original/2.jpeg

  1. To use the hard test example, execute:

$ python3 main.py --img1 ./test_images/Hard/1.jpeg --img2 ./test_images/Hard/2.jpeg --harris_thr 0.01 --descriptor "custom_rgb_intensities" --patch_size 21 --matching_threshold 0.940 --ransac_sample_size 3 --ransac_n_iterations 1000 --ransac_tolerance 50 --ransac_inlier_threshold 5

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.