These instructions explain how to setup VLFeat in MATLAB (at least 2009B) using the binary distribution (it is also possible to compile the library and toolbox from source, including running on earlier MATLAB versions by disabling some features such as OpenMP support).
Download and unpack the latest
VLFeat binary distribution in a directory of your choice
(e.g. ~/src/vlfeat
). Let VLFEATROOT
denote
this directory. VLFeat must be added to MATLAB search path by running
the vl_setup
command found in
the VLFEATROOT/toolbox
directory. From MATLAB prompt
enter
To check that VLFeat is sucessfully installed, try to run
the vl_version
command:
To permanently add VLFeat to your MATLAB environment, add this line
to your
startup.m
file:
When you restart MATLAB, you should see the VLFeat greeting message.
All commands embed interface documentation that can be viewed with
the
builtin help
command (e.g. help vl_sift
).
VLFeat bundles a large number of demos. To use them, add the demo
path with vl_setup demo
. For example, a sift demo
vl_demo_sift_basic
can be run using the following:
To see a list of demos TAB-complete vl_demo
at MATLAB
prompt, after running vl_setup demo
.