Image Alignment

A camera can move or turn between photographs. Matching points gives us evidence of that movement, which we can use to work out how to bring the images into alignment.

17 sections · 15 questions · 4 coding challenges

1 / 17

How Could We Align Two Views When Some Matches Are Wrong?

BOTIE

Two photographs of a scene may share many recognisable points, yet some proposed matches will be wrong. Repeated windows or similar textures can create convincing false correspondences. Fitting a transformation to all matches indiscriminately can let those errors pull the images out of alignment.

Fischler and Bolles introduced RANSAC in 1981 for model fitting in the presence of gross errors, with applications including image analysis and cartography. Instead of assuming every observation deserved equal influence, the method searched for a model supported by a consistent subset.

We fit a candidate transformation from a small sample of matches, then ask how many other matches agree with it. Repeating this can reveal a well-supported transformation despite outliers. The transformation still needs to suit the geometry: one planar mapping cannot generally account for arbitrary three-dimensional parallax. Agreement gives us evidence for alignment under the chosen model, not proof that every correspondence is correct.

Sources for this history