Terrestrial laser scanners (TLS) are frequently used for 3D surveys of large sites, interiors and complex structures. The integration of terrestrial laser scanning data into photogrammetry processing workflow has been implemented starting from Metashape Professional 1.7
This workflow is suitable for Metashape 1.7 to 1.8, starting from Metashape 2.0 please use the workflow described in the article: Terrestrial laser scans processing in Metashape 2.x
It is required to have structured laser scanning data converted from the raw scanner format to formats supported by Metashape (E57 or PTS) to co-process TLS and imagery data.
For co-registration of the laser scanning data and digital photographs processed in the same project Metashape uses spherical panoramas, captured by the laser scanner, or intensity maps if the scanner is not capable of saving spherical panoramas. Below you can see an example of the laser scanning data imported to Metashape in E57 data format:
The photogrammetric depth maps are merged with the laser scanner's depth information during the point cloud or mesh generation operation (if based on the depth maps data source). Metashape supports the following formats for the laser scanning data import:
- ASTM E57;
- PTX.
In the described project we have used a drone to shoot the exterior and use our automatic mission planning tool. You can find information about how to work Mission planning in our solution - Mission planning for complex structures).
Laser scans were utilized mostly for interior parts, although several scans have been performed in a segment scanning mode for the building exterior scanning. Laser scanning is very convenient at scans for the interior to complete the surface.
Overview of the scanned building (XIX century church in poor conditions, unfortunately) and drone survey path can be seen on the screenshots below:
Before starting the process, it is necessary to convert the laser scan data from E57 or PTS format into Metashape supported TIFF format using Import Laser Scans command.
To import laser scans data
1. Select File > Import > Import Laser Scans... command.
2. In the dialog window, select a file with point cloud data.
3. Specify the folder where the pre-processed laser scans will be saved (can be re-used from that location later in a new project without a need of a pre-processing procedure).
4. Click the OK button for added data to the active chunk.
Spherical camera type in the Camera calibration window will be set automatically for all the groups related to the terrestrial laser scanner data.
Imported laser scans data:
After the laser scanner data has been loaded, add common digital camera images for the same scene via Workflow menu > Add Photos... command.
Metashape utilizes image matching approach (used during photogrammetric processing) to perform co-registration of digital images and laser scanners in the same chunk.
(Screenshot above represents the laser scanner locations in the Model view and results of the surface reconstruction)
For this project, we have used aerial data for exterior parts and laser scans mostly for the interior parts of the building. Additionally images from the handheld camera have been added for the interior part, as obviously, it is not enough to calculate the corresponding system between interior and exterior subsets because they do not overlap.
We used terrestrial images (from a handheld digital camera) of the parts that can be seen both from outside and from the inside. For example, photos of the doorways and window holes have been made, while moving from the outside to the building's interior part, thus providing overlap between the external and internal part of the building.
After all images and laser scanning data have been loaded to the project, we have used classical workflow to build the model. Align Photos (Workflow > Align Photos...) stage allows to find the corresponding points between images and laser scans. Tie points are used to triangulate all the poses of all cameras and laser scans in the same space during the bungle adjustment operation, which will adjust all the poses using all available information like measurements, camera centers, and ground control points or scale bars, etc.
After the alignment is finished it is possible to run the point cloud or depth maps based mesh generation operations, which would properly utilize the laser scanning depth data and will include this information to the process of the digital images depth maps reconstruction.
If the laser scans are georeferenced, but photos don't have camera coordinates information, we can offer the following workflow:
1. Import laser scans data and photos in one chunk.
2. Disable coordinates data for laser scans in Reference pane. Click Update button on Reference pane.
3. Perform the alignment process (select Align Photos command on Workflow menu).
4. Apply the exterior orientation data from Reference pane to the loaded laser scanning data using the following script:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/quick_layout.py