Description Usage Arguments Value Examples
This function is called by the glcm
function. It is
not intended to be used directly.
1 | calc_texture(d, n_grey, window_dims, shift, statistics, na_opt, na_val)
|
d |
a matrix containing the pixels to be used in the texture calculation |
n_grey |
number of grey levels to use in texture calculation |
window_dims |
2 element list with row and column dimensions of the texture window |
shift |
a matrix where each row gives an (x, y) shift to use when computing co-occurrency matrices. Textures will be calculated for each shift, and the average over all shifts will be returned. |
statistics |
a list of strings naming the texture statistics to calculate |
na_opt |
one of "ignore", "center", or "any" |
na_val |
what value to use to fill missing values on edges or where necessary due to chosen na_opt value |
a list of length equal to the length of the statistics
input
parameter, containing the selected textures measures
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.