Login  Register

Re: analysis of objects with holes

Posted by Wayne Rasband on Sep 20, 2005; 10:15pm
URL: http://imagej.273.s1.nabble.com/analysis-of-objects-with-holes-tp3704830p3704831.html

> I am trying to determine the number of pixels (or length) of
> the skeleton of the objects within a given image. Some of
> the objects however have holes inside leading to skeletons
> like a circle. When I try to determine the area of these
> skeletons by the macro command run("Analyze Particles...",…)
> this command always fill the holes within the circle and
> determines the filled area. How can I prevent this? Or is
> there another way to determine each skeleton individual
> length? I would very much appreciate if someone could help
> me.

There are two ways to get the particle analyzer to ignore interior
holes. You can threshold the image and check "Limit to Threshold" in
the Analyze>Set Measurements dialog, or check "Flood Fill" in the
particle analyzer dialog box.

-wayne