TL;DR
This paper introduces PRAGO, a novel differentiable framework for estimating camera poses from unordered images using objectness detections. PRAGO refines noisy relative pose estimates and then optimizes them for absolute poses, outperforming existing methods on challenging small and sparse camera graph scenarios.
What Problem Does This Paper Address?
Estimating the 3D position and orientation (pose) of cameras from a collection of images is a cornerstone of computer vision, crucial for tasks like 3D reconstruction and augmented reality. A common approach is Structure from Motion (SfM), which often relies on first estimating the relative pose between pairs of cameras and then using these relative poses to infer the absolute poses of all cameras in a global coordinate system. However, this process is notoriously difficult, especially when dealing with sparse camera pose graphs (few images, large distances between cameras) where initial relative pose estimates can be noisy and contain significant errors, including incorrect "chirality" (a fundamental ambiguity in 3D reconstruction). Existing methods often struggle in these scenarios, either by making early, potentially incorrect, decisions to discard noisy pose estimates or by relying on non-differentiable optimization techniques that are hard to integrate into end-to-end learning pipelines.
Methods
PRAGO tackles this problem by introducing a differentiable, end-to-end approach that leverages objectness detections (i.e., identifying the presence and rough location of objects in images). The core of PRAGO consists of two main stages:
- Objectness-based Relative Pose Refinement: Instead of discarding potentially noisy relative pose estimates derived from initial image matches, PRAGO uses objectness detections to refine these estimates. It constructs a graph where nodes represent cameras and edges represent pairwise relative poses. A graph neural network (GNN) then processes this graph, using object information to correct ambiguities, particularly chirality errors, in the relative poses. This is a key departure from methods that might reject outliers early.
- Differentiable Rotation Averaging: The refined relative poses are then fed into a rotation averaging module, inspired by the RAGO architecture. This module iteratively refines the absolute camera orientations by re-weighting graph edges and optimizing the poses in a differentiable manner.
Finally, the refined absolute rotations are combined with translation averaging (using the BATA method) to produce the final absolute camera poses. The entire pipeline is designed to be end-to-end trainable, allowing backpropagation to optimize all components jointly.
Datasets
The paper evaluates PRAGO on the 7-Scenes dataset, specifically using the "small graphs dataset" which consists of 14,000 training graphs and 7,000 test graphs. These graphs are generated with objectness detections from a pre-trained Object Localization Network (OLN) and feature matches determined by SuperGlue. The dataset is noted to contain graphs with multiple disconnected components, which is handled by focusing on single-component graphs for evaluation.
Key Insights and Ideas
- Refining, Not Rejecting: The most significant insight is the shift from outlier rejection to outlier refinement for relative poses. By leveraging objectness information, PRAGO can correct inherent ambiguities (like chirality) in noisy relative poses, which is crucial for small and sparse scenes where discarding data is detrimental.
- End-to-End Differentiability: Making the entire pose estimation pipeline differentiable allows for joint optimization, leading to better performance than combining independently trained modules. This enables the system to learn how to best leverage objectness cues for pose refinement and how this refinement impacts the subsequent rotation averaging.
- Objectness for Chirality Correction: The paper highlights that objectness-based pose refinement is particularly effective at resolving chirality errors, a common and problematic ambiguity in relative pose estimation.
- Benefit for Traditional Solvers: PRAGO's refined relative poses significantly improve the performance of traditional, non-differentiable motion averaging algorithms like EIG-SE3, demonstrating the value of its pose refinement stage.
Key Results
- PRAGO outperforms non-differentiable solvers on small and sparse scenes from the 7-Scenes dataset, achieving a 21% relative improvement in rotation accuracy (median error of 3.77° compared to the next best at 4.21°).
- While translation accuracy is slightly lower than some baselines (0.36m vs. 0.31m), it is still competitive and achieved with significantly better rotation estimates.
- Ablation studies show that a balanced weighting of the pose refinement and rotation averaging losses is crucial for optimal performance, with a strong emphasis on rotation averaging leading to poor translation results.
- The objectness-based pose refinement module alone, when used with EIG-SE3, reduces the median orientation error from 25.22° to 4.21°, demonstrating its substantial impact.
Limitations and Future Work
- Dataset Specificity: The evaluation is primarily on the 7-Scenes dataset. While this dataset is designed for challenging sparse scenarios, testing on a wider variety of datasets would further validate PRAGO's generalizability.
- Translation Ambiguity: While PRAGO achieves good results, the inherent scale ambiguity in translation estimation remains a challenge, requiring specific strategies like BATA.
- Future Work: The authors suggest exploring how to best combine the pose refinement and rotation averaging modules, potentially by further differentiating through the entire process. They also note that the objectness-based pose refinement is particularly beneficial for systems that don't implement robust outlier rejection, hinting at its potential integration into other SfM pipelines.
Summary updated