⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sift_compile.m

📁 sift的matlab代码
💻 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 + -