User:Lmyanglei
Wikipedia,自由的百科全书
18:02 2009年9月25日的修订版本 Lmyanglei (Talk | 贡献) ← Previous diff |
18:03 2009年9月25日的修订版本 Lmyanglei (Talk | 贡献) Next diff → |
||
第 1行: | 第 1行: | ||
== 编译Rob Hess基于OpenCV的SIFT算法的C语言实现 == | == 编译Rob Hess基于OpenCV的SIFT算法的C语言实现 == | ||
- | == 1 开发平台 == | + | == 开发平台 == |
(1)Microsoft Visual Studio 2005<br /> | (1)Microsoft Visual Studio 2005<br /> | ||
第 13行: | 第 13行: | ||
这里用的是:sift-latest_win.zip;<br /> | 这里用的是:sift-latest_win.zip;<br /> | ||
- | == 2 平台安装 == | + | == 平台安装 == |
(1)安装OpenCV1.0<br /> | (1)安装OpenCV1.0<br /> | ||
第 29行: | 第 29行: | ||
[[Image:sift-9.png]] | [[Image:sift-9.png]] | ||
- | == 3 配置Windows环境变量 == | + | == 配置Windows环境变量 == |
请参考:<br /> | 请参考:<br /> | ||
第 36行: | 第 36行: | ||
[[Image:sift-10.png]] | [[Image:sift-10.png]] | ||
- | == 4 配置VC 2005 == | + | == 配置VC 2005 == |
请参考:<br /> | 请参考:<br /> |
18:03 2009年9月25日的修订版本
目录 |
编译Rob Hess基于OpenCV的SIFT算法的C语言实现
开发平台
(1)Microsoft Visual Studio 2005
(2)OpenCV 1.0
下载地址:http://www.opencv.org.cn/download/OpenCV_1.0.exe
(3) Gsl 1.8
下载地址:http://jaist.dl.sourceforge.net/project/gnuwin32/gsl/1.8/gsl-1.8.exe
这里用的是:gsl-1.8.exe;
(3) Rob Hess的SIFT算法在VC.net下实现
下载地址:http://web.engr.oregonstate.edu/%7Ehess/downloads/sift/sift-latest_win.zip
这里用的是:sift-latest_win.zip;
平台安装
(1)安装OpenCV1.0
请参考:
http://www.opencv.org.cn/index.php/VC_2005_Express%E4%B8%8B%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE
(2)安装Gsl1.8
配置Windows环境变量
请参考:
http://www.opencv.org.cn/index.php/VC_2005_Express%E4%B8%8B%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE
同时,检查C:\Program Files\GnuWin32\bin是否已经被加入到环境变量PATH,如果没有,请加入。
配置VC 2005
请参考:
http://www.opencv.org.cn/index.php/VC_2005_Express%E4%B8%8B%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE
同时
打开VC 2005,选择菜单:Tools -> Options
在弹出窗口中选择Projects and Solutions -> VC++ Directories
首先,从“Show Directories for”的list box中选择“Library files”
假设Gsl安装于“C:\Program Files\GnuWin32”
在库文件列表中,定位并添加:
C:\Program Files\GnuWin32\lib
在Include Files中添加
C:\Program Files\GnuWin32\include