# Calculating the overlap of aerial photos

The setup is as follows: you have a camera attached to a UAV which is taking pictures regularly every five seconds, and you need at least 80% overlap between the photos in order to properly stitch them together into a Digital Elevation Model (DEM). What do you do? How far apart should each photo be? How fast do you need to fly your UAV in order to achieve this?

This post demonstrates how to go about calculating the required maximum distance between successive photos in order to ensure a certain percentage overlap between those photos, as a function of the required overlap, the angle of view of the camera and your height above the ground.

I then go on to show how to simply work out how fast you need to fly your UAV to achieve this overlap, given the time between successive photographs.

## Calculating inter-photo distance

The geometry of the situation is shown below: Let’s call the inter-photo distance dint, the angle of view αy, the height h and the required overlap fraction ω (i.e. if we want 80% overlap, then ω=0.8).

dint=2htan(2αy)overlap
=2htan(2αy)2hωtan(2αy)
=2htan(2αy)[1ω]

## Calculating UAV speed

The speed that a UAV must fly at, vUAV , given the time interval between successive photos, tint, is then simply given by:

vUAV=tintdint=tint2htan(2αy)[1ω]

Taking a reasonable value for the angle of view, αy=48.9, the time interval betweem successive photos, tint=5 seconds and taking ω=0.8 thus gives the very reasonable value for the velocity of the UAV as:

vUAV=0.182h meters/second

So if you’re taking photos at a reasonable h=50 meters, then:

vUAV=9.09 meters/second

Luckily, this is a very reasonable value! (Remembering that this is the maximum speed you can go before your overlap becomes too small for proper photogrammetry.)