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