MESA: Matching Everything by Segmenting Anything
Yesheng Zhang, Xu Zhao
TL;DR
MESA addresses feature-matching redundancy by restricting dense comparisons to SAM-segmented image areas and formalizing area matching on a new multi-relational Area Graph. By deriving an Area Markov Random Field (AMRF) and an Area Bayesian Network (ABN), and solving via Graph Cut with a global energy refinement, MESA achieves precise area correspondences and improves downstream pose estimation for both indoor and outdoor tasks. The approach yields substantial gains across semi-dense and dense matchers (e.g., up to +15.3% AUC@5° indoor and +13.6% indoor for DKM), validating the practical impact of area-level matching. Despite higher runtime, the method demonstrates robust performance and clear directions for speeding up via SAM feature distillation and parallelization, making area-aware matching a viable pre-step for high-precision visual localization and navigation.
Abstract
Feature matching is a crucial task in the field of computer vision, which involves finding correspondences between images. Previous studies achieve remarkable performance using learning-based feature comparison. However, the pervasive presence of matching redundancy between images gives rise to unnecessary and error-prone computations in these methods, imposing limitations on their accuracy. To address this issue, we propose MESA, a novel approach to establish precise area (or region) matches for efficient matching redundancy reduction. MESA first leverages the advanced image understanding capability of SAM, a state-of-the-art foundation model for image segmentation, to obtain image areas with implicit semantic. Then, a multi-relational graph is proposed to model the spatial structure of these areas and construct their scale hierarchy. Based on graphical models derived from the graph, the area matching is reformulated as an energy minimization task and effectively resolved. Extensive experiments demonstrate that MESA yields substantial precision improvement for multiple point matchers in indoor and outdoor downstream tasks, e.g. +13.61% for DKM in indoor pose estimation.
