Image.h#
- property Image.h: tuple[ndarray, ndarray][source]#
Histogram count values and bin values
- Returns:
tuple
(h, x)wherehis histogram counts andxis left-hand bin values- Return type:
tuple(ndarray(N) or ndarray(N,P), ndarray(N))
This is the raw histogram count: the number of pixels in the image plane with grey values in each bin. For a greyscale image
his a 1D array; for a multiplane (color) image it is a 2D array with the histogram of each plane as a column.Changed in version 2.0.0: Returns
(h, x)instead of onlyh. This convenience property now uses a lazily cached default histogram.- Seealso: