FlexGlue is a neural network that matches points between two images and can also assess whether the images belong together at all. The approach targets a problem in methods for Structure-from-Motion and visual localization: finding correspondences is not enough if a system cannot reliably reject visually similar but unrelated images.
According to the authors, existing methods use either a small set of selected image points or dense pixel grids. Sparse methods are efficient but depend on distinctive points being repeatable across images. Dense methods are considered robust, but require more computation. The described approaches are also often trained only on matching image pairs, which can make it difficult to reject unrelated pairs that exhibit visual symmetries.
FlexGlue takes point coordinates from the first image and estimates their counterparts in the second. It searches dense pixels for only a limited set of correspondences. The aim is to combine the sub-pixel accuracy of dense matching with the speed of sparse methods, while rejecting incorrect image pairs with high precision.
Experiments on multiple datasets reportedly improve relative pose estimation; the researchers say FlexGlue significantly outperforms existing approaches for Structure-from-Motion and visual localization. The project code is publicly available on GitHub. The arXiv page provides the original paper: arXiv: FlexGlue