maskEmptyImageDimensions-methods: Apply Masking from Empty Image Dimensions

Description Usage Arguments Value Note See Also

Description

Simple wrapper for replacing indices with a value

Usage

1
2
## S4 method for signature 'antsImage'
maskEmptyImageDimensions(img, inds, reorient = FALSE, mask.value = 0, ...)

Arguments

img

image, nifti object, or array

inds

indices of subset from getEmptyImageDimensions or dropEmptyImageDimensions.

reorient

Should image be reoriented if a filename?

mask.value

Value to replace voxels outside the mask.

...

not used

Value

Object of class nifti or array if nifti is not supplied

Note

apply_empty_dim is a shorthand for maskEmptyImageDimensions with all the same arguments.

See Also

getEmptyImageDimensions, dropEmptyImageDimensions


neuroconductor/extrantsr documentation built on Sept. 28, 2020, 11:31 a.m.