Counting objects in a binary image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Counting objects in a binary image

Chulaka Gunasekara
hi guys,,,

         I am doing a image processing project and I need to count the
number of objects in a image. I have converted the image to binary
format and detected the edges of the objects. So now I hava edge
detected binary image. How can I count the number of objects in the
image.If  somebody can give me a algorithm or  a java source code,
it'll be wonderful..


cheers!!!


--
Chulaka Gunasekara
Dept. of Computer Science & Engineering
University of Moratuwa.
Sri Lanka.
Reply | Threaded
Open this post in threaded view
|

Re: Counting objects in a binary image

Hugh Morgan
Chulaka Gunasekara wrote:
> hi guys,,,
>
>         I am doing a image processing project and I need to count the
> number of objects in a image. I have converted the image to binary
> format and detected the edges of the objects. So now I hava edge
> detected binary image. How can I count the number of objects in the
> image.If  somebody can give me a algorithm or  a java source code,
> it'll be wonderful..

I am a newbie at this, but I used the function Analyze / Analyze
Particales.  The only setting I changed was the size.

For more detailed instructions see
http://www.macbiophotonics.ca/imagej/particle_analysis.htm . See section
5.1.3 and possibly 5.1.2 depending on the type of objects you want to count.