Aghh, yes, thanks, just dopiness on my part.  More coffee needed.

Bill

> 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.
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to