6

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.

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

Ron Harlev
  • 16,227
  • 24
  • 89
  • 132

2 Answers2

9

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

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

Image Processing Programming

Community
  • 1
  • 1
Eike
  • 2,205
  • 17
  • 10
0

I was looking for the same thing and what I have found to work best for now is using Mathlab (Image Processing Toolbox). It has good amount of options that lets you try different processing algorithms, threshold level and range of circle's radius.

5_nd_5
  • 620
  • 5
  • 8