http://imagej.273.s1.nabble.com/Candidate-for-MaximumFinder-java-update-tp5008256p5008265.html
> Dear all / Wayne,
>
> Please find under the following link:
>
>
http://punias.free.fr/MaximumFinder.java>
> a new version candidate for the “Process->Find Maxima…” feature where:
>
> - the "Noise tolerance" NumericField has been replaced by a Slider
> implementing MouseWheelListener features,
>
> - a "Lower threshold" slider has been added implementing as well
> MouseWheelListener features,
>
> - the GenericDialog has been replaced by a NonBlockingGenericDialog
> (I’m not sure whether you would agree on this and would like to know the
> reasons if not).
>
> Also discussing with a colleague on the “Find Maxima…” feature, he came up
> with the idea of defining a relative "Noise tolerance" value which would for
> example be equal to 10 for a peak having a height H and 20 for a peak of
> height 2H.
>
> And before starting to look into the code I found this as being a good idea
> until I got lost within the algorithm (since the noise tolerance is actually
> as well used in order to define what should be considered as a maxima).
>
> So now I’m not really sure now whether this could be a good idea and whether
> such an implementation is actually possible or not.
>
> Thus I would like to get the opinion of some experts on this and thank you
> very much in advance.
>
> My best regards,
>
> Philippe
>
>
>
> Philippe CARL
>
> Laboratoire de Biophotonique et Pharmacologie
>
> UMR 7213 CNRS - Université de Strasbourg
>
> Faculté de Pharmacie
>
> 74 route du Rhin
>
> 67401 ILLKIRCH
>
> Tel : +33(0)3 68 85 41 84
>
>
>
to threshold each maximum at 50% of its value. So if max=100 we keep
for each peak.