Re: getStatistics Mode
Posted by
Gabriel Landini on
Oct 09, 2014; 9:40am
URL: http://imagej.273.s1.nabble.com/getStatistics-Mode-tp5009974p5009975.html
On Thursday 09 Oct 2014 09:10:57 Jeremy Adler wrote:
> Analyse histogram generates the Mode but the Mode is not available from
> getStatistics().
> Could getStatistics() be amended ?
>
> Clearly the mode can extracted by running through the arrays returned by
> getStatistics() but getting directly would be neater.
The mode is useful
> with an image of an object on a background it provides a good indication of
> the mean background intensity.
Hi,
One problem is that there is no guarantee to be a mode (think of a uniform
distribution), or a single one (multimodal histograms).
One risks getting an automatic statistic that does not represent the
distribution. Not sure how would catch those cases.
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html