voxres: Gets Voxel Resolution
Description
Grabs the 3 voxel dimensions and takes the product
Usage
voxres(img, units = c("mm", "cm"))
Value
Scalar numeric, one number, in cubic mm or cubic cm (cc/mL).
Arguments
- img
nifti object
- units
output unit, either cubic mm or cubic cm.