Image.pdf#
- property Image.pdf: tuple[ndarray, ndarray][source]#
Empirical probability density function (PDF) and bin values
- Returns:
tuple
(pdf, x)wherepdfis the normalised histogram counts andxis left-hand bin values- Return type:
tuple(ndarray(N) or ndarray(N,P), ndarray(N))
This is the histogram count normalised such that the sum is 1.0, computed by dividing the histogram counts by the total number of pixels in each plane. For a greyscale image
pdfis a 1D array; for a multiplane (color) image it is a 2D array with the PDF of each plane as a column.- Seealso: