R/applyEmptyImageDimensions.R
applyEmptyImageDimensions-methods.Rd
Simple wrapper for subsetting an image with indices, dropping empty dimensions.
# S4 method for antsImage applyEmptyImageDimensions(img, inds, reorient = FALSE, ...)
img | image, nifti object, or array |
---|---|
inds | indices of subset from |
reorient | Should image be reoriented if a filename |
... | not used |
Object of class nifti
or array
if nifti
is not supplied