Abstract
Camera re-localization is a fundamental task for autonomous navigation and augmented reality. While scene coordinate regression has emerged as a high-precision approach, it often suffers from noisy predictions that require computationally expensive RANSAC iterations. This paper introduces a two-step deep learning framework that predicts dense 3D scene coordinates and, crucially, estimates the confidence of these predictions. By filtering for high-confidence correspondences, the method significantly increases the inlier ratio and achieves state-of-the-art accuracy on indoor benchmarks.
Introduction
The "Where am I?" problem in computer vision—camera re-localization—requires determining a camera's precise 6DoF position and orientation from a single RGB image. Historically, this has been approached via direct pose regression or scene coordinate regression. While direct regression is fast, it often lacks the precision required for AR applications. Scene coordinate regression offers higher accuracy by mapping 2D pixels to 3D world coordinates, but these mappings are frequently noisy. Standard pipelines rely on RANSAC to find a consensus among thousands of points, which can fail when the ratio of correct "inlier" points is low.
Proposed Methodology
The proposed framework addresses the noise problem by teaching the network to evaluate its own certainty. The pipeline consists of three primary stages:
- Scene Coordinate Regression: A U-Net architecture maps the input RGB image to a dense 3D coordinate map. To ensure robustness, the authors employ Tukey’s Biweight loss to mitigate the impact of extreme outliers and a novel Graph Laplacian regularization term to maintain spatial consistency among neighboring pixels.
- Confidence Prediction: This core innovation utilizes a modified PointNet to process a subset of 2D-3D correspondences. The network learns to output a probability (0 to 1) for each point, effectively identifying which correspondences are likely to be correct.
- Pose Estimation: Rather than processing the entire noisy point cloud, the system selects only the $N$ most confident points. Final pose calculation is performed using standard algorithms like PnP (for RGB) or Kabsch (for RGB-D).
Experimental Evaluation
The method was evaluated on the 7-Scenes dataset, a challenging indoor benchmark characterized by motion blur and repetitive textures.
Key Results
- Accuracy: On the 7-Scenes benchmark, the RGB-only method achieved a median error of 5.8 cm and 3.1°, significantly outperforming baselines like DSAC (20 cm / 6.3°) and PoseNet (22.9 cm / 8.1°).
- Inlier Ratio: The confidence filter proved highly effective, raising the inlier ratio from a baseline of 5–12% to over 50%. This drastic reduction in noise allows for more efficient and robust pose estimation.
- Efficiency: The entire pipeline runs in approximately 1.06 seconds on standard hardware, making it faster than many RANSAC-heavy alternatives.
Discussion and Conclusion
The primary insight of this work is that regressing confidence is as important as regressing coordinates. By explicitly modeling the uncertainty of 2D-3D correspondences, the framework avoids the pitfalls of noisy data that typically plague coordinate-based methods.
Despite these gains, challenges remain in environments with highly repetitive textures, such as the "Stairs" scene, where the network can struggle to distinguish between identical-looking steps. Future research may focus on end-to-end integration of the coordinate and confidence networks to further optimize the localization pipeline.
Summary updated