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


neuroconductor-devel/extrantsr documentation built on July 3, 2025, 10:57 p.m.