[Image-SIG] ImageStat median calculation off?
janssen at parc.com
Fri Apr 27 00:19:06 CEST 2007
Aghh, yes, thanks, just dopiness on my part. More coffee needed.
> Bill Janssen wrote:
> > I keep getting different values for "s.median" than I get for "h.index(v)".
> > Shouldn't they be the same value? Am I missing something?
> Isn't it *mode* that you are calculating, not median? The median would
> be calculated by adding up the histogram values until you have counted
> half the pixels, then returning the index of that point.
More information about the Image-SIG