Learn R Programming

RTextureMetrics (version 1.1)

plotGLCM: plot (plot GLC-Matrix)

Description

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

Usage

plotGLCM(GLCM)

Arguments

GLCM
data frame with GLCM data

Value

  • no return value

Details

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

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

Run this code
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)

Run the code above in your browser using DataLab