Histogram.x#

property Histogram.x: ndarray#

Histogram bin values

Returns:

array of left-hand bin values

Return type:

ndarray(N)

Bin \(i\) contains grey values in the range \([x_{[i]}, x_{[i+1]})\).

Example:

>>> from machinevisiontoolbox import Image
>>> import numpy as np
>>> hist = Image.Read('flowers1.png').hist()