cv2.houghcircles()是否执行高斯模糊?
这是对另一个用户问题的扩展,询问是否有必要在使用cv2.canny()之前必须执行高斯模糊。我从文档中知道Cv2.houghcircles()称为Canny Edge检测器(大概是Cv2.canny())。根据用户的问题,我需要使用默认的SOBEL内核大小的高斯模糊。 cv2. -houghcircles是否将默认的sobel内核大小调用cv2.canny()?如果是这样,cv2.houghcircles()方法是否已经隐含使用高斯模糊?
提前致谢!
This is an extension to another user’s question asking whether it is necessary to perform a Gaussian blur before using cv2.Canny(). I know from the documentation that cv2.HoughCircles() calls a Canny edge detector (presumably cv2.Canny()). Based on the user’s question, I need to use a Gaussian blur with the default Sobel kernel size. Does cv2.HoughCircles call cv2.Canny() with a default Sobel kernel size? If it does, does cv2.HoughCircles() method implicitly use a Gaussian blur already?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不会执行高斯模糊。
它是
将图像馈送到
houghcircles
之前。在
It does not perform Gaussian Blur.
It is recommended to apply Gaussian Blur
before feeding your image to
HoughCircles
.In the current implementation
of OpenCV there's no Gaussian Blur call.