您的位置:首页 > Web前端

BDFeatureMatch_yalmip_vlfeat

2015-08-06 17:36 369 查看
看了一篇文章"Feature Matching with bounded distortion'', 尝试实现里面的方法:

MATLAB 2012b

共需要以下几个工具:

1. 作者主页提供的http://www.wisdom.weizmann.ac.il/~ylipman/工具包BDFeatureMatch

2. vlfeat工具包http://vision.ucla.edu/~vedaldi/code/siftpp.html

3. YALMIP工具包http://users.isy.liu.se/johanl/yalmip/

 

vlfeat配置方法:

a. 将所下载的二进制包解压缩到某个位置,如D:\盘

b. 打开matlab,输入edit startup.m创建启动文件startup.m

c. 在startup.m中编辑发下内容:

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


并运行。

4. 保存并关闭startup.m文件,重新打开matlab程序,安装即成功(安装成功后,不能删除vlfeat解压后的文件夹,因为vl_setup只是将vlfeat的toolbox的地址加到matlab的path里面,使得matlab可以使用vlfeattoolbox)

(3)验证安装
可以通过以下两种方式查看是否安装成功:

1. 在matlab中输入path,可以发现在path中保存了vlfeat
toolbox的地址:

2. 在matlab中输入vl_version,可以得到vlfeat的版本号.

YALMIP配置方法:

YALMIP is entirely based on m-code, and is thus easy to install. Remove any old version of YALMIP, unzip the file

YALMIP.zip and add the following directories to your MATLAB path

/yalmip
/yalmip/extras
/yalmip/demos
/yalmip/solvers
/yalmip/modules
/yalmip/modules/parametric
/yalmip/modules/moment
/yalmip/modules/global
/yalmip/modules/sos
/yalmip/operators
A lazy way to do this is addpath(genpath(yalmiprootdirectory))
点击E:\DistortMatchingProgram\BDFeatureMatch\BDFeatureMatch中的demo.m就可以工作了。

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: