NeuroVol {neuroim2} | R Documentation |
NeuroVol: 3D Neuroimaging Volume Class
Description
The NeuroVol
class encapsulates 3D volumetric neuroimaging data. It provides methods
for accessing slices, performing spatial transformations, and integrating with the spatial
reference provided by NeuroSpace
.
Usage
NeuroVol(data, space, label = "", indices = NULL)
Arguments
data |
A 3D array containing the volumetric data. |
space |
An object of class |
label |
A character string providing a label for the volume (default: ""). |
indices |
An optional vector of indices for sparse representation (default: NULL). |
Value
A NeuroVol
object.
Examples
bspace <- NeuroSpace(c(64,64,64), spacing=c(1,1,1))
dat <- array(rnorm(64*64*64), c(64,64,64))
bvol <- NeuroVol(dat,bspace, label="test")
[Package neuroim2 version 0.8.1 Index]