• 大小: 1.23MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-16
  • 语言: Matlab
  • 标签: 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; 
clc;
clear;

img1_dir = ‘demo-data\‘;

img1_file = ‘beaver11.bmp‘;

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(:)) ; %图像插值缩放可能产生值超出0-1的范围的像素
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(1) ; 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‘) ;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     189956  2009-09-30 09:59  SIFT代码\demo-data\beaver11.bmp

     文件     189956  2009-09-30 10:10  SIFT代码\demo-data\beaver13.bmp

     文件      14060  2003-02-17 17:45  SIFT代码\demo-data\image068.JPG

     文件      13579  2003-02-17 17:45  SIFT代码\demo-data\image069.JPG

     文件     578897  2003-04-25 15:36  SIFT代码\demo-data\view01.png

     文件     574557  2003-04-25 15:36  SIFT代码\demo-data\view02.png

     文件       5423  2010-06-03 10:31  SIFT代码\descriptor\do_descriptor.asv

     文件       5412  2010-06-03 10:53  SIFT代码\descriptor\do_descriptor.m

     文件        949  2010-05-30 10:22  SIFT代码\do_demo_1.m

     文件       1156  2010-05-19 11:41  SIFT代码\do_demo_2.m

     文件       1171  2006-11-20 14:18  SIFT代码\do_demo_3.m

     文件       1168  2010-05-19 11:43  SIFT代码\do_demo_4.m

     文件       3816  2010-06-03 15:10  SIFT代码\do_sift.m

     文件       4330  2014-04-04 19:51  SIFT代码\key-location\do_extrefine.asv

     文件       4322  2010-06-03 15:04  SIFT代码\key-location\do_extrefine.m

     文件       2133  2010-05-30 16:30  SIFT代码\key-location\do_localmax.m

     文件        140  2006-05-04 11:43  SIFT代码\main.m

     文件       5001  2014-03-28 14:49  SIFT代码\match\do_match.asv

     文件       5001  2014-03-28 14:59  SIFT代码\match\do_match.m

     文件       2505  2010-05-31 16:43  SIFT代码\orientation\do_orientation.m

     文件       2400  2014-03-28 14:49  SIFT代码\README.asv

     文件       2400  2014-03-28 14:53  SIFT代码\README.txt

     文件        464  2006-11-14 22:56  SIFT代码\scale-space\do_diffofg.m

     文件       2964  2010-05-30 15:28  SIFT代码\scale-space\do_gaussian.m

     文件        215  2006-11-14 22:59  SIFT代码\scale-space\smooth.m

     文件       1698  2010-05-18 21:53  SIFT代码\sift_demo.m

     文件        359  2006-11-15 13:53  SIFT代码\util\appendimages.m

     文件        301  2006-11-16 14:07  SIFT代码\util\imreadbw.m

     文件       1812  2010-06-03 15:22  SIFT代码\util\plotsiftframe.m

     文件        640  2006-11-20 15:19  SIFT代码\util\plotss.m

............此处省略12个文件信息

评论

共有 条评论