NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Propagate stereo disparity uncertainty into depth uncertainty — Long narrow corridor

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

Propagate stereo disparity uncertainty into depth uncertainty — Long narrow corridor

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

A long narrow work area connects several access points. The same nominal settings can behave differently near bends, end sections and abrupt changes in the surrounding scene. Divide the observations into consecutive segments and give each segment its own evidence identifier before making an overall comparison.

Check both ends and at least one intermediate segment independently. A corridor-wide average can conceal an isolated gap, so report the weakest segment as well as the aggregate.

Front view of the Sony RX1R III compact camera and its fixed lens
Front view of the Sony RX1R III compact camera and its fixed lens.Source: Catalogue source: Sony / Centres Direct

Reproduce the numerical check

Illustrative input data: Target depth (depth) = 125 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.043402778 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 125 to 137.5 m. Re-evaluating the same equation gives disparity-only depth standard uncertainty = 0.052517361 m. The arithmetic difference from the baseline is 0.0091145833 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.

Deliver the segment index, access-point notes and the direction of acquisition. Preserve the link between each accepted segment and its original observations.

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