Re: Problem with area measurement

Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/Problem-with-area-measurement-tp3705217p3705220.html

On Tuesday 19 July 2005 20:02, kevin egan wrote:
> I have been having a problem with the Analyze particles tool in Image
> J. If the area I am measuring has any fully enclosed white spaces
> (after thresholding the image), it measures these areas as being part
> of the  black areas.

Not sure what the problem is (I am writing this off-line), but if you want to
measure a blob without the holes, you could do:

1. Use the Analyze Particles to get the area of the blob, then invert the
image and measure the area of the holes and subtract this value from the
other.

2. Use one of the plugins Particles4, Particles8, or  Particles8_plus in the
Morphology collection (below). These give you the *number of pixels* of a
blob, taking into accout any holes.
http://www.dentistry.bham.ac.uk/landinig/software/software.html

I hope it helps.

G.