dropEmptyImageDimensions(img, value = 0, threshold = 0, other.imgs = NULL, keep_ind = FALSE, reorient = FALSE)
drop_empty_dim(img, value = 0, threshold = 0, other.imgs = NULL, keep_ind = FALSE, reorient = FALSE)
dropEmptyImageDimensions
will drop any dimension that has
fewer than threshold
zeroes. May be a vector of values, matched with
match
threshold
voxels
are in the sliceimg
.other.imgs
not specifiedother.imgs
not specified or keep_ind = TRUE
.
Otherwise object of class nifti
getEmptyImageDimensions