ImageStat
index
/Library/Python/2.7/site-packages/PIL/ImageStat.py

# The Python Imaging Library.
# $Id$
#
# global image statistics
#
# History:
# 1996-04-05 fl   Created
# 1997-05-21 fl   Added mask; added rms, var, stddev attributes
# 1997-08-05 fl   Added median
# 1998-07-05 hk   Fixed integer overflow error
#
# Notes:
# This class shows how to implement delayed evaluation of attributes.
# To get a certain value, simply access the corresponding attribute.
# The __getattr__ dispatcher takes care of the rest.
#
# Copyright (c) Secret Labs AB 1997.
# Copyright (c) Fredrik Lundh 1996-97.
#
# See the README file for information on usage and redistribution.
#

 
Modules
       
Image
math
operator

 
Classes
       
Stat

 
Global = class Stat
    Get image or feature statistics
 
  Methods defined here:
__getattr__(self, id)
Calculate missing attribute
__init__(self, image_or_list, mask=None)

 
class Stat
    Get image or feature statistics
 
  Methods defined here:
__getattr__(self, id)
Calculate missing attribute
__init__(self, image_or_list, mask=None)