Home

Awesome

DGC-Net: Dense Geometric Correspondence Network

This is a PyTorch implementation of our work "DGC-Net: Dense Geometric Correspondence Network"

TL;DR A CNN-based approach to obtain dense pixel correspondences between two views.

License

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, available only for non-commercial use.

CC BY-NC-SA 4.0

Installation

conda create -n my_fancy_env python=3.7
source activate my_fancy_env
pip install torch torchvision
pip install -r requirements.txt

Getting started

Performance on HPatches dataset

Method / HPatches IDViewpoint 1Viewpoint 2Viewpoint 3Viewpoint 4Viewpoint 5
PWC-Net4.4311.4415.4720.1728.30
GM best model9.5918.5521.1527.8335.19
DGC-Net (paper)1.555.538.9811.6616.70
DGCM-Net (paper)2.976.859.9512.8719.13
DGC-Net (repo)1.745.889.0712.1416.50
DGCM-Net (repo)2.335.629.5511.5916.48

Note: There is a difference in numbers presented in the original paper and obtained by the models of this repo. It might be related to the fact that both models (DGC-Net and DGCM-Net) have been trained using Pytorch v0.3.

More qualitative results are presented on the project page

How to cite

If you use this software in your own research, please cite our publication:

@inproceedings{Melekhov+Tiulpin+Sattler+Pollefeys+Rahtu+Kannala:2018,
      title = {{DGC-Net}: Dense geometric correspondence network},
      author = {Melekhov, Iaroslav and Tiulpin, Aleksei and 
               Sattler, Torsten, and 
               Pollefeys, Marc and 
               Rahtu, Esa and Kannala, Juho},
       year = {2019},
       booktitle = {Proceedings of the IEEE Winter Conference on 
                    Applications of Computer Vision (WACV)}
}