8
Two Edge-based Texture Measures
1.  edgeness per unit area
2. edge magnitude and direction histograms
Fedgeness =  |{ p |  gradient_magnitude(p) ³ threshold}| / N
where N is the size of the unit area
Fmagdir = ( Hmagnitude, Hdirection )
where these are the normalized histograms of gradient
magnitudes and gradient directions, respectively.
How would you compare two histograms?