Ask Your Question

How to count and mark all counted objects in this image

asked 2014-11-26 14:40:32 -0600

Lauris gravatar image

Dear Readers,

I am new to image processing and OpenCV, so it could be basic question, but still I am too dum to solve it. So my hopes lies on you!

I have an image: link text and I need to count all objects in this image and mark them - the perfect result would look like this: link text.

Is this possible?

Thank you in advance! Lauris

edit retag flag offensive close merge delete


Yes, I think you should look at the flood fill and image threshold.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-11-28 02:26:39 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-28 03:44:46 -0600

Hi @Lauris!

Before answering, i really laughed a lot after seeing your question! please read how this site works!

Please go through this nice step by step Tutorial for counting these objects.

edit flag offensive delete link more

answered 2014-11-28 06:08:03 -0600

theodore gravatar image

Yes it is possible. Have a look in this example I think it will help/guide you how to accomplish what you want to do.

edit flag offensive delete link more

Question Tools


Asked: 2014-11-26 14:40:32 -0600

Seen: 12,617 times

Last updated: Nov 28 '14