mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			678 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			678 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| ========================
 | |
| 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*
 | |
| 
 |