maskEmptyImageDimensions,antsImage-method | R Documentation |
Simple wrapper for replacing indices with a value
## S4 method for signature 'antsImage'
maskEmptyImageDimensions(img, inds, reorient = FALSE, mask.value = 0, ...)
img |
image, nifti object, or array |
inds |
indices of subset from |
reorient |
Should image be reoriented if a filename? |
mask.value |
Value to replace voxels outside the mask. |
... |
not used |
Object of class nifti
or array
if nifti
is not supplied
apply_empty_dim
is a shorthand for
maskEmptyImageDimensions
with all the same arguments.
getEmptyImageDimensions
,
dropEmptyImageDimensions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.