Giter Site home page Giter Site logo

anyashka / asv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shamangary/asv

0.0 1.0 0.0 834.64 MB

Accumulated Stability Voting

License: Apache License 2.0

MATLAB 31.11% C 53.88% C++ 1.00% Makefile 2.47% HTML 5.84% CSS 1.20% Python 2.84% Clean 0.25% TeX 0.25% Shell 0.06% Roff 0.41% Objective-C 0.68%

asv's Introduction

ASV

Accumulated Stability Voting

ASV Demo Code
Version: 1 (2016/3/11)

All rights reserved.

Code author: Tsun-Yi Yang
Email: [email protected]
Project page: http://shamangary.logdown.com/posts/587520
Paper: [CVPR16] Accumulated Stability Voting: A Robust Descriptor from Descriptors of Multiple Scales

If you use the code, please cite the paper.
If any bug is found, please email me.
You may use the code for academic study.
However, using the provided code for commercial purpose is forbidden.

Tested platform:
Ubuntu 12.04 LTS (I do not test the code on Windows or Mac.)
Matlab R2012b


================================================
How to use the code? Step-by-step procedure: (very simple)

For each dataset (Oxford/Fischer), you need to run the following command seperately.

  1. run "extractSIFT.m"
    run "extractDSP.m"
    run "extractASV.m"
    run "extract1M2M.m"

The extraction of the whole dataset might take minutes.
Once its done, you don't have to do it again
unless you need to change the parameters of the descriptors.

  1. run "TYY_evaluation_des.m" by using desType = 1, isSave = 1
    run "TYY_evaluation_des.m" by using desType = 2, isSave = 1
    run "TYY_evaluation_des.m" by using desType = 3, isSave = 1
    run "TYY_evaluation_des.m" by using desType = 4, isSave = 1

  2. run "showResults", you should change desType1 and desType2
    to see the results comparison.

================================================


Library: (attached, you don't need to download it again)
Vlfeat library 0.9.18
http://www.vlfeat.org/
Vlfeat benchmark library (slightly modified)
http://www.vlfeat.org/benchmarks/overview/repeatability.html


Dataset: (attached, you don't need to download it again)
Oxford dataset
http://www.robots.ox.ac.uk/~vgg/data/data-aff.html
Fischer dataset
http://lmb.informatik.uni-freiburg.de/resources/datasets/genmatch.en.html


Evaluation:
Precision-recall curve
Mean average precision
Head-to-head comparison
Total correct matches


Baseline:
SIFT
DSP-SIFT
http://vision.ucla.edu/~jingming/proj/dsp/


Proposed Method:
Accumulated Stability Voting

  1. ASV(1S)-SIFT:
    Only apply first stage single threshold (median threshold),
    the output are real-valued descriptors.

  2. ASV(1M2M)-SIFT:
    Apply two stage multi-thresholds procedure, the number
    of threshold is tunable. The output are binary descriptors.

You may also choose different descriptors and apply ASV on them.
ASV-LIOP
ASV-PATCH

================================================
Important function:

  1. extract.m
    This function control the parameters of vlfeat covariant
    detection function "vl_covdet.m"

The keypoints are sorted by the returned peak scores. (important!)

Default setting: (important!)
-> peakthreshold = 0.001
-> doubleimage = 'true'
-> estimateorientation = 'true'
-> estimateaffineshape = 'true'


  1. vl_dspcovsift.m
    A slightly modified version from DSP-SIFT.
    (Original code didnt use affine approximated detector.)
    [CVPR15] Domain-Size Pooling in Local Descriptors: DSP-SIFT
    http://vision.ucla.edu/~jingming/proj/dsp/

You also need the following mex file to run the DSP function.
-> mexNormalizeHistogramChar.mexa64

  1. vl_asvcovdet.m (OUTPUT real-valued descriptor)
    A function to extract ASV(1S)-SIFT.
    The function only applies first stage single threshold (median threshold),
    and the output are real-valued descriptors.
    You only need vlfeat library to run this function.

  2. vl_asv1m2mcovdet.m (OUTPUT binary descriptor)
    A function to extract ASV(1M2M)-SIFT.
    The function applies two stage multi-thresholds procedure,
    the number of threshold is tunable.
    The output are binary descriptors.
    You only need vlfeat library to run this function.

asv's People

Contributors

shamangary avatar anyashka avatar

Watchers

 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.