GithubHelp home page GithubHelp logo

thabsheerjm / my_autopano Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 15.9 MB

Autopano - Stirching multiple images to form a seamless panorama

Python 100.00%
homography-estimation image-blending panorama-stitching

my_autopano's Introduction

My AutoPano - Image Stitching

In this project we are learning to stitch two or more images in order to create a seamless panorama by finding the homohraphy between the two images.

Phase 1 : Classical Computer Vision approach

The claasical method involves several steps, it starts with corner detection. Then Adaptive Non-maximal Suppression (ANMS) is applied to ensure an even distribution of conrners. Feature descriptors are created by encoding information at each feature point into a vector. The next step is feature matching, where feature points between images are matched. RANSAC is used for outlier rejection and to estimate a robust homography. Finally, the images are blended to produce the panorama.The deatiled steps are explained here.

How to Run:

Place the image pairs in the dir:"../Data/Train/Set1/" and run the following command:

 python3 Wrapper.py

The classical pipeline is given below:
Undistorted

Corner Detection

Undistorted

Non-Maximal Suppression

Undistorted

Feature Matching

Undistorted

Outlier Rejection

Undistorted

Parorama: Warping, Blending and Stitching

Undistorted

Phase 2: Deep Learning

The deep learning model effectively combines corner detection, ANMS, feature extraction, feature matching, RANSAC and estimate homography all into one robust generalizable network. The complete methodolgy is given here.

How to Run:

Run the following to generate the dataset

python3 Datagen.py

Divide train and validation. and run:

python3 network.py
python3 Train.py
python3 Test.py

The network pipeline is given below:
Undistorted

We followed a supervised model and obtained the follwing results:

The following picture shows the input and output patch from the trained network. Undistorted

The training loss over number of epochs is given below:

Undistorted

Acknowledgement

This project was part of RBE549- Computer Vision (Fall 22) at Worcester Polytechic Institute[1].
Team members :Thabsheer Machingal and Krishna Madhurkar

References

[1] RBE549-Project1

my_autopano's People

Contributors

thabsheerjm avatar

Stargazers

 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.