Description Usage Arguments Details Value References Examples
glcm
returns a gray level co-occurrence matrix for a given matrix.
1 |
data |
A numeric 2D matrix. |
angle |
One of "0", "45", "90" or "135", the pixel to which the current pixel is compared. |
d |
an integer value, the distance between the current pixel, and the pixel to which it is compared. |
n_grey |
an integer value, the number of grey levels the image should be quantized into. If greater than the number of unique values in the image, no action will be taken. |
normalize |
Logical value, if TRUE (default) the matrix will be normalized such that the sum of it's components is 1. |
... |
Can be given verbose=FALSE to suppress output from the n_grey conversion. |
Can be visualized using image(glcm(data))
. For visualization info
see ?image.radiomics
a matrix of dimension n_grey by n_grey, the GLCM. The column and row names represent grey values in the image.
http://www.fp.ucalgary.ca/mhallbey/tutorial.htm
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.