Pillow/docs/pythondoc-PIL.ImageStat.rst

30 lines
678 B
ReStructuredText
Raw Permalink Normal View History

2012-02-17 05:10:57 +04:00
========================
The PIL.ImageStat Module
========================
The PIL.ImageStat Module
========================
The **ImageStat** module calculates global statistics for an image, or a
region of an image.
Module Contents
---------------
**Stat(image, mask=None)** (class) [`# <#PIL.ImageStat.Stat-class>`_]
Calculate statistics for the given image.
For more information about this class, see `*The Stat
Class* <#PIL.ImageStat.Stat-class>`_.
The Stat Class
--------------
**Stat(image, mask=None)** (class) [`# <#PIL.ImageStat.Stat-class>`_]
**\_\_init\_\_(image, mask=None)**
[`# <#PIL.ImageStat.Stat.__init__-method>`_]
*image*
*mask*