Analysis of UAS Data Processing Results

Center for Geospatial Analytics at North Carolina State University

Corey White adapted from Justyna Jeziorska and Helena Mitasova

Objectives

  • Interpret a processing report section by section
  • Compare survey data and errors from different flights of the same site
  • Recognize differences in the products generated by different software
  • Explain what GCPs change in the processing and in the final products
  • Identify which processing step to revisit to fix a particular error
  • Explain what causes the bowl effect
  • Execute profile, contour, and volume measurements in Agisoft Metashape

Two flights

Flights, Oct 6 2015

Field crew standing in a harvested field at Lake Wheeler with the Trimble UX5 fixed-wing aircraft and its launcher

Two consecutive flights with the Trimble UX5 over the Lake Wheeler fields.

Flight, Feb 6 2018

Field crew in winter clothing with the UX5 aircraft on a dormant field at Lake Wheeler

A winter flight of the same fields, used for the measurement examples at the end of the deck.

The two October flights side by side

Flight 1 Flight 2
Number of images 502 659
Flying altitude 110.1 m 112.4 m
Ground resolution 3.06 cm/pix 3.13 cm/pix
Coverage area 0.56 km2 0.70 km2
DSM resolution 12.2 cm/pix 12.5 cm/pix

The second flight covered more ground with more images at almost the same altitude, so the GSD and DSM resolution match within a tenth of a centimeter.

Reading the processing report

What the report contains

Report section What to look for
Survey data Number of images, flying altitude, ground resolution, coverage area, camera model
Camera locations and image overlap Where the photos were taken and how many see each spot
Camera calibration The adjusted lens model and the image residual plot
Camera locations error How far the solved camera positions sit from the geotags
Ground control points Control (and checkpoint) errors in meters and in pixels
Digital elevation model The DSM sketch, its resolution, and point density
Processing parameters Every setting used, for reproducing the run

Orthomosaic

Orthomosaic of the Lake Wheeler fields with contour strip cropping, a farm road, and tree lines along the field edges

Camera locations and image overlap

Overlap map from the report: black dots mark camera positions in a grid; the interior is dark blue for more than nine overlapping images, fading to green, yellow, and orange at the edges with one to three images
  • Dark blue: more than nine images see each point in the interior
  • One to three images at the edges: expect noise and holes there

Flight plan

Trimble Aerial Imaging planning screen: a blue polygon over the field with twelve GCP pins labeled UAV 1 to UAV 12, Sony NEX-5 camera, GSD 3.20 cm, height 100 m, 80 percent overlap, surface area 0.29 square km

Flight paths as flown

Planned flight lines and camera positions for the first October flight

Flight 1

Planned flight lines and camera positions for the second October flight

Flight 2

Ground control point errors

Side by side GCP error tables for flight 1 and flight 2 over their orthomosaics: eight or nine markers each, X, Y, Z errors in meters, projections, and error in pixels, with totals of 0.018 m and 0.126 pixels for flight 1 and 0.022 m and 0.126 pixels for flight 2

Reading one row of the GCP table

One row of the GCP table for marker UAV 10: X, Y, Z error and total error in meters are the distance between the surveyed and estimated marker positions; error in pixels is the root mean square reprojection error over all photos where the marker is visible
  • Error (m): distance between the surveyed and the estimated marker position
  • Projections: how many photos the marker was placed on
  • Error (pix): RMS reprojection error of the marker over those photos

Camera calibration

Camera Calibration dialog for the NEX-5T with 539 images at 4912 by 3264 pixels; the Adjusted tab lists fx, fy, cx, cy, skew, k1 to k4, and p1, p2, with Frame selected as the camera type

During alignment the software estimates both the exterior orientation of every photo and the interior orientation of the camera, including nonlinear lens distortion. The adjusted values are in Tools > Camera Calibration and on the report’s calibration page.

Reading the calibration parameters

Pinhole camera diagram with camera centre, principal point, image point, world point, and focal length, above the adjusted calibration values: Fx 3249.92, Fy 3249.98, Cx 2463.34, Cy 1632.34, skew 1.28, K1 to K4, P1 and P2

Parameter Meaning
Fx, Fy Focal length in pixels along each axis
Cx, Cy Principal point: where the optical axis meets the sensor
Skew Non-orthogonality of the pixel axes (near zero)
K1 to K4 Radial distortion coefficients
P1, P2 Tangential distortion coefficients

Image residuals

Report figure of image residuals for the NEX-5T: a rectangle covering the sensor filled with short colored vectors, small and green in the centre and longer and red toward the corners, with a 1 pixel scale bar

What a residual is

Two residual plots side by side: the left over a photograph of the field, the right on a blank sensor rectangle, each vector joining a point projected through the camera calibration model and its corresponding measured point

Image residual: the distance in pixels between where the calibration model projects a 3D point onto the photo and where that point was actually measured in the photo

Reprojection error

The same two residual plots, over the photograph and on the blank sensor, shown together

Reprojection error: the RMS image residual over all tie points, the number the report quotes in pixels; it is the same quantity the photogrammetric literature calls the RMS image residual (Agisoft LLC 2025)

Flight path

Flight track of the UX5 drawn over the field: parallel flight lines with wide turning loops outside the mapped area

Flight path in 3D

Three-dimensional view of the DSM with the red flight track looping above it; trees stand as spikes at the block edges and the elevation legend runs from 90 to 130 m

Comparing surface models

Digital surface models

DSM of the first October flight colored from 90 m in cyan through green and yellow to 130 m in brown, with the field terraces and tree lines visible

Flight 1

DSM of the second October flight with the same color ramp and a larger extent

Flight 2

Difference between the two flights

Difference map between the two October DSMs in meters: the open fields are near zero in white and grey, the tree lines and field edges show patches of plus and minus one to two meters in cyan and orange

Difference in meters between the DSMs from the two consecutive flights. Bare fields agree to within centimeters; the edges and the trees do not.

The same flight in three programs

Table of DSM elevation statistics for the same flight processed in Agisoft, Pix4D, and Trimble Business Center with GCPs, and in Agisoft and Pix4D without GCPs: with GCPs the means are 111.4, 111.4, and 112.3 m; without GCPs they drop to 75.5 m in Agisoft and 40.7 m in Pix4D
  • With GCPs, three programs agree on the mean elevation to within a meter
  • Without GCPs, the two programs disagree with each other by 35 m and with the truth by 36 to 71 m

With and without ground control

Three 3D views of the June 20 2015 flight DSM: without GCPs the elevation legend runs 66 to 117 m, with 11 GCPs it runs 98 to 147 m; the shapes are the same, shifted about 30 m in elevation

The same photos processed with no GCPs and with 11 GCPs. The shape is identical; the elevation is off by about 30 m without control.

The bowl effect

The bowl effect

Left: 3D view of a DSM difference surface shaped like a dome, red in the centre and white at the edges, with a 25 to 45 m legend. Right: the same difference in plan view, a smooth red dome centred on the field with a 500 m scale bar

Bowl (or doming) effect: a smooth, broad bending of the whole model introduced during alignment when the camera calibration is estimated inaccurately; the self-calibration trades lens distortion against a curved surface (James and Robson 2014)

Avoiding the bowl

  • Use GCPs spread across the block, or RTK/PPK camera positions, and optimize on them
  • Improve the camera calibration: a known camera model, or convergent and oblique photos so the lens can be solved
  • Increase the overlap and add cross strips so every point is seen from more angles
  • Post-process: fit and remove the dome against control, a last resort that treats the symptom

Optimization

Two Reference pane screenshots. Optimizing on camera locations: camera total error 1.91 m, marker total error 36.6 m. Optimizing on GCP coordinates: camera total error about 37 m, marker total error 0.0126 m

Optimize on the camera geotags and the markers sit 36 m off. Optimize on the markers and the cameras sit 37 m off. The ground control wins.

What optimization does

  • A full photogrammetric bundle adjustment with the ground control as additional constraints
  • Exterior orientation of every camera and the interior orientation of the lens are re-solved together
  • Replaces the simple seven-parameter transform (shift, rotation, scale) that georeferencing uses by default
  • The reported errors drop by orders of magnitude when the control is good

Marker accuracy in the Reference Settings is the weight: 5 mm says the targets are trusted to 5 mm. Wrong weights give a wrong adjustment (Agisoft LLC 2025)

Measuring on the products

Profiles in Metashape

Metashape orthomosaic with contour lines and a red profile line drawn across a brush pile; the Measure Shape dialog shows the elevation profile rising from 108 to 111 m over a 50.7 m line

Draw a polyline on the DSM or model and read the elevation profile along it.

Contours in Metashape

Metashape workspace for the February 2018 project: 507 cameras, 7 markers, a 15 cm DEM, a 3.75 cm orthomosaic, and 240 contour polylines drawn over the colored DEM of the field

Tools > DEM > Generate Contours. Contours are shapes, so they export as vector files alongside the DEM.

Volumes and areas in Metashape

Textured 3D model of a soil stockpile with contour lines from 41 to 52 m draped over it, viewed obliquely

Close a polygon around the pile, pick the base plane, and read the volume above and below it. The model must be watertight under the polygon.

Terrain analysis in GRASS

Slope map of the field derived from the UAS DSM, steep terraces and tree edges in dark tones

Slope

Aspect map of the field derived from the UAS DSM, with the terrace faces colored by the direction they face

Aspect

r.slope.aspect computes slope, aspect, and curvatures from the DSM in one run.

Curvature and shaded relief

Profile curvature map of the field, with convex terrace crests and concave channels in contrasting tones

Curvature

Shaded relief of the UAS DSM showing the terraces, farm road, and tree lines

Shaded relief

r.relief for the hillshade; curvatures from r.slope.aspect or from the interpolation itself (v.surf.rst).

Advanced terrain analysis

Local relief model of the field: small positive and negative features such as rows and furrows stand out after the broad terrain trend is removed

Local relief

Sky-view factor map of the field: open ground is bright, furrows and the base of trees are dark

Sky-view factor

Addons r.local.relief and r.skyview; install with g.extension.

Key terms

Processing report: the record of images, overlap, calibration, and errors from a run;

Image residual: pixel distance between a point projected through the camera model and its measured position

Reprojection error: the RMS of the image residuals over all tie points

Bowl effect: broad systematic bending of the model from an inaccurate self-calibration; also called doming

Optimization: the bundle adjustment re-run with ground control as constraints

DSM difference: between repeat flights it measures error; between epochs, change plus error

Wrap-up

Assignment 4A: Analysis of UAS data processing results: measure profiles, contours, and volumes in Metashape, then compare DSMs with and without GCPs, across software, and between surveys in GRASS

References

Agisoft LLC. 2025. Agisoft Metashape User Manual: Professional Edition, Version 2.3. Agisoft LLC. https://www.agisoft.com/pdf/metashape-pro_2_3_en.pdf.
James, Mike R., and Stuart Robson. 2014. “Mitigating Systematic Error in Topographic Models Derived from UAV and Ground-Based Image Networks.” Earth Surface Processes and Landforms 39 (10): 1413–20. https://doi.org/10.1002/esp.3609.
Nouwakpo, Sayjro K., Mark A. Weltz, and Kenneth McGwire. 2016. “Evaluation of Structure from Motion for Soil Microtopography Measurement.” The Photogrammetric Record 31 (153): 17–35. https://doi.org/10.1111/phor.12072.