pil, histogram, mask

Daniel Nogradi nogradi at gmail.com
Thu Feb 1 17:05:56 EST 2007


> > 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

Okay, I'll try that, thanks a lot.



More information about the Python-list mailing list