https://github.com/JiawangBian/GMS-Feature-Matcher
Revision fac84b08b6eeaab17842780a1a51022d22bc2e31 authored by JiaWang Bian on 23 April 2017, 01:54:27 UTC, committed by GitHub on 23 April 2017, 01:54:27 UTC
1 parent 8a9b34e
Tip revision: fac84b08b6eeaab17842780a1a51022d22bc2e31 authored by JiaWang Bian on 23 April 2017, 01:54:27 UTC
Update README.md
Update README.md
Tip revision: fac84b0
README.md
# GMS: Grid-based Motion Statistics for Fast, Ultra-robust Feature Correspondence
![alt tag](http://mmcheng.net/wp-content/uploads/2017/03/dog_ours.jpg)
Abstract
Incorporating smoothness constraints into feature matching is known to enable ultra-robust matching. However, such formulations are both complex and slow, making them unsuitable for video applications. This paper proposes GMS (Grid-based Motion Statistics), a simple means of encapsulating motion smoothness as the statistical likelihood of a certain number of matches in a region. GMS enables translation of high match numbers into high match quality. This provides a real-time, ultra-robust correspondence system. Evaluation on videos, with low textures, blurs and wide-baselines show GMS consistently out-performs other real-time matchers and can achieve parity with more sophisticated, much slower techniques.
Paper
GMS: Grid-based Motion Statistics for Fast, Ultra-robust Feature Correspondence JiaWang Bian, Daniel Lin, Yasuyuki Matsushita, Sai-Kit Yeung, Tan Dat Nguyen, Ming-Ming Cheng IEEE CVPR, 2017 [[Project Page](http://jwbian.net/gms)] [[pdf](http://jwbian.net/Papers/GMS_CVPR17.pdf)] [[Code](https://github.com/JiawangBian/GMS-Feature-Matcher)] [[Video Demo](http://jwbian.net/Demo/gms_matching_demo.mp4)]
Citation
If you use the code in your publication, please cite our paper.
Matching Demo
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://youtu.be/3SlBqspLbxI)
Environment:
The code can run on Windows, Linux, and Mac.
Requirement:
1.OpenCV 3.0 or later (for IO and ORB features, necessary)
2.cudafeatures2d module(for gpu nearest neighbor, optional)
How to run:
Image pair demo and video demo in demo.cpp.
(Note: Please use gpu match when you run video demo.)
Tune Parameters:
In Main.cpp
1.#define USE_GPU" will need gpu cudafeatures2d module for nearest neighbor match,
using cpu match by commenting it.
In GMS.h
2. #define LocalTheshold 1 // Chosing threshold has two ways : global and local
1 for local threshold, 0 for global threshold;
3. #define TreshFactor 6 // factor for calculating threshold
The higher, the less matches, vice verse
4. GMS::setParameter(int num1, int num2 )
The grid number = num * num for left and right image.
num = 20 is a normal option.
5. GMS::getInlier(int withRS)
0 means no ration and no scale version (default)
1 means with rotatio and scale change. (may better but slower)
Computing file changes ...