glcm_marginals {gtexture} | R Documentation |
Marginal distributions of the GLCM
Description
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.
Usage
xplusy_k(glcm, k)
xminusy_k(glcm, k)
Arguments
glcm |
square co-occurrence matrix |
k |
real integer (given difference) |
Value
int or double (xplusy_k: sum of matrix entries with given index sum)
int or double (sum of matrix entries with given index difference)
[Package gtexture version 1.0.0 Index]