yingxin-jia/SuperGlue-pytorch

[SuperGlue: Learning Feature Matching with Graph Neural Networks] This repo includes PyTorch code for training the SuperGlue matching network on top of SIFT keypoints and descriptors.

What it solves

SuperGlue addresses the challenge of matching keypoints between two different images. It identifies corresponding points across images while accounting for constraints like occlusions or missing data, where some points may not have a valid match.

How it works

The project uses a Graph Neural Network (GNN) combined with an Optimal Matching layer. It processes sparse image features to perform context aggregation, matching, and filtering in a single end-to-end architecture. This specific implementation is designed to support the integration of Physarum Dynamics, a fast linear programming solver that can replace the standard Sinkhorn algorithm used in the original SuperGlue architecture.

Who it’s for

This repository is for researchers and developers working on computer vision tasks who need a PyTorch-based implementation of the SuperGlue matching network, particularly those interested in experimenting with alternative optimization layers like Physarum Dynamics.

Highlights

  • Provides a complete PyTorch implementation of the SuperGlue matching network.
  • Includes scripts for training the model and preparing image data.
  • Supports the use of SIFT keypoints and descriptors.
  • Features built-in visualization tools to display matches with confidence-based color coding.
  • Designed to facilitate the use of Physarum Dynamics as an efficient linear programming solver.

Related

  • Project
  • Project
  • Project
  • Project