生成特征算子(sift)MATLAB,尺度不变特征变换(SIFT)调用示例程序

这个目录包含可用于Linux或Windows的SIFT不变特征查找预编译程序,以及一个Matlab脚本和C源代码,展示如何加载这些特征并进行简单的特征匹配。在Matlab环境中运行,可以提取SIFT特征,匹配不同图像的特征,并显示匹配结果。
摘要由CSDN通过智能技术生成

Scale-invariant feature transform

This directory contains compiled binary programs for finding SIFT

invariant features that can run under Linux or Windows.  In addition,

there is a Matlab script as well as C source code showing how to load

the features and do simple feature matching.

Running from within Matlab

--------------------------

If you have access to Matlab, scripts are provided for loading SIFT

features and finding matches between images.  These were tested under

Matlab Version 7 and do not require the image processing toolbox.

Run Matlab in the current directory and execute the following

commands.  The "sift" command calls the appropriate binary to extract

SIFT features (under Linux or Windows) and returns them in matrix

form.  Use "showkeys" to display the keypoints superimposed on the

image:

[image, descrips, locs] = sift('scene.pgm');

showkeys(image, locs);

The "match" command is given two image file names.  It extracts SIFT

features from each image, matches the features between the two images,

and displays the results.

match('scene.pgm','book.pgm');

The result shows the two input images next to each other, with lines

connecting the matching locations.  Most of the matches should be

correct (as can be roughly judged by the fact that they select the

correct object in a cluttered image), but there will be a few false

outliers that could be removed by enforcing viewpoint consistency

constraints.

You can also try matching other images:

match('scene.pgm','box.pgm');

match('scene.pgm','basmati.pgm');

For more details, see the comments in the Matlab scripts: sift.m,

showkeys.m, and match.m.

Acknowledgments: The Matlab script for loading SIFT features is based

on one provided by D. Alvaro and J.J. Guerrero.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值