Abstract
We develop new statistics for robustly filtering corrupted keypoint matches in the structure from motion pipeline. The statistics are based on consistency constraints that arise within the clustered structure of the graph of keypoint matches. The statistics are designed to give smaller values to corrupted matches than uncorrupted matches. These new statistics are combined with an iterative reweighting scheme to filter keypoints, which can then be fed into any standard structure from motion pipeline. This filtering method can be efficiently implemented and scaled to massive datasets as it only requires sparse matrix multiplication. We demonstrate the efficacy of this method on synthetic and real structure from motion datasets and show that it achieves state-of-the-art accuracy and speed in these tasks.
Introduction
Structure from Motion (SfM) is a fundamental computer vision task that reconstructs 3D scenes from 2D image collections. The process begins with keypoint matching—identifying corresponding points across different images. However, real-world conditions like lighting changes and repetitive patterns often introduce "corrupted matches" (false positives). While global frameworks like Partial Permutation Synchronization (PPS) offer theoretical solutions, they are often computationally prohibitive for large-scale datasets. We introduce Filtering by Cluster Consistency (FCC), a scalable approach that leverages graph topology to efficiently prune these outliers.
Methodology: Cluster Consistency
Our approach models keypoint matches as a graph where nodes represent keypoints and edges represent proposed matches. In an ideal scenario, all keypoints corresponding to the same 3D point should form a dense cluster (a complete subgraph). We define two primary statistics to evaluate edge quality:
- Within-Cluster Consistency ($S_1$): Measures the density of alternative short paths between two keypoints. Valid matches typically belong to well-connected clusters.
- Cross-Cluster Consistency ($S_2$): Identifies paths that bridge two different keypoints within the same image. Since a single 3D point rarely appears twice in one image, such paths indicate corruption.
The FCC algorithm iteratively updates match weights using these statistics. By relying solely on sparse matrix multiplications, the method avoids the dense operations that limit traditional spectral methods.
Experimental Evaluation
We evaluated FCC against several state-of-the-art methods, including MatchEig, Spectral, and MatchALS, across various benchmarks ranging from small objects to city-scale environments.
Speed and Accuracy
On standard datasets like Dino Ring and Temple Ring, FCC demonstrated remarkable efficiency. It achieved state-of-the-art precision while running 10x to 100x faster than spectral methods and up to 10,000x faster than optimization-based approaches like MatchALS. The iterative refinement process allows the global structure of the graph to emerge, effectively separating signal from noise.
Scalability
A key advantage of FCC is its ability to handle "city-scale" datasets. In tests on the Photo Tourism database (e.g., Notre Dame, Piccadilly), FCC was the only robust matching method capable of processing hundreds of thousands of keypoints efficiently. When integrated into a standard SfM pipeline (LUD), it significantly improved the accuracy of camera rotation and translation estimates by providing a cleaner set of initial matches.
Conclusion
Filtering by Cluster Consistency provides a highly scalable and robust solution for the keypoint matching problem in SfM. By exploiting both positive (cycle consistency) and negative (within-image uniqueness) constraints through sparse matrix operations, FCC bridges the gap between theoretical robustness and practical large-scale application. Future work will explore incorporating visual descriptors and establishing formal theoretical bounds for these statistics.
Summary updated