Learn R Programming

fslr (version 1.4.4)

dropEmptyImageDimensions: Drop Empty Image Dimensions

Description

Drops dimensions of an image that has all irrelevant values

Usage

dropEmptyImageDimensions(img, value = 0, threshold = 0, other.imgs = NULL,
  reorient = FALSE)

Arguments

img
nifti object
value
Value to check against. If zero, then dropEmptyImageDimensions will drop any dimension that has all zeroes
threshold
Drop dimension if fewer than threshold voxels are in the slice
other.imgs
List of other nifti objects or filenames to apply the same dropping as img.
reorient
Should image be reoriented if a filename?

Value

  • Object of class nifti