View source: R/glcm-marginals.R
differenceEntropy.matrix | R Documentation |
Difference entropy is the entropy of marginal distribution of the difference in gray-level value equivalents x-y
differenceEntropy.matrix(glcm, base = 2)
glcm |
gray level co-occurrence matrix |
base |
Base of the logarithm in differenceEntropy. |
float (single value: the entropy of the marginal distribution)
# Calculate difference entropy of a given glcm (e.g. uniform matrix)
differenceEntropy.matrix(matrix(1,3,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.