MATLAB: What is meant by probability distribution function of an image

image processingImage Processing Toolboxprobability distribution

How to find the probability distribution of an image

Best Answer

Try this:
[pixelCount grayLevels] = imhist(grayImage);
special considerations must be taken for floating point images.