IT

Photogrammetry and drones · 15 December 2017

Photogrammetry with PhotoScan

The first article in a series by Paolo Rossi on using Agisoft PhotoScan in modern photogrammetry: structure from motion and the phases of a 3D reconstruction.

Clicking loads the video from YouTube: Google will receive your IP address and may store data on your device. Privacy · Watch it on YouTube

This article is about modern photogrammetry and PhotoScan.

It’s the first in a series of articles on modern photogrammetry and the Agisoft PhotoScan software.
For this mini-series I’m handing pen, keyboard and voice to Paolo Rossi of the Geomatics Laboratory of the Engineering Faculty of the University of Modena and Reggio Emilia.

Paolo and I met when he emailed me his revision of the GSD (Ground Sampling Distance) spreadsheet I’d published at this link.
His contribution went far beyond what I’d done, adding great value to the spreadsheet, which can be downloaded from this blog.

That started an exchange of emails, phone calls, field data and professional experience in topographic surveying with aerial photogrammetric techniques.

It was really natural to ask Paolo whether he’d like to contribute to this blog with his broad and deep experience, both practical and academic, of the software used in this field.
He was delighted to accept!

So as not to make the article too long, we agreed to split the content into “episodes”.
We think they’re easier to digest and lend themselves to specific deep dives.

This is the first episode: introduction and general principles.

Before leaving you to read, I want to say that neither Paolo Rossi nor I receive any payment or sponsorship from Agisoft.
We talk about PhotoScan because that way we share our specific experience.
As Paolo writes below, there are other excellent programs on the market for the same job.
They’re all excellent and none is inferior, but we chose to talk about the one we know best…

Here’s Paolo Rossi’s article.

Modern photogrammetry

Modern photogrammetry is a technique for building 3D models from photographs.
The algorithms used and the software implementing them are highly automated and user-friendly, and they really make you want to try your hand at reconstructing 3D models.

From a few photos of an object you can get a 3D model with photorealistic content.
All you need is a computer, software and a few hours.
That’s how I started too!
It was the first time I’d used PhotoScan, and after an hour or so I already had my nice 3D model!
And by nice I mean it was identical to the original!

I think this is a fundamental point.
Is a nice 3D model, i.e. one with excellent photorealistic content, what we want?
Or are we also interested in its metric content?

In my view we need to aim for both, and so (fortunately!) a survey aimed at a 3D reconstruction can’t be improvised.
You need to know the theory behind these applications and understand how the software works.

PhotoScan doesn’t help us here: there’s no information on the algorithms it uses.
It’s described as a “black box”, but we can guess something about how it works.

PhotoScan and structure from motion algorithms

PhotoScan is software for modern photogrammetry implementing Structure from Motion. It isn’t the only one, although it’s among the most widespread.
There are also 3DF Zephyr, Bundler, Photomod, Pix4D, MicMac, VisualSFM, …

Structure from Motion (SfM) algorithms come from traditional photogrammetry and have evolved by incorporating those of computer vision.
Alongside the theoretical principles of collinearity, intersection of projective rays and camera calibration, there are the algorithms typical of robot vision, which make it possible to analyse and correlate digital images quickly and automatically.
The name Structure from Motion gives us an idea of the technique’s potential.
It means that by moving, and so capturing images of an object from different perspectives, we can reconstruct its three-dimensional shape, its structure.
And PhotoScan, like the other programs above, does exactly that.

We won’t go into which of these performs best, because it’s hard to be an expert user of each of them.
Let’s just say that PhotoScan is widely used, works well and its performance has long been tested by the scientific community.

The phases of 3D reconstruction

But 3D reconstruction isn’t limited to the SfM algorithms alone.
You have to design the survey and manage the point clouds generated, so as to give the client a product suited to their needs.

As you can see from the flow chart below, there are three main steps:
• fieldwork, with survey design and execution;
• processing with Structure from Motion algorithms;
• post-processing and the creation of suitable products.

Workflow of 3D reconstruction with PhotoScan

Fieldwork

The field phase is the design phase: choosing the camera and the flight height, placing the ground targets, …
This is the most important step for the reconstruction and it prepares the ground for the following phases.

  • The resolution of the model will depend on the quality of the images.
  • The acquisition geometry will affect data redundancy and the completeness of the reconstruction.
  • The metric accuracy of the products will depend on how the control points are placed and surveyed.

(On this blog there are some articles that give an idea of the activities in this phase: here, here and here.)

Processing

In the second phase, software implementing SfM algorithms, like PhotoScan, takes centre stage.
This is where image alignment and the reconstruction of the sparse and dense clouds take place.

Post-processing

A wide variety of products can be generated from point clouds: 3D, maps, vector or cartographic.
The client usually doesn’t want point clouds or surfaces, because they aren’t easy to handle.
The 3D model is used to produce maps and DEMs (digital elevation models), to map surface slopes, to vectorise, to map the fractures of a rock face, to check quarried volumes, to monitor over time.

SfM software includes modules for some of the analyses described; alternatively you can use external point cloud software (CAD, GIS), paying attention to the exchange formats.

We’ll go into the details of these phases in the next episodes!

Paolo Rossi

Well, that’s all for this first article on photogrammetry, Structure from Motion techniques and PhotoScan.
If you’d like to follow us, you’ll soon find new articles, again by Paolo, going a bit deeper into the steps of 3D reconstruction from photographs.

See you soon!

Paolo Corradeghini

Photo of Paolo RossiPaolo Rossi, engineer and PhD in Industrial and Environmental Engineering at the University of Modena and Reggio Emilia, works at the Geomatics Laboratory of the “Enzo Ferrari” Department of Engineering, on 3D reconstruction from images.

I published a video on the YouTube channel about Metashape’s (formerly PhotoScan) preferences and settings. The video is in Italian.

← All articles