NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Estimation of Camera Locations in Highly Corrupted Scenarios: All About That Base, No Shape Trouble

Yunpeng Shi, Gilad Lerman

Abstract

We propose a strategy for improving camera location estimation in structure from motion. Our setting assumes highly corrupted pairwise directions (i.e., normalized relative location vectors), so there is a clear room for improving current state-of-the-art solutions for this problem. Our strategy identifies severely corrupted pairwise directions by using a geometric consistency condition. It then selects a cleaner set of pairwise directions as a preprocessing step for common solvers. We theoretically guarantee the successful performance of a basic version of our strategy under a synthetic corruption model. Numerical results on artificial and real data demonstrate the significant improvement obtained by our strategy.

Introduction

In Structure from Motion (SfM), reconstructing a 3D scene from a collection of 2D images requires the accurate estimation of global camera locations. This process typically relies on "pairwise directions"—unit vectors representing the relative positions between pairs of cameras. However, in real-world scenarios, these directions are often heavily corrupted due to mismatches in image keypoints. Such "outliers" can cause state-of-the-art solvers (like LUD or ShapeFit) to produce "collapsed" solutions where all cameras are erroneously placed at a single point. This paper introduces a robust preprocessing strategy to filter out these corrupted directions before they reach the solver.

Methodology: All-About-that-Base (AAB)

The proposed method leverages the principle of cycle-consistency. In a geometrically consistent set of cameras, the relative directions between any three cameras (a triangle) must satisfy a specific constraint: they should be able to form a closed triangle in 3D space. If a pairwise direction is an outlier, it will likely "break" the triangles it belongs to.

The authors introduce the All-About-that-Base (AAB) statistic to quantify this inconsistency:

  1. Naive AAB: For each edge in the camera graph, an inconsistency score is calculated by measuring its distance to the nearest consistent region on a sphere, relative to the "base" formed by other edges in a triangle.
  2. Iteratively Reweighted AAB (IR-AAB): This advanced version iteratively updates scores. Triangles containing edges already suspected as outliers are downweighted, allowing clean geometric information to propagate globally across the camera graph.
Geometric consistency on the sphere: the AAB statistic measures the distance to the nearest consistent region.

Experimental Results

The effectiveness of IR-AAB was evaluated on both synthetic and large-scale real-world datasets (e.g., Alamo, Notre Dame, Roman Forum).

On synthetic data, IR-AAB demonstrated near-perfect separation of corrupted and uncorrupted edges even at high corruption levels (e.g., 20% outliers). On real-world datasets, the preprocessing step significantly boosted the performance of existing solvers. For instance, applying IR-AAB improved the accuracy of the LUD solver by an average of 38% across 12 datasets.

Improvement in mean error across 12 real-world datasets for different solvers using IR-AAB preprocessing.

The method is also highly efficient. For a dataset with nearly 1,000 cameras, the IR-AAB statistic was computed in just 8 seconds, a fraction of the time required by the subsequent location solvers (which can take up to 160 seconds).

Conclusion

The AAB strategy provides a powerful, solver-agnostic preprocessing tool for robust camera location estimation. By cleaning the input data through geometric consistency checks, it enables standard solvers to handle much higher levels of corruption than previously possible. Future work includes extending these cycle-consistency principles to improve camera rotation estimation and optimizing the identification of rigid graph components.

Summary updated

BibTeX
@inproceedings{shi2018estimation,
  author = {Yunpeng Shi and Gilad Lerman},
  title = {{Estimation of Camera Locations in Highly Corrupted Scenarios: All About That Base, No Shape Trouble}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=S1Wh_CZ_WH},
}
Figure