Skip to content

An algorithm built to stitch drone aerial imagery. The program runs locally on iOS and is built off of the OpenCV framework. It produces accurately geo-referenced maps.

Notifications You must be signed in to change notification settings

assadiandre/Aerial-Image-Stitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aerial-Image-Stitcher

An algorithm built to stitch drone aerial imagery coined "QuickMap". The program runs locally on iOS (written in Swift, Objective C++). QuickMap is a feature I worked on in the summer of 2018 & 2019 at 3DR which is currently integrated into BETA SiteScan. The algorithm itself was built using OpenCV and C++. QuickMap uses the SIFT descriptor algorithm to localize keypoints and generate affine warp transformations that neatly align images. It uses GPS points to fill in missing images and uses multi-image referencing to reduce accumulated error. Once finished stitching, it blends the result and finds an appropriate geographical transformation to display it on a map.

Installation of Libraries

It's recommended to use the latest version of OpenCV (4.1.1) with the contribution modules. You can download it here. Alternatively, you can build it yourself, however the former is much easier. Once downloaded, add it to Aerial-Image-Stitcher/QuickMap/OpenCV

GPS Points are returned upon generation of the map. To display, I suggest using MapBox via Cocoapods a developer access key must be added to your info.plist configuration to work properly. You can then display the image as a raster overlay.

Downloading Data Sets

The stitcher accepts images at any resolution (it will automatically resize), however there must be GPS encoded in the exif data. It's highly recommended that images are shot 150ft above with minimal distortion and 30-80% overlap. Some good data sets to test:

Once downloaded, add the JPG image folder to Aerial-Image-Stitcher/Images. In StitcherViewController.swift specify the dataset path, then build.

Results:

Museo Ambar

Museo Ambar data set - 54 Images shot ~200ft altitude.

Sources:

The stitcher was heavily inspired by A Real-time Stitching Algorithm for UAV Aerial Images by Peng Xiong, Xianpeng Liu, Chao Gao, Zan Zhou, Chunxiao Gao, and Qiongxin Liu. Multiple image referencing or "predicted region matching" is a key technique integrated in the algorithm that increases geographical accuracy and reduces accumulated error.

About

An algorithm built to stitch drone aerial imagery. The program runs locally on iOS and is built off of the OpenCV framework. It produces accurately geo-referenced maps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published