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

Introduction

Structure from Motion (SfM) is a fundamental task in computer vision, aiming to reconstruct 3D scenes from collections of 2D images. A pivotal step in the SfM pipeline is the estimation of global 3D camera locations. Most modern solvers rely on "pairwise directions"—unit vectors representing the relative orientation between camera pairs. However, these directions are frequently "corrupted" by outliers due to erroneous keypoint matching (e.g., repetitive structures like windows). When the proportion of corrupted data is high, standard 3D reconstruction solvers often produce collapsed or highly inaccurate maps. This paper introduces All-About-that-Base (AAB), a robust preprocessing strategy designed to identify and remove these corrupted directions before they reach the solver.

Methodology

The AAB approach leverages geometric "cycle-consistency" to purify input data through a multi-stage process:

1. AAB Inconsistency

The core of the method is a geometric measure of how much a triplet of camera directions violates consistency. In an ideal scenario, relative directions around a camera triangle should form a closed loop. The AAB inconsistency measures the minimum angular rotation required to make a specific direction consistent with the other two in a triplet. The authors derived a closed-form formula for this, enabling efficient vectorized computation.

2. Naive AAB Statistic

For each edge (pair of cameras) in the viewing graph, a "Naive AAB" statistic is calculated by averaging the inconsistencies across multiple sampled triangles containing that edge. High average inconsistency suggests a likely corrupted edge.

3. Iteratively Reweighted AAB (IR-AAB)

To address scenarios with extreme corruption, the authors introduced an iterative version. IR-AAB reduces the influence of suspicious neighboring edges when calculating a specific edge's score. This allows global information about data quality to propagate, preventing clusters of outliers from masking their own corruption or unfairly penalizing "clean" edges. The authors provide a rigorous mathematical foundation (Theorem 4.1) guaranteeing that, under specific corruption models, AAB can perfectly separate a large portion of bad edges from good ones.

Separation of corrupted and uncorrupted data using AAB statistics compared to 1DSfM inconsistency.

Experimental Evaluation

The method was evaluated using both synthetic and real-world benchmarks:

  • Synthetic Data: A "Uniform Corruption Model" was used to test performance against varying noise levels and outlier percentages.
  • Real-World Benchmarks: 14 diverse SfM datasets (e.g., Roman Forum, Notre Dame, NYC Library) curated by Wilson & Snavely (2014) provided a rigorous test of the algorithm's practical utility.

Results

The IR-AAB preprocessing step demonstrated significant advantages over existing methods:

  • Superior Outlier Detection: Synthetic tests showed that IR-AAB consistently outperformed 1DSfM, the previous state-of-the-art, particularly as noise levels increased.
  • Accuracy Gains: Integrating IR-AAB with standard solvers like LUD, CLS, and ShapeFit led to dramatic improvements in reconstruction accuracy. For the CLS solver, IR-AAB improved the average mean error by over 50% across the tested datasets.
  • Efficiency: The preprocessing is highly efficient. For instance, computing the IR-AAB statistic for the Roman Forum dataset (~1,000 cameras) takes approximately 8 seconds.
Improvement in mean error for various solvers across 12 real-world datasets when using AAB preprocessing.

Conclusion and Future Work

AAB provides a powerful, solver-independent preprocessing layer that significantly enhances the robustness of camera location estimation. By filtering out corrupted pairwise directions based on local geometric consistency, it enables accurate 3D reconstruction even in highly noisy environments. Future research may extend this cycle-consistency approach to improve camera orientations (rotations) and address the computational bottlenecks associated with finding maximal rigid components in extremely large graphs.

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