Abstract
Visual localization is a critical component for robotics and augmented reality, traditionally relying on visual descriptors that pose privacy risks and require significant storage. This paper introduces FGPL (Fully Geometric Panoramic Localization), a method that achieves high-accuracy localization using only 2D-3D line segments and their intersections. By exploiting the holistic 360° view of panoramas and decoupling rotation from translation through canonical distance functions, FGPL achieves sub-millisecond pose search speeds, reduces map storage by over 50x, and provides inherent privacy protection and robustness to lighting changes.
Introduction
Visual localization—determining a camera's precise 3D pose—typically involves matching image patches to a map using visual descriptors like SIFT or SuperPoint. However, these descriptors are often heavy to store, sensitive to environmental changes (lighting, seasons), and can potentially be used to reconstruct private imagery.
Lines and their intersections offer a compelling alternative. They are compact, stable across lighting variations, and inherently privacy-preserving. Despite these advantages, matching individual lines is mathematically ambiguous. FGPL overcomes this by treating line intersections as "geometric keypoints" and utilizing the global context provided by panoramic imagery.
Methodology
The FGPL pipeline is divided into three primary stages designed for speed and geometric consistency:
- Input Preparation: The system extracts 2D lines from query panoramas and 3D lines from the map. It identifies principal directions (vanishing points) and calculates intersection points between lines of different directions. These intersections serve as distinct geometric features.
- Efficient Pose Search: To handle large-scale environments, the authors decouple rotation and translation. They pre-compute 3D distance functions in a "canonical" orientation. During localization, the 2D query's distance function is rotated and compared against this cached data, allowing for the evaluation of thousands of candidate poses in under a millisecond.
- Pose Refinement: A two-step optimization process follows. Translation is refined by matching intersection points using an approach similar to the Iterative Closest Point (ICP) algorithm. Subsequently, rotation is refined by aligning the directions of the matched lines.
Experimental Setup
The method was rigorously tested across three diverse benchmarks:
- Stanford 2D-3D-S: Real-world indoor panoramas across hundreds of rooms.
- OmniScenes: Challenging data with fast motion and extreme lighting shifts.
- Structured3D: Focused on floorplan-based localization where the 3D map consists only of architectural lines.
Results and Discussion
FGPL demonstrates significant improvements over existing line-based and descriptor-based methods in several key areas:
- Speed and Efficiency: The pose search is an order of magnitude faster than previous state-of-the-art methods (e.g., 0.02s vs. 0.24s for the LDL baseline). Map storage requirements for large scenes dropped from ~130 GB for descriptor-based methods to just 2.56 GB.
- Accuracy: In large-scale indoor environments, FGPL achieved a localization accuracy of 76% (within 0.1m and 5°), significantly outperforming the 54% achieved by prior line-based methods.
- Robustness: Unlike descriptor-based methods, which see performance degradation under varying lighting conditions, FGPL's purely geometric approach remains stable across intensity and white balance shifts.
Conclusion
FGPL proves that a fully geometric approach to panoramic localization can rival the accuracy of descriptor-heavy methods while offering superior speed, privacy, and storage efficiency. While currently dependent on the structural presence of lines and the 360° field of view, future work aims to adapt these geometric principles to narrow field-of-view cameras and improve vanishing point estimation for even greater robustness.
Summary updated