applyEmptyImageDimensions-methods: Apply Subsetting from Empty Image Dimensions

applyEmptyImageDimensions,antsImage-methodR Documentation

Apply Subsetting from Empty Image Dimensions

Description

Simple wrapper for subsetting an image with indices, dropping empty dimensions.

Usage

## S4 method for signature 'antsImage'
applyEmptyImageDimensions(img, inds, reorient = FALSE, ...)

Arguments

img

image, nifti object, or array

inds

indices of subset from getEmptyImageDimensions or dropEmptyImageDimensions.

reorient

Should image be reoriented if a filename

...

not used

Value

Object of class nifti or array if nifti is not supplied


muschellij2/extrantsr documentation built on June 3, 2024, 7:04 p.m.