voxres: Gets Voxel Resolution

View source: R/voxres.R

voxresR Documentation

Gets Voxel Resolution

Description

Grabs the 3 voxel dimensions and takes the product

Usage

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 Feb. 21, 2025, 6:31 a.m.