使用Lowe'时出错;基于macosx的SIFT-Matlab程序
我正试图在我的Mac上使用David Lowe在Matlab中的SIFT的Matlab演示 但我不断地犯错误:使用Lowe'时出错;基于macosx的SIFT-Matlab程序,macos,matlab,sift,binaries,Macos,Matlab,Sift,Binaries,我正试图在我的Mac上使用David Lowe在Matlab中的SIFT的Matlab演示 但我不断地犯错误: [image, desc, locations] = sift('book.pgm') /bin/bash: ./sift: cannot execute binary file Error using sift (line 57) Invalid keypoint file beginning. 我已经执行了makefile,但问题仍然存在 注意:我使用的是Matlab8.4.0
[image, desc, locations] = sift('book.pgm')
/bin/bash: ./sift: cannot execute binary file
Error using sift (line 57)
Invalid keypoint file beginning.
我已经执行了makefile,但问题仍然存在
注意:我使用的是Matlab8.4.0
非常感谢您的帮助!谢谢。这不是matlab的问题。 提供给您的sift版本不适用于OSX。 你可以通过跑步来保证这一点
文件筛选
结果很可能是:
sift:ELF 32位LSB可执行文件,英特尔80386,版本1(SYSV),动态链接(使用共享库),适用于GNU/Linux 2.2.5,未剥离
只是在解决同一个问题时偶然发现了您的问题-Matlab、Lowe的SIFT和OSX
Lowe()中的原始文件没有OSX版本。只有Linux/Win
目前,我看到了两种可能的解决方案:
- 为OSX编译Lowe的sift(搜索一段时间表明源代码与linux/win紧密绑定)
- 试着换一个。喜欢,或者重写MATLAB包装器代码
请记住,使用外部bin生成密钥文件(整个MATLAB都是这样使用的)需要检查密钥文件格式的对应关系。()