📄 sift_compile.m
字号:
function sift_compile(type)% SIFT_COMPILE Compile MEX files% Compiling under Windows requires at least Visual C 6 or LCC. You% might try other compilers, but most likely you will need to edit% this file.siftroot = fileparts(which('siftcompile')) ;opts = { '-O', '-I.', '-g' } ;%opts = { opts{:}, '-v' } ;if nargin < 1 type = 'visualc' ;endswitch computer case 'PCWIN' opts = {opts{:}, '-DWINDOWS'} ; case 'MAC' opts = {opts{:}, '-DMACOSX'} ; opts = {opts{:}, 'CFLAGS=\$CFLAGS -faltivec'} ; case 'IMAC' opts = {opts{:}, '-DMACOSX'} ; case 'GLNX86' opts = {opts{:}, '-DLINUX' } ; otherwise error(['Unsupported architecture ', computer, '. Please edit this M-mfile to fix the issue.']) ; endmex('imsmooth.c',opts{:}) ;mex('siftlocalmax.c',opts{:}) ;mex('siftrefinemx.c',opts{:}) ;mex('siftormx.c',opts{:}) ;mex('siftdescriptor.c',opts{:}) ;mex('siftmatch.c',opts{:}) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -