Functions for the calculation of marginal distributions from the GLCM matrix.
The partial sum of the matrix is used to determine the distribution over the sum of neighbor pairs, returns a value for a given sum k.
The partial sum of the matrix is used to determine the distribution over the sum of neighbor pairs, returns a value for a given difference of k.
xplusy_k(glcm, k)xminusy_k(glcm, k)
int or double (xplusy_k: sum of matrix entries with given index sum)
int or double (sum of matrix entries with given index difference)
square co-occurrence matrix
real integer (given difference)