pil, histogram, mask

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Feb 1 05:51:04 EST 2007


Daniel Nogradi
> I don't need the histogram really, only the mean color
> value, but as far as I can see the 'mean' attribute only applies to an
> image and a mask can not be specified.

You can slice parts of the image, and then use the
ImageStat.Stat(im).mean
On it.

Bye,
bearophile




More information about the Python-list mailing list