Processing experiments and checking mapping formulas

Use the same image set to compare control strategies, with a calculator and practice files whose answers can be checked.

Last updated:

An analyst comparing a map image with clusters of control points on a computer screen
AI-generated conceptual illustration

Try calculating and check the units

An example for learning the formulas. Calculations run on your own device and no data is sent to a server. See the assumptions and the manual working in the chapter below.

Start with data whose answers can be checked

The calculator above uses data in the browser; no coordinates are uploaded. You can read the equations and work from the CSV even with JavaScript disabled. Download the practice set and scripts ZIP or the practice set guide

Using the same images to compare processing methods, keeping the final CPs out of the adjustment

Experiment with the same image set

Start from Creating your first map then choose an image set that you have the right to use and that has verifiable control coordinates from ODMdata Before using a set for a real assessment, check the metadata, survey method, uncertainty and the rights of each set. A starter image set without CPs can be used to practise the pipeline but cannot yet be used to check positional accuracy.

Run What changes What stays the same
A Image geotags only Images, engine version, CRS and other processing settings
B GCPs clustered on one side Final CPs and the same checking method as A
C GCPs distributed across the area and elevations The same final CP set, not used for adjustment

Duplicate the project and record the settings for every run. WebODM identifies checkpoints by names beginning with CHK- according to the manual. Check the report that the engine used actually separated these points. If checkpoints are used to help choose settings during development, set aside another set for the final assessment. Do not conclude that run C must always win without measuring.

F20: Formulas for image footprint, image overlap and image blur

The first question is how much ground distance one pixel represents. The height must be measured above the target ground, not always above the take-off point. Use the sensor width and the number of pixels along the same axis.

GSD = H × S / (f × N)

Variable Meaning and unit Range and source of value
H Height above the target ground m > 0 from the height/terrain plan
S, f Width of the sensor portion covered by the image, and the actual focal length mm > 0; a full image uses S from the camera specification, while a cropped image must reduce S in proportion to what remains; do not use the 35 mm equivalent focal length
N, N_w, N_h Number of pixels along the chosen axis, width, height pixel Integer > 0 from the image being computed; N must be paired with S for the same image extent
GSD Ground distance per pixel m/pixel > 0 from the formula; multiply by 100 for cm/pixel
F_w, F_h Footprint width/length m > 0; N of each axis multiplied by GSD
o_side, o_front Overlap ratio, dimensionless 0 ≤ o < 1; enter 70% as 0.70
v Ground speed m/s > 0 for calculating the photo interval; do not substitute airspeed
t_exp, t Exposure time, photo interval s > 0 from the camera/calculated result
b_px Approximate blur distance pixel ≥ 0; not the probability of a failed image

Assume H = 60 m, S = 13.2 mm, f = 8.8 mm, N = 5472 pixel: GSD = (60 × 13.2)/(8.8 × 5472) = 0.01644737 m/pixel = 1.644737 cm/pixel The mm units cancel, leaving m/pixel. This value is the sampling distance, not the absolute accuracy of the map Pix4D: Camera Focal Length, Altitude and GSD (S19), checked 26 September B.E. 2569 (2026)

Crop and resize change different things: If the width is cropped from 5472 to 2736 pixel without resampling, use the S covered by the image = 13.2 × (2736/5472) = 6.6 mm so GSD = (60 × 6.6)/(8.8 × 2736) = 0.01644737 m/pixel, unchanged but the footprint width shrinks to 2736 × GSD = 45 m from the original 90 m. Do not use the full S of 13.2 mm with the post-crop N and conclude that the GSD has doubled.

If the full-frame image is reduced from 5472 to 2736 pixel by resizing without cropping, the image extent stays the same, so S remains 13.2 mm and the new N can be used. The GSD of the resulting image is 0.03289474 m/pixel but the footprint is still 90 m wide. Increasing the number of pixels by interpolation does not create detail the camera did not record. If you crop and then resize, first adjust S for the cropped portion, then use N after resizing; unequal reduction on each axis requires computing GSD separately per axis instead of assuming square pixels.

An image on the ground 90 by 60 metres, showing a side spacing of 27 metres and an along-track spacing of 12 metres

The figure marks the directions of N_w and N_h in the example so that front/side are not swapped. When the camera is rotated, the footprint axis used for line layout must be changed to match.

For nadir images, flat ground and square pixels, use GSD in m/pixel:

  • Image width on the ground F_w = N_w × GSD; image length F_h = N_h × GSD
  • Line spacing d_side = F_w × (1 − o_side)
  • Along-track photo spacing d_front = F_h × (1 − o_front)
  • Photo interval t = d_front / v where v is the ground speed in m/s
  • Approximate linear blur on the image b_px = v × t_exp / GSD where t_exp is the exposure time in seconds

Example with a hypothetical camera of 5,472 × 3,648 px, GSD = 60/3,648 m/px gives a footprint of 90 × 60 m; 70% side overlap and 80% front overlap give spacings of 27 m and 12 m; a speed of 5 m/s gives a photo interval of 2.4 s; a shutter of 1/1,000 s gives a blur of about 0.304 px The blur formula does not yet include vibration, rotation, rolling shutter or wind, and the camera must support the calculated photo interval.

Unit-check example and F20 exercise

From the values above, F_w = 5472 × 0.01644737 = 90 m and F_h = 3648 × 0.01644737 = 60 m; d_side = 90 × (1−0.70) = 27 m, d_front = 60 × (1−0.80) = 12 m; t = 12 m / (5 m/s) = 2.4 s; b_px = (5 m/s × 0.001 s)/(0.01644737 m/pixel) = 0.304 pixel

This formula assumes a nadir camera, flat ground, square pixels and constant speed. It does not cover relief, oblique imagery, rotation/vibration or rolling shutter. If H changes with the terrain, GSD and overlap change accordingly. The camera must also be able to record fast enough for the photo interval and may have trigger limitations. Do not use this formula to certify a flight plan.

Problem: change v from 5 to 10 m/s while keeping the same camera, height, overlap and shutter. What are the photo interval and the blur?

F20 answer

t = 12/10 = 1.2 s and b_px = 10 × 0.001 / (60/3648) = 0.608 pixel; the GSD and line spacing stay the same. Accept ±0.001 s and ±0.001 pixel. Do not divide by v = 0 or use overlap = 80 instead of 0.80.

You can use the calculator above to check the substitution; the formulas in the text remain readable with JavaScript disabled.

Formulas for checking independent points

Define the residual e_Xi = X_model,i − X_reference,i and likewise for Y and Z. Both sets must be in the same CRS, datum and units.

bias_X = Σe_Xi / n

RMSE_X = √(Σe_Xi² / n)

RMSE_H = √(RMSE_X² + RMSE_Y²) and RMSE_Z = √(Σe_Zi² / n)

RMSE_H in this chapter is the combined two-axis value by this definition. It is not automatically converted to a value at the 95% confidence level and does not deduct the uncertainty of the reference points.

A hypothetical CSV of 4 points has X error = 0.03, −0.03, 0.03, −0.03 m; Y = 0.04, −0.04, −0.04, 0.04 m; Z = 0.05 m at every point, giving bias_X = bias_Y = 0, RMSE_H = 0.05 m, bias_Z = RMSE_Z = 0.05 m Even though the mean X/Y is zero, there is still error.

Run on Windows and Linux

Extract the ZIP and open a terminal in that folder. It uses Python 3 without installing any extra packages: on Windows use py analyze.py checkpoints.csv; on Linux use python3 analyze.py checkpoints.csv The output is JSON with units. When using real data, you must check the format and the independence of the CPs yourself; the script does not certify compliance with any standard.

Submit the experiment log and the calculated results, explaining which values differ from the example and why. Read more in Accuracy assessment and Data delivery

Experiment with a DSM from real images

Surface elevation of Brighton Beach from a real DSM; colour shows surface values, with NoData areas left blank

The Brighton Beach set of 18 images was processed successfully through the WebODM API and NodeODX 2.3.1 / ODX 3.8.4 on 29 September B.E. 2569 (2026). This run used dense reconstruction, with the log confirming fast_orthophoto: False and Create DSM: True yielding 361,368 points before filtering, unlike the fast orthophoto run used to study the colour imagery only.

What was checked Actual result and meaning
Size and coordinate system 642×508 pixels, EPSG:32615
Grid spacing 0.20 m per pixel, not an accuracy of 20 cm
Valid data 223,396 pixels, about 68.50% of the image frame
Surface elevation values 155.147–173.705 m according to the processing result; the vertical datum has not yet been confirmed
NoData −9999 must not be included in averages or volumes
Processing Task completed with status 40, taking about 104 seconds on the test machine

Start by downloading the DSM GeoTIFF then open it as a raster in QGIS, choose Singleband pseudocolor styling and check NoData from the layer information. Read the evidence of settings and statistics alongside it. The source imagery by Piero Toffanin is used under BSD-2-Clause

Open the Thai worksheet with suggested answers · Download the experiment script and tool requirements

Exercise: Calculate the area of pixels with data using A = N_valid × Δx × Δy which gives 223396 × 0.20 × 0.20 = 8935.84 square metres then explain why this value is not a certified land parcel area and why a DSM is not the ground elevation beneath trees.

This result has no GCPs or independent checkpoints, so the height RMSE cannot yet be assessed. Do not cite the colour range as a verified height above sea level.

Additional web file check: In the first round, the interface files passed 20/21 items because the logo path generated by the system was not yet being served. After correcting the settings only on a temporary test copy, 21/21 items returned HTTP 200 and the logo image matched the PNG file actually generated, with DEBUG still disabled and photogrammetry not re-run. This result checks file delivery over HTTP; it is not a test of using the map or the GUI screens and is not a recommendation for production settings.

Web file check results · Read the cause and the checking approach in Thai

Bibliography and scope

Documents checked 25–29 September B.E. 2569 (2026). The equation practice numbers are hypothetical data, while the DSM section reports real image-processing results separately. Neither part is a survey certificate.

Linking knowledge to missions and data

Keep the application version, processing engine, options, input manifest and processing log together with the results. The original site has separated WebODM from ODM; this distinction must be maintained when following manuals for different versions or comparing results. Read the reference: WebODM, Documentation

Check your understanding: Fill in a manifest before processing one task, and state which steps were checked against the manual and which were actually tested.

Read more in Chapters that apply this knowledge in simulated work · Sources reviewed 26 September B.E. 2569 (2026)

Download the basic formula answer-check set (JSON) · Synthetic data with units, for comparing your own calculated results

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Processing experiments and checking mapping formulas. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/knowledge/drone-mapping/processing-lab/

Original from Drone-Hub: https://drone.pk-research.work/knowledge/drone-mapping/processing-lab/ · © PK-Research