discreteness of an image histogram

How to find a discreteness of an image histogram?is there any matlab function for tat ?

 Accepted Answer

Image Analyst
Image Analyst on 12 Jan 2012
Never heard of it. Do you have a definition of " discreteness "?

4 Comments

it is the summation of all the
absolute differences between any two consecutive bins in a histogram
There is no direct matlab function to do this, but you can code
sum(abs(diff(hist(DATA))))
Of what practical use is that?
Dunno. Seems to me the standard deviation of the absolute differences might be more interesting.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!