differenceEntropy.matrix {gtexture} | R Documentation |
Difference entropy is the entropy of marginal distribution of the difference in gray-level value equivalents x-y
Description
Difference entropy is the entropy of marginal distribution of the difference in gray-level value equivalents x-y
Usage
differenceEntropy.matrix(glcm, base = 2)
Arguments
glcm |
gray level co-occurrence matrix |
base |
Base of the logarithm in differenceEntropy. |
Value
float (single value: the entropy of the marginal distribution)
Examples
# Calculate difference entropy of a given glcm (e.g. uniform matrix)
differenceEntropy.matrix(matrix(1,3,3))
[Package gtexture version 1.0.0 Index]