Learn R Programming

neuroim (version 0.0.6)

spacing: Generic function to extract the voxel dimensions of an image

Description

Generic function to extract the voxel dimensions of an image

spacing

Usage

spacing(x)
"spacing"(x)
"spacing"(x)

Arguments

x
the object

Value

a numeric vector

Examples

Run this code
bspace <- BrainSpace(c(10,10,10), c(2,2,2))
all.equal(spacing(bspace), c(2,2,2))

Run the code above in your browser using DataLab