用于检测图像中的圆的算法 [英] algorithm for detecting a circle in an image

查看:402
本文介绍了用于检测图像中的圆的算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种算法来检测图像中的圆圈。图像是黑白的。背景为白色,圆圈彼此不重叠,或图像中的任何其他元素。
图像包含一些其他形状和一些文本。

I'm looking for an algorithm to detect circles in an image. The image is black and white. The background is white, and the circles don't overlap each other, or any other element in the image. The image includes some other shapes and some text.

如果有一些开源.NET库来做这件事,我也想知道它。

If there is some open source .NET library to do this, I would also like to know about it.

推荐答案

也许霍夫变换对你有用。你必须事先知道圆圈的大小才能使其高效。

Maybe the "Hough Transform" is useful for you. You have to know the circle's size in advance to make it efficient though.

  • http://www.cis.rit.edu/class/simg782/lectures/lecture_10/lec782_05_10.pdf
  • http://en.wikipedia.org/wiki/Hough_Transform

昨天有一个类似的问题,其中霍夫变换和一些图像处理库(虽然不是.NET)被提议:

There was a similar question yesterday, where the "Hough Transform", and some image processing libraries (though not for .NET) were proposed:

图像处理编程

这篇关于用于检测图像中的圆的算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆