differenceEntropy.matrix: Difference entropy is the entropy of marginal distribution of...

View source: R/glcm-marginals.R

differenceEntropy.matrixR 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))


gtexture documentation built on Sept. 2, 2025, 9:09 a.m.