PhotoScan Processing Procedures DSLR Feb 2016
PhotoScan Processing Procedures DSLR Feb 2016
PhotoScan Processing Procedures DSLR Feb 2016
Data Post-Processing
Requirements
- A registered version of Agisoft PhotoScan Version 1.2.3
- Access the data files noted below
- No previous experience with PhotoScan is necessary
Workflow
The following step-by-step instructions are intended to familiarize participants with the relevant
components of PhotoScan. A short description is given, followed by a specific cookbook of
instructions for how to process a dataset from beginning to end.
Data
Two separate real world datasets are provided for Exercises to see how actual collected data is
processed into workable GIS data layers.
Class Outline
- Import images collected from a UAS
- Align the images and remove or adjust errors to create a sparse point cloud
- Create a dense point cloud
- Create a mesh or digital surface model
- Create image texture
- Output the products for use in GIS
2
UAS DSLR image captures to mosaic and rectify using Agisoft PhotoScan
Agisoft PhotoScan Version 1.2.3 (Build 2331 64bit)
Once photos are added, they will appear as a Chunk in the Workspace panel with the number
of photos that were added. Thumbnails of the photos will appear in the Photos panel.
Setting the Coordinate System for Image Referencing
On the Reference panel Select the Settings icon check to make sure the coordinate
system is set to what the camera or UAS GPS was using while collecting the photos (i.e..
Geographic Coordinate System, WGS84). Note: Keep the accuracy settings to the default
values.
4
2.) Aligning Photos
Procedure Description: To begin the photo alignment process, three steps are performed to tie the
images together in an automated image correlation process in order to create a sparse point cloud. This
initial phase is also used to select the best images to use for the model.
Note: Bad images can initially be removed before running the align photo process by selecting them,
right clicking and removing the cameras. This can save considerable time in the alignment process.
PhotoScan processes three steps in order to create a sparse point cloud; detecting points,
selecting pairs of images, and matching points.
5
Eliminating bad photos
Photos that did not align are shown graphically by the dots and also in the Reference Panel with
no error measurements calculated. These photos can be removed by selecting with the
Rectangle Selection tool, or by highlighting in the Reference Panelright clickremove
camerasyes.
Photos that dont add value to the model such as take off and landing times from the UAS - can
also be removed. The Rectangle Selection tool can be used to selectright click in the Reference
panel on the highlighted imageremove camerayes
6
3.) Place Markers (Adding Ground Control)
Procedure Description: Markers, or ground control points can be added to better improve the model and
georeferencing accuracy of the final data outputs.
7
Optimizing the Photo Alignment
Procedure Description: Optimizing allows for a higher accuracy in the camera parameters and corrects
distortions caused by the camera lens often seen in a bowl shaped point cloud. This function is
performing a photogrammetric bundle adjustment.
Select the Optimize Cameras either from the Tools tab on the Main Menu or from the icon on
the Reference panel Use the default values or check parameters as shown below OK
After Optimizing, check the Console window and look for the RMSE. Ideally it should be
between .13 --> .17. It is also good to watch the Projection and Error columns in the
Reference Panel. The limit is to not go less than 200 on Projections and less than 1 meter
on the overall error.
8
4.) Gradual Selection
Procedure Description: The Gradual Selection procedure will be used several times in order to improve
the geometry of the overall model.
Reconstruction Uncertainty
Select Edit from the main menuGradual SelectionReconstruction uncertainty (from the
pulldown menu) the goal is to reach a Level = 10 or lower, although if too many points are
selected this may not be possible (below 50 is highly recommended)OK.
Selected points will show up as pink. To delete those points, select the from the main menu.
After deleting points, another optimization is needed . Select the optimize icon from the
Reference panel Use the same setting as before.
Continue to check the RMSE, overall error and number of projections after running the
Optimization. It may be necessary to uncheck images so they are not used in the positional
accuracy. Errors can be in the collected images due to wind conditions, lapse in the GPS
recorded, angle or many other factors.
Selected points will show up as pink. To delete those points, select the from the main menu.
After deleting points, another optimization is needed . Select the optimize icon from the
Reference panel
Continue to check the RMSE, overall error and number of projections after running the
Optimization. Your overall error should start coming down. RMSE may change and can actually
increase and number of projections should decrease as points are deleted.
10
Reprojection Error
Select Edit from the main menuGradual SelectionReprojection Error (from the pulldown
menu) goal is to reach a Level = 10% of the points. Note: in the lower left-hand corner, try to
get close to 10% of the point selected (i.e.. 9,812 out of 99,092 selected to be deleted)OK.
Selected points will show up as pink. To delete those points, select the from the main menu.
After deleting points, another optimization is needed but, before doing so, the tie point accuracy
can now also be tightened.
Select the icon from the Reference Panel, and enter the desired tie point accuracy value.
Use .1 if the images are very clear, .3 1.0 if they are not as crisp.
Select the optimize icon from the Reference panel and check all the remaining distortion
parametersOK.
Procedure Description: A dense point cloud can be now be derived from the better estimated camera
positions calculating several x,y,z points as well as assigning color values to accurately create the model.
WorkflowBuild Dense Cloud(Note: Higher the quality the more intensive processing and time
needed to derive. Depth filtering set to Aggressive is used for the most complex detail.)OK
Select the icon on the main menu if the dense point cloud does not display (usually defaults
to a sparse point cloud display.
12
6.) Build Mesh
Procedure Description: From the dense point cloud, a polygon mesh model can be generated.
WorkflowBuild MeshOK
(Note: Surface type = Height Field for vertical photography, Arbitrary is used for oblique models)
Select the icon on the main menu to display the mesh (shaded, solid or wireframe).
13
7.) Build Texture
Procedure Description: Texture in the form of image overlay can be generated to be able to inspect the
model before exporting the orthophoto mosaic.
WorkflowBuild TextureOK
(Note: If Enable color correction is used, the time to generate the texture may be increased)
Select the icon on the main menu to display the orthophoto (texture).
14
8.) Build DEM
Procedure Description: A digital elevation model can be generated from the model into a desired
coordinate system and projection.
PhotoScan will want you to save the project at this point. FileSave asFilename.psx.
WorkflowBuild DEMselect the coordinate system of the output (defaults to the model
setup)OK. (Note: Source data can be either Dense Cloud or Mesh. Dense cloud is used for
better accuracy.)
After the DEM is generated it can be displayed in the Ortho Display by double clicking the layer
in the Workspace Panel under the Chunk.
15
9.) Build Orthomosaic
Procedure Description: A digital orthomosaic can be generated from the model into a desired coordinate
system and projection.
WorkflowBuild OrthomosaicOK
(Note: Reprojecting the image can be done at this point or during the export)
After the Orthomosaic is generated it can be displayed in the Ortho Display by double clicking
the layer in the Workspace Panel under the Chunk.
16
10.) Exporting Products
Procedure Description: The various products generated through the modeling process can all be exported
into standard formats for use in display or GIS data layers.
From the Main Menu Select FileExport (Points, Model, Orthomosaic or DEM). Another option is
to export by right clicking on the layer under the Chunk in the Workspace Panel.
Exported layers can then be used in standard GIS software (i.e.. Global Mapper below)