powered by
Difference entropy is the entropy of marginal distribution of the difference in gray-level value equivalents x-y
differenceEntropy.matrix(glcm, base = 2)
float (single value: the entropy of the marginal distribution)
gray level co-occurrence matrix
Base of the logarithm in differenceEntropy.
# Calculate difference entropy of a given glcm (e.g. uniform matrix) differenceEntropy.matrix(matrix(1,3,3))
Run the code above in your browser using DataLab