CumulatedHistogram = CreateCumulatedHistogram(Image); [CumulatedHistogram, ListOfBins] = CreateCumulatedHistogram(Image);
2D matrix of type uint8, uint16, uint32 or double
row vector containing the cumulated histogram
row vector containing the sorted unique gray values. This parameter is optional.
This function calculates the cumulated histogram of an image of a numeric type. The cumulated histogram specifies for each gray level n the percentage of pixels with a gray level <= n.