Properties | List of all members
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. More...
 
 max = property
 float: The maximum gray value of the histogram. More...
 
 mean = property
 float: Mean value of all pixels. More...
 
 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). More...
 
 min = property
 float: The minimum gray value of the histogram. More...
 
 mode = property
 float: The mode (the most common gray value) of the histogram. More...
 
 num_pixels = property
 int: Total number of pixels taken into account. More...
 
 standard_deviation = property
 float: The standard deviation of the histogram. More...
 
 values = property
 List[int]: The actual histogram values. More...
 
 variance = property
 float: The variance of the histogram. More...
 

Detailed Description

A single histogram result.

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

Property Documentation

◆ count

count = property
static

int: The number of elements corresponds to the number of possible gray values.

◆ max

max = property
static

float: The maximum gray value of the histogram.

◆ mean

mean = property
static

float: Mean value of all pixels.

◆ median

median = property
static

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

min = property
static

float: The minimum gray value of the histogram.

◆ mode

mode = property
static

float: The mode (the most common gray value) of the histogram.

◆ num_pixels

num_pixels = property
static

int: Total number of pixels taken into account.

◆ standard_deviation

standard_deviation = property
static

float: The standard deviation of the histogram.

◆ values

values = property
static

List[int]: The actual histogram values.

◆ variance

variance = property
static

float: The variance of the histogram.