问题描述
我有一个Canny边缘检测到的球形图像(见下面的链接),其中包含许多嘈杂的边缘。有什么最好的图像处理技术可以用来去除这些嘈杂的边缘而不去除属于球的边缘?
原始图像
Canny边缘图像
非常感谢大家提前获得的帮助和建议,非常感谢!
Ps我试图清理边缘图像之前使用Circle Hough变换来检测球。
最佳选择是在应用边缘检测器之前过滤图像。为了保持锐利边缘,你需要使用比高斯模糊更复杂的滤镜。
两个简单的选项是或。这两个滤波器非常易于实现,并且在大多数情况下它们提供了良好的结果:高斯噪声去除保留边缘。如果您需要更强大的功能,可以尝试过滤器,这是该州之一最先进的过滤器,您可以在这里找到一个开源实现。 / p>
I have a Canny edge detected image of a ball (see link below) which contains a lot of noisy edges. What are the best image processing techniques that I can use to remove these noisy edges without removing the edges belonging to the ball?
Original image
Canny edge image
Many thanks everyone in advance for your help and advice, much appreciated!
Ps I am trying to clean up the edge image prior to using the Circle Hough Transform to detect the ball.
The best option is to filter the image before applying the edge detector. In order to keep the sharp edges you need to use a more sophisticated filter than the Gaussian blur.
Two easy options are the Bilateral filter or the Guided filter. These two filters are very easy to implement and they provide good results in most cases: gaussian noise removal preserving edges. If you need something more powerful, you can try the filter BM3D, which is one of the state-of-the-art filters, and you can find an open source implementation here.
这篇关于Canny Edge图像 - 噪声消除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!