Re: Candidate for MaximumFinder.java update

Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/Candidate-for-MaximumFinder-java-update-tp5008256p5008272.html

On Wednesday 18 Jun 2014 09:13:06 Philippe CARL wrote:
> But looking at the code, I'm not sure whether this may actually be possible
> since the noise tolerance value is actually as well used in order to define
> what should be considered as a maxima.

Perhaps it might be useful to look at the morphological procedure called "h-
domes" which detects *regional* maxima (or minima) based on a height h.
This is basically a greyscale reconstruction of the original using the
original-h as the seed.

See Fig 12 here:
http://www.vincent-net.com/luc/papers/93ieeeip_recons.pdf

You can do this with the Domes plugin in the morphology collection.
Then, if still needed, you can filter the domes that have at least height h or
any other value. To do this duplicate "domes" as "domes1" image, binarise it a
t>0 then apply particles8 with redirection to the "domes" to collect the max
gresycale value of each dome.

Hope it helps.

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html