plotGLCM: plot (plot GLC-Matrix)

Description Usage Arguments Details Value Author(s) References Examples

View source: R/plotGLCM.R

Description

plotGLCM plots a Grey Level Co-occurrence Matrix (GLCM)

Usage

1
plotGLCM(GLCM)

Arguments

GLCM

data frame with GLCM data

Details

GLCM is a tabulation of how often different combinations of pixel brightness values (grey levels) occur in an image.

Value

no return value

Author(s)

H.-J. Klemmt

References

Toennies, D., 2005: Grundlagen der Bildverarbeitung. Pearson Studium, 341 S. Harralick, R.M., Shanmugam, K., Dinstein, I., 1973: Textural Features for image classification. IEEE Transactions on Systems, Man and Cybernetics, SMC vol. 3 no. 6, pp. 610-620.

Examples

1
2
3
4
data<-c(0,0,1,1,0,0,1,1,0,2,2,2,2,2,3,3)
mat<-matrix(data,nrow=4, byrow=TRUE)
GLCM<-genGLCM(2,1,mat)
plotGLCM(GLCM)

Example output

[1] "GLCM generation succesful"

RTextureMetrics documentation built on May 2, 2019, 1:08 p.m.