MATLAB: Find histogram bins at which cumulative histogram has 75% of maximum value

cumulative histogram

How to find histogram bins at which cumulative histogram has 75% of maximum value of an image.

Best Answer

You don't give much detail. Do you have the underlying data, or just the counts from the histogram bins?
If you have the data, then the prctile command may help you do what you want.
p75 = prctile(x,75)
will give the estimated value of x where the cumulative probability is 0.75.
Related Question