correct_image_dim.Rd
This function takes an image and drops dimensions until the volume is a user specified dimension.
correct_image_dim(image, dim = 3)
image | volume of class |
---|---|
dim | scalar value of desired image dimension |
Returns a volume of class nifti
of desired dimension.