Bundle adjustment minimises, over all camera poses and all 3D points,
i∑j∈V(i)∑ρ(π(K,CjTW,Xi)−uijΣij2),
where π is the projection from the first topic, ρ is the robust kernel
from the estimation topic, and V(i) is the set of cameras that saw
point i . There is nothing else in it. The name refers to the bundles of rays
from each point, adjusted until they agree.
Minimising reprojection error — in pixels, where the noise actually is — rather
than 3D distance is the correct choice and the one that makes it work at all. It
weights each observation by the geometry of its own ray, which is exactly what the
midpoint triangulation of the two-view topic failed to do.
Check yourself
Why does fixing one camera and one baseline length remove all gauge freedom in a monocular reconstruction, while fixing one camera alone does not?
Show answer
Fixing one camera pins the six rigid degrees of freedom — the reconstruction can no
longer be translated or rotated. It cannot, however, prevent everything from being
scaled about that camera, which leaves the images unchanged. Fixing one additional
distance — a baseline, or one point's depth — pins the seventh. Together they
reduce the seven-dimensional family of equivalent solutions to a single point, and
the information matrix becomes full rank.