Giter Site home page Giter Site logo

swoonge / mdgat-matcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nubot-nudt/mdgat-matcher

0.0 0.0 0.0 93.79 MB

[RAL] Keypoint Matching for Point Cloud Registration Using Multiplex Dynamic Graph Attention Networks

License: MIT License

Python 100.00%

mdgat-matcher's Introduction

MDGAT-matcher for 3D point cloud registration

This repo contains the code for our RAL2021 paper, Keypoint Matching for Point Cloud Registration Using Multiplex Dynamic Graph Attention Networks. [IEEE]

In this paper, we propose a novel and flexible graph network architecture to tackle the keypoint matching problem in an end-to-end fashion. This repo includes PyTorch code for training and testing out MDGAT-matcher network on top of USIP keypoints and FPFH descriptors.

demo

Publication

If you use our implementation in your academic work, please cite the corresponding paper:

@ARTICLE{shi2021ral,
  author={Shi, Chenghao and Chen, Xieyuanli and Huang, Kaihong and Xiao, Junhao and Lu, Huimin and Stachniss, Cyrill},
  journal={IEEE Robotics and Automation Letters}, 
  title={Keypoint Matching for Point Cloud Registration Using Multiplex Dynamic Graph Attention Networks}, 
  year={2021},
  volume={6},
  number={4},
  pages={8221-8228},
  doi={10.1109/LRA.2021.3097275}}

Dependencies

This repo is implemented under Pytorch. For the Pytorch version

  • Pytorch Installation guide: link

  • Python Dependencies (the requirements file provides the version used in our experiments, it may also work with different versions)

    sudo -H pip3 install -r requirements.txt
    

Training and Test

Our method runs on top of detected keypoints and initial descriptors. In our experiment, we use USIP keypoionts and FPFH descriptor. Before training and test, one need to pre-extract the features on point cloud and generate the ground truth. One can follow USIP to generate your own keypoints and descriptors.

One can also download the our generated features used in our experiments.

For mainland China friends, you may use a faster link, extract code: 08xs.

Put the files in the ./KITTI directory, then you are ready to use our model.

Train

To train the network with default parameters, run the following command:

python3 train.py

Test

For quick test, we provide a pre-trained model in ./pre-trained. To reproduce the results of this paper, run the following command:

python3 test.py

We also provide another script 'test_registration_metric.py' following common practice[1,2]. Run the following command:

python3 test_registration_metric.py

Visualization Demo

The true matches are colored by green, the false match are colored by red, and the keypoints are represented as red dot.

License

This project is free software made available under the MIT License. For details see the LICENSE file.

References

[1] D3Feat: Joint Learning of Dense Detection and Description of 3D Local Features, Xuyang Bai, Zixin Luo, Lei Zhou, Hongbo Fu, Long Quan and Chiew-Lan Tai, CVPR 2020.

[2] Fully Convolutional Geometric Features, Christopher Choy and Jaesik Park and Vladlen Koltun, ICCV 2019.

[3] Superglue: Learning feature matching with graph neural networks, P.E. Sarlin, D. Detone, T. Malisiewicz, and A. Rabinovich, CVPR 2020

[4] Usip: Unsupervised stable interest point detection from 3d point clouds, J.X. Li and G.H. Lee, ICCV 2019

mdgat-matcher's People

Contributors

chen-xieyuanli avatar chenghao-shi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.