Module PIL.ImageStat
Module Summary:
#35
class Global
:
def __init__(self)
Calculate statistics for the given image.
#35
class Stat
:
def __init__(self, image, mask=None)
Calculate statistics for the given image.
Classes
The Global Class
Global()
Calculate statistics for the given image.  If a mask is included,
only the regions covered by that mask are included in the
statistics.
The Stat Class
Stat()
Calculate statistics for the given image.  If a mask is included,
only the regions covered by that mask are included in the
statistics.
Constructor:
Stat(image, mask=None)
Create a statistics object.
Parameters:
image
-- A PIL image, or a precalculate histogram.
mask
-- An optional mask.
Method Summary:
