开发者

Count number of circles in image using c# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. 开发者_Go百科

i want to write a c# program to count number of colered circles like the below image.

if any one have any algorithm or code to show how i can do this please share it with me.

here is sample image:(its not clearly sharp but most of images is sharp enough)

Count number of circles in image using c# [closed]

(source: biologyofhumanaging.com)


From the sample image, the background and circles seem to be easily distinguishable. I would try segmenting the image by thresholding the image (e.g. Make the circles black and the background White)

Once you've done this you should be able to get a fairly good estimate by dividing the number of black pixels by the average number of pixels in a circle.

I am assuming all the images are the same style (and size) and that you don't need an exact count.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜