Configuring Vlfeat in MATLAB

Source: Internet
Author: User

"Turn from" http://cnyubin.com/?p=85

In the Vlfeat official online is so introduced vlfeat: Vlfeat Open Source Library to achieve a lot of famous machine vision algorithms, such as HOG, SIFT, Mser, K-means, Hierarchical K-means, agglomerative information bottleneck, SLIC superpixels, and quick shift. the Vlfeat Open Source Library is written in C to ensure its efficiency and compatibility, while Vlfeat also provides a MATLAB interface and detailed documentation. It can be used on Windows, MAC, and Linux.

To the Vlfeat, the following describes how to configure the Mathlab in:

First things to be prepared:
1. Matlab software (I use the Mathlab is 2013b trial version)
2. vlfeat file, can be binary package, can also be the source code. Binary packages are recommended when using the Windows platform.
Binary packages can be downloaded from the official website, or can be downloaded from my personal Web drive:
Website address: http://www.vlfeat.org/download/vlfeat-0.9.18-bin.tar.gz
My personal network address: Http://pan.baidu.com/s/1c0zPSqs

Second, installation
1. Unzip the downloaded binary package to a location, such as a d:\ disk
2. Open matlab and enter edit startup.m to create the startup file startup.m
3. Edit the content in startup.m (note that if you install vlfeat in a different place, you will need to change the following "D:\" to the address you installed):

Run (' D:\vlfeat-0.9.18\toolbox\vl_setup ')

4. Save and close the startup.m file, re-open the MATLAB program, the installation is successful (after successful installation, you cannot delete the Vlfeat unpacked folder, because Vl_setup just add vlfeat Toolbox address to the MATLAB path inside, Enables MATLAB to use Vlfeat Toolbox)

Third, verify the installation
There are two ways to see if the installation was successful:
1. Enter path in MATLAB to find the address of Vlfeat Toolbox saved in Path (as shown):

2. Enter vl_version in MATLAB to get the Vlfeat version number (as shown):

Iv. Possible errors
A classmate reflects that after editing the startup.m file and restarting Matlab, the Run command in STARTUP.M is not executed. In this connection, it may be because the startup.m file is not in the original path. So that MATLAB does not find the startup.m file when it starts. There are two solutions:
1. In MATLAB, in the Environment tab, select the SetPath option to include the folder where the startup.m file is located in path.
2. Copy (or cut) the startup.m file directly to the original path path.

Configuring Vlfeat in MATLAB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.