Learn R Programming

radiomics (version 0.1.3)

image.radiomics: Texture Matrix Visualization

Description

Texture Matrix Visualization

GLCM image

GLRLM image

GLSZM image

MGLSZM image

Usage

# S4 method for glcm
image(x, xlab = "Grey Level", ylab = "Grey Level",
  col = colscale(length(unique(c(x@.Data)))))

# S4 method for glrlm image(x, xlab = "Grey Level", ylab = "Run Length", col = colscale(length(unique(c(x@.Data)))))

# S4 method for glszm image(x, xlab = "Grey Level", ylab = "Zone Size", col = colscale(length(unique(c(x@.Data)))))

# S4 method for mglszm image(x, xlab = "Grey Level", ylab = "Zone Size", col = colscale(length(unique(c(x@.Data)))))

Arguments

x

Matrix of class "glcm", "glrlm", "glszm" or "mglszm"

xlab

The label for the x-axis

ylab

The label for the y-axis

col

Use viridis scale if available

Examples

Run this code
# NOT RUN {
image(psf)
image(glszm(psf))
# }

Run the code above in your browser using DataLab