Git Product home page Git Product logo

drone-images-mosaicing's Introduction

Image Stitching for Drone Mapping

This project contains code for stitching large number of images using classical computer vision techniques for application in drone mapping.

Setup python environment

Install conda and prepare a python environment using the following steps:

Build a new conda environment

conda create -n image_stitching python=3.8

Install additional libraries using pip:

python3 -m pip install -r requirements.txt

Activate the conda environment:

conda activate image_stitching

Approach

Assumptions

  • There is atleast 70% overlap (both front and sideways) between the images while the data was collected
  • The images are numbered sequentially in the dataset

Methodology

Below is a high-level overview of the image stitching algorithm:

  1. Feature detection using SIFT
  2. Feature matching using FLANN-basd matcher
  3. Homography estimation using DLT and RANSAC
  4. Image warping

Stitched Mosaics

The algorithm is tested on two datasets: agricultural farm and an urban area. Below images shows two examples mosaics:

Farm Mosaic

Farm Mosaic

City Mosaic

City Mosaic

Future Work

Two possible improvements over our work is to use bundle adjustment to reduce the cumulative error issue and blending to remove noticeable seams at the stitching location.

drone-images-mosaicing's People

Contributors

adityajain07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

drone-images-mosaicing's Issues

Function issue

i am having an issue with giveMosaic() kindly help am getting am
<b>ErrorList,ImgNumbers,GoodMatches = giveMosaic(img1, 10000)</b>

<b>heightM,widthM = FirstImage.shape[:2] this line give this error</b>
AttributeError: 'NoneType' object has no attribute 'shape'

Projection Errors

It said:

Error list [1.9532834337378564, 59.041005260662665, 2.4117800665981073, 1.504669326306247, 506.4219946110581]
[1.9532834337378564, 59.041005260662665, 2.4117800665981073, 1.504669326306247, 506.4219946110581]

Could you please explain this? Thanks

Edy

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.