NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Propagate stereo disparity uncertainty into depth uncertainty — Stepped terrain

Propagate stereo disparity uncertainty into depth uncertainty — a worked case for stepped terrain, with explicit data, a sensitivity comparison and an independent evidence check.

Propagate stereo disparity uncertainty into depth uncertainty — Stepped terrain

The measurement question

For an ideal rectified stereo pair, depth is focal length times baseline divided by disparity. Consider hypothetical cameras separated by 30 m, with focal length 6000 pixels, observing a point at 120 m depth. Its disparity is 1500 pixels. If disparity standard uncertainty alone is 0.5 pixel, first-order propagation gives about 0.04 m depth uncertainty. At twice the depth with the same baseline and focal length, this contribution grows fourfold. The example explains a geometric sensitivity, not a promised photogrammetric survey accuracy. Camera calibration, baseline knowledge, matching bias, orientation uncertainty, and nonideal geometry must also enter a real project error assessment.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

The example contains an upper terrace and a lower work surface. A single reference elevation can hide a substantial change in sensor-to-surface distance. Keep the two surfaces separate during the first comparison and identify which height reference was actually used for every recorded observation.

Compare an independently checked location on each terrace. Do not use a point on the upper surface to claim that the lower surface has the same error or observation geometry.

Sony alpha 7R V camera body with the lens removed and image sensor visible
Sony alpha 7R V camera body with the lens removed and image sensor visible.Source: Catalogue source listed in the supplied Sony product-image credits

Reproduce the numerical check

Illustrative input data: Target depth (depth) = 130 m; Focal length (focal_pixels) = 6,000 pixels; Stereo baseline (baseline) = 30 m; Disparity standard uncertainty (sigma_disparity) = 0.5 pixels.

Calculation: (depth**2/(focal_pixels*baseline))*sigma_disparity.

Disparity-only depth standard uncertainty = 0.046944444 m.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only target depth (depth) from 130 to 143 m. Re-evaluating the same equation gives disparity-only depth standard uncertainty = 0.056802778 m. The arithmetic difference from the baseline is 0.0098583333 m.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Use depth sensitivity to compare stereo geometry and matching requirements before interpreting a dense model. Include orientation, calibration, and control uncertainties separately, and avoid converting this single error contribution into an overall project accuracy claim.

Small disparity and weak texture can make depth unstable. The formula assumes rectified geometry and known baseline/focal length; calibration error, occlusions, mismatch bias, correlated parameters, and non-Gaussian residuals can dominate the simplified uncertainty estimate.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Recompute depth from a known synthetic disparity and perturb it slightly to compare numerical and analytic sensitivity. Validate real depths against independent surveyed points or surfaces, while examining residuals by range and image geometry.

Package the height reference, the terrace boundary and the observed transition zone. State where the surface was not directly observed and where a model filled a gap.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. OpenCV Depth Map from Stereo Images ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team