Multiplies the number of slices by the voxel resolution for each direction.
img_length(img, units = c("mm", "cm"))
img | Image object, any method with |
---|---|
units | output unit, either cubic mm or cubic cm. |
Scalar numeric, one number, in mm or cm.