Abstract
Modern image matching pipelines, while increasingly dominated by deep learning architectures, often struggle with outlier rejection and precise sub-pixel localization in diverse environments. This paper introduces a modular, geometry-driven framework—comprising Multiple Overlapping Planes (MOP), Middle Homography (MiHo), and Normalized Cross-Correlation (NCC)—designed to filter and refine matches from any source, including handcrafted features like SIFT and end-to-end networks like LoFTR. By leveraging the piece-wise planar nature of most scenes and a novel symmetric warping strategy, the proposed method significantly enhances pose estimation accuracy, particularly in scenarios where camera intrinsics are unknown.
Introduction
Image matching—the process of identifying corresponding points across different views—is the fundamental building block for 3D reconstruction (SfM) and visual navigation (SLAM). Despite the success of deep learning, many modern models remain "black boxes" that are difficult to adapt to new domains without extensive retraining. Furthermore, many benchmarks assume known camera internal parameters, a luxury not always available in real-world applications.
This research revisits classical geometric principles to provide a robust, interpretable, and "plug-and-play" post-processor. The framework focuses on two primary goals: improving precision by aggressively pruning outliers and increasing accuracy through sub-pixel refinement.
Methodology
The proposed pipeline is composed of three distinct modules that can be integrated into existing matching workflows.
1. Multiple Overlapping Planes (MOP)
Rather than attempting to fit a single global geometric model (like a fundamental matrix) to an entire image, MOP adopts a local approach. It uses an iterative RANSAC process to identify multiple "virtual planes" within the scene. Matches are clustered based on their adherence to these local homographies. Any match that fails to fit into a detected plane is discarded as an outlier. This "piece-wise planar" assumption proves to be a powerful prior for filtering, even in complex, non-planar environments.
2. Middle Homography (MiHo)
Traditional patch refinement involves warping one image patch into the perspective of another. However, this asymmetric warping often introduces significant image distortion and interpolation artifacts. MiHo introduces a symmetric alternative: projecting both patches into a "virtual middle plane." This approach balances the geometric distortion between the two views, preserving more texture detail and providing a cleaner signal for subsequent alignment.
3. Normalized Cross-Correlation (NCC)
Following the MiHo projection, the system employs standard template matching via NCC to determine the exact sub-pixel offset that maximizes similarity between patches. This step refines the initial keypoint coordinates, moving them from pixel-level estimates to high-precision localizations.
Experimental Evaluation
The authors evaluated the MOP+MiHo+NCC framework across four diverse benchmarks:
- MegaDepth: Large-scale outdoor scenes with varying perspectives.
- ScanNet: Complex indoor environments with intricate geometry.
- IMC PhotoTourism: Challenging outdoor datasets from the Image Matching Challenge.
- Planar Dataset: Scenes specifically chosen for their piece-wise planar characteristics (HPatches and EVD).
Key Findings
- The "Middle Ground" Advantage: The MiHo module demonstrates that patch normalization is a critical bottleneck in refinement. By utilizing a neutral middle perspective, the system reduces the noise typically introduced by standard image interpolation.
- Feature Sensitivity: An interesting discovery was made regarding feature types: NCC refinement significantly benefits "corner-like" keypoints (e.g., SuperPoint, Key.Net) but can occasionally degrade the performance of "blob-like" keypoints (e.g., SIFT). This suggests that refinement strategies must be carefully paired with the underlying detector's characteristics.
- Robustness to Unknown Intrinsics: In "blind" scenarios where camera focal lengths and internal parameters are unknown (estimating the Fundamental Matrix), the proposed method consistently outperformed deep-learning-based filters such as ACNe or CLNet.
Results and Discussion
The integration of the MOP+MiHo+NCC pipeline into state-of-the-art networks like LoFTR or SuperPoint+LightGlue resulted in consistent improvements in the Area Under the Curve (AUC) for pose estimation. The MOP filter is particularly effective at increasing precision, ensuring that the matches retained for reconstruction are geometrically consistent.
Limitations
While effective, the framework introduces computational overhead. Due to the iterative nature of RANSAC, processing times range from 1 to 7 seconds per image pair. This makes the current implementation more suitable for offline 3D reconstruction than for real-time robotics. Additionally, the refinement step can cause "keypoint drift," where a single point in one image is refined to slightly different locations when matched against multiple other views, potentially complicating track consistency in SfM pipelines.
Conclusion
This work demonstrates that classical geometric constraints remain a potent tool in the age of deep learning. By treating geometry as a strong prior, the MOP+MiHo+NCC framework provides a modular way to enhance the reliability of image matching. Future work may involve integrating these handcrafted geometric modules directly into deep architectures to combine the interpretability of geometry with the representational power of neural networks.
Summary updated