Login  Register

Re: Counting objects in a binary image

Posted by Hugh Morgan on Jul 04, 2007; 1:23pm
URL: http://imagej.273.s1.nabble.com/Counting-objects-in-a-binary-image-tp3698951p3698952.html

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.