Stereo Disparity and Depth Sensitivity

Derive depth from horizontal disparity in rectified stereo and show why small disparity errors hurt more at long range.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Alignment turns correspondence into a row search
  2. Inverting small disparity amplifies uncertainty

Alignment turns correspondence into a row search

For calibrated rectified cameras with baseline \(B\) and focal length \(f\) in pixels, corresponding points ideally share a row. Their horizontal difference is \(d=fB/Z\) under the conventional sign and aligned principal points. Thus \(Z=fB/d\). With \(f=800\), baseline \(0.12\) meters and disparity 24 pixels, depth is four meters. At 12 pixels it is eight meters.

Inverting small disparity amplifies uncertainty

The magnitude of the depth derivative with respect to disparity is \(fB/d^2\). The same pixel uncertainty can therefore imply much larger depth uncertainty at distance. Occlusions may leave a point visible in only one image. Patch matching describes one correspondence model. Two-view triangulation generalizes beyond rectified cameras and convenient horizontal displacement.[1][2]

References

  1. Richard Szeliski, Computer Vision: Algorithms and Applications ↩
  2. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩