glszm returns a gray level size zone matrix for a given matrix.
Usage
glszm(data, n_grey = 32, truncate = TRUE, ...)
Arguments
data
A numeric 2D matrix.
n_grey
an integer value, the number of grey levels the image should
be quantized into.
truncate
Logical. Remove values for sizes that have no entries
...
Can be given verbose=FALSE to suppress output from the n_grey conversion.
Value
a matrix of dimension n_grey by region size, the GLSZM. The column
names represent the region size, row names represent grey level, and
the entries represent the count of how many times a given size of given grey level
occur.
Details
Can be visualized using image(glszm(data)). For visualization info
see ?image.radiomics