Creates a list of indices of an image that has all irrelevant values
getEmptyImageDimensions(img, value = 0, threshold = 0, reorient = FALSE, ...)
get_empty_dim(img, value = 0, threshold = 0, reorient = FALSE, ...)nifti object or array
Value to check against. If zero, then
getEmptyImageDimensions will include any dimension that has
fewer than threshold zeroes. May be a vector of values, matched with
match
Include dimension if fewer than threshold voxels
are in the slice
Should image be reoriented if a filename?
additional arguments to pass to
check_nifti
List of length 3 of indices.
get_empty_dim is a shorthand for getEmptyImageDimensions
with all the same arguments. Also, NA are set to zero.