Image.cf#
- property Image.cf: tuple[ndarray, ndarray][source]#
Cumulative frequency and bin values
- Returns:
tuple
(cf, x)wherecfis cumulative histogram count values andxis left-hand bin values- Return type:
tuple(ndarray(N) or ndarray(N,P), ndarray(N))
This is the cumulative histogram count, which increases from 0 to the total number of pixels in the image plane. For a greyscale image
cfis a 1D array; for a multiplane (color) image it is a 2D array with the cumulative histogram of each plane as a column.Changed in version 2.0.0: Was previously called
cdf, and now returns(cf, x)instead of onlycf. This convenience property now uses a lazily cached default histogram.- Seealso: