寻求帮助:关于OpenCV cornerHarris函数参数的理解,谢谢各位

lanmeng_smile 2015-08-24 09:12:21
[size=13px]问题描述:
void cornerHarris(InputArray src, OutputArray dst, int blockSize, int apertureSize, double k, int borderType=BORDER_DEFAULT )

Parameters:
src – Input single-channel 8-bit or floating-point image.
dst – Image to store the Harris detector responses. It has the type CV_32FC1 and the same size as src .
blockSize – Neighborhood size
apertureSize – Aperture parameter for the Sobel() operator.
k – Harris detector free parameter. See the formula below.
boderType – Pixel extrapolation method. See borderInterpolate() .

我的问题关于参数blockSize 相邻像素的尺寸,怎么理解?有什么作用?
我修改blockSize 初始化值,角点检测输出结果没有看到有什么不同~~~
...全文
355 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵4老师 2015-08-25
  • 打赏
  • 举报
回复
换不同分辨率的测试图片再试试。

64,687

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧