• 大小: 1.2MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-30
  • 语言: Matlab
  • 标签: sift  matlab  

资源简介

sift算法,matlab精细解释,每一步都有,都能查看源码,看操作过程和sift原理是否一致,很值得学习

资源截图

代码片段和文件信息


% This m-file demoes the usage of SIFT functions. It generates SIFT keypionts and descriptors for one input image. 
% Author: Yantao Zheng. Nov 2006.  For Project of CS5240


% Add subfolder path.
main; 

img1_dir = ‘F:\FPGA_Sift\Sift_code\SIFT_Matlab_20130610074202\SIFT_YantaoNoemie\demo-data\‘;

img1_file = ‘object0024.view03.png‘;

I1=imreadbw([img1_dir img1_file]) ; 
I1_rgb = imread([img1_dir img1_file]) ; 
I1=imresize(I1 [240 320]);

I1_rgb =imresize(I1_rgb [240 320]);
I1=I1-min(I1(:)) ;
I1=I1/max(I1(:)) ;

%fprintf(‘CS5240 -- SIFT: Match image: Computing frames and descriptors.\n‘) ;
[frames1descr1gss1dogss1] = do_sift( I1 ‘Verbosity‘ 1 ‘NumOctaves‘ 4 ‘Threshold‘  0.1/3/2 ) ; %0.04/3/2



figure(11) ; clf ; plotss(dogss1) ; colormap gray ;
drawnow ;

figure(2) ; clf ;
imshow(I1_rgb) ; axis image ;

hold on ;
h=plotsiftframe( frames1 ) ; set(h‘LineWidth‘1‘Color‘‘g‘) ;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-09 14:30  SIFT_YantaoNoemie\
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\demo-data\
     文件       14060  2003-02-17 17:45  SIFT_YantaoNoemie\demo-data\image068.JPG
     文件       13579  2003-02-17 17:45  SIFT_YantaoNoemie\demo-data\image069.JPG
     文件      578897  2003-04-25 15:36  SIFT_YantaoNoemie\demo-data\object0024.view01.png
     文件      574557  2003-04-25 15:36  SIFT_YantaoNoemie\demo-data\object0024.view03.png
     文件       71680  2006-11-20 14:22  SIFT_YantaoNoemie\demo-data\Thumbs.db
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\descriptor\
     文件        5290  2006-11-17 16:25  SIFT_YantaoNoemie\descriptor\do_descriptor.m
     文件         935  2016-05-06 19:04  SIFT_YantaoNoemie\do_demo_1.m
     文件        2126  2006-11-20 13:20  SIFT_YantaoNoemie\do_demo_2.asv
     文件        1275  2016-05-09 11:12  SIFT_YantaoNoemie\do_demo_2.m
     文件        1171  2006-11-20 14:18  SIFT_YantaoNoemie\do_demo_3.m
     文件        1186  2006-11-20 15:30  SIFT_YantaoNoemie\do_demo_4.m
     文件        4879  2006-11-20 14:55  SIFT_YantaoNoemie\do_match.m
     文件        3972  2006-11-20 14:06  SIFT_YantaoNoemie\do_sift.m
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\key-location\
     文件        3799  2006-11-15 17:16  SIFT_YantaoNoemie\key-location\do_extrefine.m
     文件        1992  2006-11-17 20:23  SIFT_YantaoNoemie\key-location\do_localmax.asv
     文件        1991  2006-11-17 20:26  SIFT_YantaoNoemie\key-location\do_localmax.m
     文件         140  2006-05-04 11:43  SIFT_YantaoNoemie\main.m
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\match\
     文件        4748  2006-11-15 15:36  SIFT_YantaoNoemie\match\do_match.asv
     文件        4879  2006-11-20 14:55  SIFT_YantaoNoemie\match\do_match.m
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\orientation\
     文件        2366  2006-11-17 13:55  SIFT_YantaoNoemie\orientation\do_orientation.m
     文件        2387  2006-11-20 14:33  SIFT_YantaoNoemie\README.txt
     文件        2387  2006-11-20 14:11  SIFT_YantaoNoemie\README.txt.bak
     目录           0  2016-05-09 10:26  SIFT_YantaoNoemie\scale-space\
     文件         464  2006-11-14 22:56  SIFT_YantaoNoemie\scale-space\do_diffofg.m
     文件        2639  2006-11-14 22:58  SIFT_YantaoNoemie\scale-space\do_gaussian.m
............此处省略10个文件信息

评论

共有 条评论