IME provides to test any feature matching algorithm on datasets containing ground-truth homographies.
Also, one can reproduce the results given in our paper Effect of Parameter Optimization on Classical and Learning-based Image Matching Methods published in ICCV 2021 TradiCV Workshop.
Classical | Learning-Based |
---|---|
SIFT | SuperPoint |
SURF | SuperGlue |
ORB | Patch2Pix |
KAZE | DFM |
AKAZE |
This repository is created using Anaconda.
Open a terminal in the IME folder and run the following commands;
- Run bash script to create environment for IME, download algorithms and datasets
bash install.sh
- Activate the environment
conda activate ime
- Run IME!
python3 main.ipy
Well done, you can find results on Results folder :)
-
For DFM algorithm you can arrange ratio test threshold using DFM/python/algorithm_wrapper_util.py by changing ratio_th (default = [0.9, 0.9, 0.9, 0.9, 0.95, 1.0]).
For all classical algorithms you can arrange ratio test threshold by changing the ratio parameter of mnn_ratio_matcher function in algorithm_wrapper_util.py for each algortihm.
For SuperPoint again you should change ratio parameter of mnn_ratio_matcher function in algorithm_wrapper.py
For Patch2Pix you should change io_thres parameter in algorithm_wrapper_util.py
-
Use get_names.py to select algorithms and datasets.
-
You can put your own algorithm on Algorithm folder to evaluate with creating a wrapper with the same format. This wrapper should output the matched pixel positions between two images using the selected algorithm.
-
You can put your own dataset on Dataset folder to evaluate by arranging the proper format. Dataset should be in the form of Dataset/subset/subsubset/
We provide the results given in our paper in ICCV_Results folder. To reproduce the results, you can run an experiment for a specific ratio test or confidence threshold and copy the results in the relevant ratio threshold folder in hpatches_classical or hpatches_deep folder. Then, you can run rt_fig.py and auc_fig.py scripts to save and view the figures.
Algorithms to be added:
Datasets to be added:
Please cite our paper if you use the code:
@InProceedings{Efe_2021_ICCV,
author = {Efe, Ufuk and Ince, Kutalmis Gokalp and Alatan, Aydin},
title = {Effect of Parameter Optimization on Classical and Learning-based Image Matching Methods},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops},
month = {October},
year = {2021},
}