AffineGlue: Joint Matching and Robust Estimation
Daniel Barath, Dmytro Mishkin, Luca Cavalli, Paul-Edouard Sarlin, Petr Hruby, Marc Pollefeys
TL;DR
AffineGlue addresses the challenge of jointly matching features and estimating two-view geometry by replacing exhaustive one-to-one matching with one-to-many correspondences and single-point minimal solvers. A key innovation is the 1AC-based minimal solvers, including a new homography solver that exploits a known gravity direction, and a neural network (NeFSAC) that reweights ACs by their likelihood of yielding a good model. The method couples NextBestMatch, guided matching, and local optimization to keep the search space tractable while maintaining accuracy, achieving state-of-the-art performance on PhotoTourism and competitive results on ScanNet, HPatches, and LoFTR-like baselines. The approach significantly improves robustness to matching ambiguities and demonstrates practical runtimes, with potential for integration with affine-aware feature pipelines in the future.
Abstract
We propose AffineGlue, a method for joint two-view feature matching and robust estimation that reduces the combinatorial complexity of the problem by employing single-point minimal solvers. AffineGlue selects potential matches from one-to-many correspondences to estimate minimal models. Guided matching is then used to find matches consistent with the model, suffering less from the ambiguities of one-to-one matches. Moreover, we derive a new minimal solver for homography estimation, requiring only a single affine correspondence (AC) and a gravity prior. Furthermore, we train a neural network to reject ACs that are unlikely to lead to a good model. AffineGlue is superior to the SOTA on real-world datasets, even when assuming that the gravity direction points downwards. On PhotoTourism, the AUC@10° score is improved by 6.6 points compared to the SOTA. On ScanNet, AffineGlue makes SuperPoint and SuperGlue achieve similar accuracy as the detector-free LoFTR.
