calculates the gray level histogram of an image
Histogram = CreateHistogram(Image); [Histogram, ListOfBins] = CreateHistogram(Image); Histogram = CreateHistogram(Image, NumberOfBins); [Histogram, ListOfBins] = CreateHistogram(Image, NumberOfBins);
2D matrix of type uint8, uint16, uint32, double or boolean
number of gray level intervals for an image of type double. This parameter is optional and it is ignored if Image is of any type other than double.
row vector containing the number of pixels for each gray value
row vector containing the bins. This parameter is optional.
This function calculates the gray level histogram for an image. If the image is of type double, the number of gray level intervals can be specified.