CVBpy 15.0
Histogram Class Reference

A single histogram result. More...

Inherits object.

Properties

 count = property
 int: The number of elements corresponds to the number of possible gray values.
 
 max = property
 float: The maximum gray value of the histogram.
 
 mean = property
 float: Mean value of all pixels.
 
 median = property
 int: The median index (index of the histogram slot, at which roughly 50% of the pixels are darker and 50% of the pixels are brighter than corresponding slot's gray value).
 
 min = property
 float: The minimum gray value of the histogram.
 
 mode = property
 float: The mode (the most common gray value) of the histogram.
 
 num_pixels = property
 int: Total number of pixels taken into account.
 
 standard_deviation = property
 float: The standard deviation of the histogram.
 
 values = property
 List[int]: The actual histogram values.
 
 variance = property
 float: The variance of the histogram.
 

Detailed Description

A single histogram result.

Use [] to access to get the count for a value.