With exact measurements, the two back-projected rays intersect at the world point. With real measurements they do not — two lines in 3D generically miss each other, and a single pixel of noise is enough. "Triangulation" is therefore not an intersection but an estimation problem: which point best explains both observations?
The cheapest answer is the midpoint of the shortest segment connecting the rays. It is easy to picture and it is not the best estimator, because it is the optimum of the wrong cost — distance in 3D rather than reprojection error in the images, and those disagree once the cameras differ. The estimator most pipelines use minimises reprojection error directly, and the difference matters most exactly where triangulation is hardest.
Why depth error grows quadratically
-
Depth from disparity, for a rectified pair with focal length f (px) and baseline B (m).
-
Differentiate. The sensitivity of depth to disparity itself depends on disparity.
-
Substitute d = fB/Z. Depth uncertainty is quadratic in depth and inversely proportional to the baseline — the single most useful formula in stereo.
A stereo rig has px, cm, and matches to px. What is the depth uncertainty at 3 m and at 30 m?
Show answer
. At m that is cm — around . At m it is m, which is and useless for anything that needs to avoid an obstacle. Same sensor, same matcher, hundredfold difference in usefulness. Automotive stereo rigs have long baselines for exactly this reason.