Description Usage Arguments Value Examples
This function calculates Local Moments (mean, standard deviation, skew) for an array.
1 2 |
image |
input image |
window |
window (in width) for the neighborhood |
nvoxels |
window (in voxels) for the neighborhood 1 results in a 3x3 cube |
mask |
array or object of class nifti of same size as image |
rm.value |
remove the voxel itself before taking the moment |
check.wrap |
Logical - check wrapround and put |
rep.value |
Replace wrapped values (edge of image) to this value |
... |
Not used |
Array with same dimensions as image
1 2 | x = array(rnorm(1000), dim=c(10, 10, 10))
neigh = get_neighbors(x, nvoxels = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.