Matlab detectHarrisFeatures函数的使用

调用句式:
points = detectHarrisFeatures(I)
points = detectHarrisFeatures(I,Name,Value)

示例:
I = checkerboard; %读取图像
corners = detectHarrisFeatures(I); %检测角点
imshow(I); hold on;
plot(corners.selectStrongest(50)); %展示结果

输入:
I 输入的图片,必须为实数且非稀疏

参数设置:
'MinQuality' — 最小可接受角点质量 0.01 (default)
取值为[0,1]之间的标量,将该值增大可移除错误检测出来的角点

'FilterSize' — 高斯滤波器尺寸 5 (default)
取值为奇数,不得超过图片尺寸

'ROI' — 矩形区域 [1 1 size(I,2) size(I,1)] (default) | 向量
限定角点检测区域,格式为[x,y,width,height]。前两个整数值[x,y]表示目标区域左上角的位置,后两个整数值表示宽度和高度

输出:
points — 角点

[1] Harris, C., and M. Stephens, "A Combined Corner and Edge Detector," Proceedings of the 4th Alvey Vision Conference, August 1988, pp. 147-151.

原文地址:https://www.cnblogs.com/Dontstop/p/13993128.html