voxres: Gets Voxel Resolution

Description Usage Arguments Value

View source: R/voxres.R

Description

Grabs the 3 voxel dimensions and takes the product

Usage

1
voxres(img, units = c("mm", "cm"))

Arguments

img

nifti object

units

output unit, either cubic mm or cubic cm.

Value

Scalar numeric, one number, in cubic mm or cubic cm (cc/mL).


neuroconductor-devel/oro.nifti documentation built on May 6, 2021, 1:49 p.m.