Abstract: Dense feature matching in 360° omnidirectional images is hindered by the severe geometric distortions of equirectangular projections (ERP). We present EDM, the first learning-based dense matching framework specifically designed for the spherical domain. By employing 3D Cartesian embeddings and geodesic flow refinement, EDM achieves significant improvements in pose estimation accuracy, outperforming existing state-of-the-art perspective-based matchers by up to 42.6%.
Introduction
Omnidirectional (360°) imaging is increasingly vital for robotics, virtual reality, and digital twin applications. However, these images present a significant challenge for standard computer vision algorithms designed for perspective cameras. When a spherical view is projected onto a 2D plane—typically via Equirectangular Projection (ERP)—it suffers from non-linear distortions, particularly near the poles. This "Greenland effect" causes standard dense matching algorithms to fail, as they rely on 2D translational invariance and perspective assumptions that do not hold in ERP space. Previous workarounds, such as cubemap projections, often lose global context and are computationally inefficient.
Methodology
EDM (Equirectangular Projection-Oriented Dense Kernelized Feature Matching) adapts the Dense Kernelized Feature Matching (DKM) framework to operate natively on a sphere. The core innovation lies in making the network "distortion-aware" through three primary components:
- Spherical Spatial Alignment Module (SSAM): Instead of using standard 2D pixel coordinates $(u, v)$, EDM maps every pixel to its corresponding 3D Cartesian coordinates $(x, y, z)$ on a unit sphere. This embedding allows the network to perceive the true geometric distance between points, effectively neutralizing the stretching effects of the ERP format.
- Geodesic Flow Refinement: Traditional matching refines pixel displacement (flow) using linear updates. EDM recognizes that the shortest path between two points on a sphere is a geodesic curve. The refinement process iteratively converts between 3D spherical space and 2D ERP space to ensure the search for correspondences follows the camera's actual geometry.
- Azimuth Rotation Augmentation: To handle the "wrap-around" nature of 360° images, the model is trained with random horizontal rotations. This ensures the matching remains consistent even if a feature crosses the "seam" of the ERP image.
Experimental Setup
The model was trained and evaluated on several large-scale indoor datasets:
- Matterport3D: Used for training, featuring 10,800 panoramas across 90 scenes.
- Stanford2D3D: Used for zero-shot testing to evaluate generalization to unseen environments.
- EgoNeRF & OmniPhotos: Provided real-world data for qualitative validation of the matching density and robustness.
Results
EDM demonstrates a paradigm shift in performance for omnidirectional dense matching. On the Stanford2D3D dataset, EDM achieved an AUC@5° of 55.08, a massive +42.62 improvement over the perspective-based DKM (12.46). Similar gains were seen on Matterport3D, where EDM reached an AUC@5° of 45.15.
Qualitative analysis reveals that EDM maintains high matching density even in challenging scenarios, such as blank walls or through narrow doorways, where previous methods typically fail. Furthermore, EDM is remarkably robust to low overlap; while competing methods' performance degrades rapidly below 70% overlap, EDM maintains high accuracy down to 40-50% overlap.
Conclusion
EDM successfully bridges the gap between dense feature matching and spherical geometry. By moving from 2D pixel-space to 3D Cartesian embeddings, it provides a robust foundation for 360° vision tasks. Future work will focus on expanding the model's capabilities to outdoor environments and integrating it into real-time SLAM pipelines for autonomous navigation.
Summary updated