SCALE INVARIANT FEATURE TRANSFORM IMPLEMENTATION
YANTAO ZHENG, NOEMIE PHULPIN
yantaozheng@gmail.com, S0600506@nus.edu.sg
This is a MATLAB implementation of the SIFT keypoint detector and descriptor [1].
FUNCTIONS
The implementation consists of the following functions. They are organized in the folders based on the functionality.
These functions are self-contained and can be utilized independently.
do_gaussian: generate Gaussian scale space of input image
do_diffofg: generate Difference of Gaussian (DoG) scale space
do_localmax: select local extrema as the potential keypoints
do_extrefine: refine the keypoints by discarding the ones with low contrast and along an edge
do_orientation: compute the orientation of a support region of keypoint
do_descriptor: compute the descriptor of a keypoint based on image gradients.
do_match: match two images based on the nearest neighbor principle and spatial consistency.
do_sift: generate the SIFT descriptors for a given input image. It basically executes all the functions above.
RUN THE PROGRAM
If the purpose of using this software is to compute SIFT descriptors of images, users only need to handle do_sift function.
do_sift takes an image as input and generate keypoints and descriptors as output. Detailed structures about input/output can be found
in the program header comments.
There are several demo programs avaiable. They are the examples to run the SIFT programs.
Execute the demos as below:
From MATLAB prompt
> do_demo_1
IMPORTANT PARAMETERS
The performance of SIFT image matching depends on several parameters.
In do_sift function, tuning the following parameters can achive different number of SIFT keypoints and descriptors;
and therefore, different matching performance. The values are the default ones given by Lowe.
S=3 ; Number of sub-levels per octave
omin= -1 ; Starting octave number
O = 4; Max octave level
thresh = 0.04 / S / 2 ; Contrast response threshold
r = 15 ; Edge response threshold
NBP = 4 ; Number of spatial bins
NBO = 8 ; Number of orientation bins
[1] D. G. Lowe, "Distinctive image features from scale-invariant
keypoints," IJCV, vol. 2, no. 60, pp. 91 110, 2004.
sift特征检测的matlab程序实现
4星 · 超过85%的资源 需积分: 50 177 浏览量
2012-08-02
14:07:57
上传
评论 5
收藏 1.2MB RAR 举报
鱼儿畅快游
- 粉丝: 0
- 资源: 12
最新资源
- 基于OpenCV的案例:图像边缘、角点和轮廓检测,图像分割,图像增强;图片拼接;运动目标检测,颜色直方图比较,三帧帧差法,抠图
- SmartPlug-html大一笔记
- SmartPlug-proteusdemo
- Preliminary Findings on Handmade Rattan Baby Crib andBassinet Designs Regarding.zip
- aveebfq_v1.2.83_downyi.com.apk
- 基于有机发光二极管(OLED)的建模优化算法的matlab仿真源码+数据+文档说明+项目说明(高分课程设计)
- hash01-test.c 本人哈希表(一)的示例代码,仅供参考!
- 处理数据.py
- 软件实施计划表.xls
- 软件开发应用软件项目提交文档目录要求(全过程)(推荐文档).xls
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
- 1
- 2
前往页