Photogrammetry with PhotoScan part 2 – the images
The second article in Paolo Rossi's series on photogrammetry with PhotoScan: the preliminary operations on the images, from the project to chunks, camera groups and masks.
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 operations that come before image processing.
It’s the second part of the series by Paolo Rossi (of the Geomatics Laboratory of the Engineering Faculty of the University of Modena and Reggio Emilia) on modern photogrammetry and the Agisoft PhotoScan software.
You’ll find the first article at this link.
Operations before image processing
Let’s start with the questions that come before image processing: from creating the project to loading the digital photos and the operations you can do on them before alignment.
We’ll cover image management, chunks and camera groups, and applying masks.
As you’ll see, for how to carry out the operations I’ll refer a lot to the manual.
I’d rather give an idea of what you can do with the tools the software offers, explain why, and try to outline a path to follow in image processing.
The manual is very complete and clear and explains all the functions and menus, but in my view it lacks a defined procedure and a description of how the various functions relate to each other.
I’m sharing what I’ve learnt and understood over these years of work, and what I think are a complete workflow and important aspects to consider.
I’d be glad if you shared your experiences and ideas too, so we can discuss them and all learn something new.
Creating the project file
When you create a new project, PhotoScan saves two items in the workspace:
- a file with the .PSZ extension, which the software opens;
- a folder with the .FILES extension, containing the files needed to view and work on the project. Inside it you’ll find the quality report and subfolders for the operations carried out in the project (sparse point cloud, dense point cloud, model, orthomosaic, …).
Managing the images
To add photos to a project you use the “Add Photos” item in the Workflow menu.
You find the folder and select the images.
PhotoScan supports all the main image formats: jpg, tif, png, bmp, …
A loaded image can be disabled or removed at any time.
Extracting frames from a video wasn’t supported by PhotoScan up to version 1.3.
It was added from version 1.4, as already happens in other software such as Pix4D and 3DF Zephyr (thanks to Marco Picciau for pointing this out!).
Video offers a succession of frames with high overlap, but often of lower quality than still images.
It can still be useful to use video when surveying complex objects where adequate redundancy is hard to guarantee (for example the walls of a building).
Camera groups

Once the images are loaded, you can create groups: camera groups. In the Workspace panel, right-click on the image, create a new camera group (Add Camera Group) and choose its type (more detailed information is in the manual).
You can give a group of images a specific type.
Create the group, then right-click on it, choose “Set Group Type” and tick Folder or Station.
- A group set as Folder is used to catalogue the different sets of images: splitting flights, separating nadir and oblique datasets.
- A group set as Station is a cataloguing that affects image processing.
The group must contain all the images taken from the same position.
On this, the manual specifies that the differences between camera centres are very small compared with the camera-to-object distance.
This split matters because during alignment the software won’t look for matches between these images (taken with unfavourable geometry) and will allow a panorama of the scene seen from that station to be extracted.
Chunks
Within a PhotoScan project you can create chunks.
A chunk identifies a portion of the PhotoScan project, and you can create several in the same PSZ file.
It can be useful to split a project into several chunks when, for example, you want to run processing tests on a set of images, or when reconstructing the object in one go would be too demanding in computing resources.
If, for instance, you have a dataset with many images, it can be useful to split it into chunks, process them separately and recombine the results. In this case chunks let you process datasets with many images, and do it quickly.
The critical phase is the one called “merge chunks”: aligning and merging the results obtained in the different chunks.
Alignment is based on a few methods:
- Point based: some matching photos act as a “bridge” between the chunks, allowing them to be aligned by identifying tie points.
- Marker based: markers placed by the user and common to the chunks are used for alignment.
- Camera based: the position and orientation of some images are used for alignment; the images must have the same name to be recognised in the chunks.
You can set the desired accuracy: higher for a more accurate alignment, lower for a quick one.
N.B.: if the chunks are georeferenced, they’re already in the same reference system and don’t need aligning.
Image properties
The images loaded into the project can be viewed and analysed.
In the Workspace panel there’s the division into chunks, and for each one the Cameras folder, with the loaded images suitably grouped.
Next to the image name you’ll find:
- NC, Not Calibrated, i.e. no calibration parameters are available for the image (we’ll come to this later);
- NA, Not Aligned (something to check after alignment).
In the Photos panel you can see image thumbnails or a list with all the details.
For each image you get: name, size, focal length, camera model, capture information (ISO, shutter speed, aperture…), image quality and image path.

Image quality is a value indicating the quality of the image, ranging from 0 to 1.
Blurred images or images poor in content (for example a uniform background) can worsen the results of the alignment that follows.
PhotoScan offers an automatic way to calculate this quality index; in the manual you’ll find how to run the calculation (it takes a few minutes) and the advice to disable images with values below 0.5, so they’re excluded from later processing.
I usually follow this 0.5 guideline, but I always check that excluding some images doesn’t compromise data redundancy.
If the dataset isn’t too large, it can be worth “wasting a bit of time” scrolling through the images on screen to judge their quality, removing those that are blurred, badly balanced, too bright or too dark, or outside the area of interest, and only then running the automatic procedure.
The image path, on the other hand, is the path the software follows to find the image on the computer.
A PhotoScan project doesn’t contain the images, only a low-resolution preview of them.
You’ll notice that if you move a PSZ project, rename it, or rename the folder containing the images, you’ll get a project that opens and in which you can view the products already generated, but you can’t see the full-resolution images or run new processing. Updating the path is very quick, and the manual gives all the information on how to do it.
Masks
Another operation you can perform on the loaded images is masking.
Applying a mask means identifying and selecting a portion of the image and excluding the rest from later processing.
The mask can be applied at different points in the image processing workflow, as needed:
- Alignment: the masked area is excluded from the search for tie points between images and so doesn’t contribute to estimating the camera positions.
It’s useful when surveying objects on turntables and when the object of interest takes up a small portion of the scene.
These are cases where the background isn’t of interest and could worsen the quality of the orientation. - Dense point cloud: applying a mask at this stage is useful if you want to reduce the complexity of the resulting point cloud, increasing quality in the areas of interest and eliminating the rest.
- Texture: here too it serves to improve the quality of the product.
Masks can be created directly on the images in PhotoScan (the manual explains the procedure in detail) using area selection methods, some of them semi-automatic and able to detect colour differences.
Masks can also be loaded from external sources, edited and then saved.
The next article will cover another preliminary process on the images: camera calibration.
PhotoScan uses as input the parameters contained in the images’ EXIF data (the metadata).
These are a kind of first approximation the software needs to apply the right calibration model and recalculate the parameters during alignment.
Until the next episode!
Paolo Rossi
Well, I hope this second article on photogrammetry with PhotoScan was useful and interesting.
If you have doubts or questions, don’t hesitate to get in touch.
See you soon!
Paolo Corradeghini
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 images in Metashape (formerly PhotoScan). The video is in Italian.