create_moment: Create Neighborhood Momemts of an Image

Description Usage Arguments Value

View source: R/create_moment.R

Description

Creates first (mean) through fourth (kurtosis) central moments, as well as gradients and mean/sd image.

Usage

1
2
3
4
5
6
7
8
create_moment(
  img,
  mask = NULL,
  radius = rep(1, 3),
  retimg = TRUE,
  verbose = TRUE,
  ...
)

Arguments

img

Object of class nifti, character or antsImage

mask

Object of class nifti, character or antsImage. Only neighborhoods inside the mask will be taken. If NULL, all neighbors of the image will be taken

radius

array of values for neighborhood radius (in voxels)

retimg

Should images (of class nifti) be returned or should a matrix

verbose

print diagnostic messages

...

arguments to passed to neighborhood

Value

List of images (of class nifti) or a matrix (V by 6), where V is the number of voxels in the mask


muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.