Photogrammetry with PhotoScan part 6 – building the dense point cloud
Paolo Rossi on how Agisoft PhotoScan builds the dense point cloud: depth maps, stereo and multi-stereo matching, quality settings and depth filtering.
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 photogrammetry with PhotoScan and the process of building the dense point cloud.
Episode six of this series by Paolo Rossi on photogrammetry with the Agisoft PhotoScan software covers building the dense point cloud, the step that really gives a realistic 3D perception of the surveyed land, or of an object photographed and reconstructed in shape and size by Structure from Motion software.
You’ll find links to all the articles at the bottom of the page.
The dense point cloud
The dense cloud isn’t simply a densified sparse cloud! The results of the alignment phase (camera calibration and the interior and exterior orientation of the images) are used as input for new processing.
This is the phase in which you can obtain a 3D reconstruction with a high density of points.

Image matching algorithms search for pixel-to-pixel correspondences within a pair of images.
They require correspondences to be established, and the 3D coordinates are calculated with a collinearity approach.
The product is a depth map that assigns each pixel of the image a relative depth value.
This leads to the creation of a point cloud in object space.

The most widespread approach to image matching is stereo or multi-stereo (two or more images).
Knowing the exterior and interior orientation parameters of each image (from the previous steps) reduces the complexity of the correspondence search and allows rectified images to be generated, in which correspondences lie along the epipolar lines.
Building the depth maps involves algorithms similar to those called Semi-Global Matching. These algorithms calculate the cost of different correspondences (meaning similarity in the colour content of the pixel) and then choose the lowest cost, i.e. the correspondence between the most similar pixels.
The image below illustrates the multi-stereo approach.
Finding correspondences in several images improves the performance of the reconstruction.

For more on image matching you can follow nFrames, the company that created SURE, software specialising in image matching.
Build Dense Cloud
This is PhotoScan’s command for building the dense cloud.
It’s the process that takes the longest (on average 50% to 96% of the total, with settings from Medium to Ultra High) and it’s the only one to use the GPU.
In the Tools menu, under Preferences, enable the GPU(s) available on the machine: they’ll be used to generate the dense cloud and the operations will be faster.
You can select a portion of the whole object and build the dense cloud only for that (Resize Region).
The quality parameter specifies the detail and geometric accuracy of the reconstruction.
Ultra High means working with images at their original resolution; going down through High, Medium, Low, Lowest, the image resolution is reduced by a factor of 4 at each step (halved per side).
Depth filtering deals with the outliers generated during dense reconstruction, caused by noise or blurred images.
PhotoScan implements a few algorithms for different needs:
- Aggressive, if the study area contains no significant small details;
- Mild, if there are small details that it’s important to recognise in the reconstructed scene;
- Moderate, which gives a result in between the previous two;
- Disabled, not recommended, because the resulting cloud could be too noisy.
I usually work with Medium quality: I find it an excellent compromise for land applications where many images are acquired; processing times are reasonable, the results are dense and I get .ply files I can handle easily in other programs.
I hope this article by Paolo Rossi on building the dense point cloud with PhotoScan is useful to you too.
For doubts or questions, get in touch!
I’d like to take this chance to thank Paolo Rossi very much for the time he’s devoting to this series and for making his experience available to everyone!
Thank you!
See you soon!
Paolo Corradeghini
These are the articles in this series:
- Part 1 – Photogrammetry with PhotoScan
- Part 2 – Preliminary operations on the images
- Part 3 – Camera calibration
- Part 4 – Image alignment
- Part 5 – Control points and alignment optimisation
- Part 6 – Building the dense point cloud
- Part 7 – Mesh and texture
Paolo 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 generating the dense point cloud. The video is in Italian.