Re: Intermittent Problem With Analyze Particles Masks
Posted by
Gabriel Landini on
Apr 04, 2014; 11:08am
URL: http://imagej.273.s1.nabble.com/Intermittent-Problem-With-Analyze-Particles-Masks-tp5007197p5007202.html
On Friday 04 Apr 2014 12:08:26 you wrote:
> @ Gabriel:
> Thanks for the hint with the floodFill(). Something I actually could have
> thought about from beginning on. Sometimes one is just blind for the
> obvious solution.
> In theory, this would improve actions if used in the Advanced Particle
> Analyzer with big images containing many particles.
>
> After some trials:
> I implemented the floodFill in the Advanced Particle
> Analyzer. Unfortunately, I ended up with several particles which were not
> eliminated while they actually should be due to the shape descriptor
> limitations keyed in.
There must be something else. It does work. Are you sure you are matching the
connectivity? (in this case "8")? E.g.
floodFill(XStart[i],YStart[i],"8-connected");
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html