| MetaInfo-class | R Documentation |
This class encapsulates meta information for neuroimaging data types, including spatial and temporal characteristics, data type, and labeling.
The MetaInfo class provides a structured way to store and access essential metadata for neuroimaging data. This includes information about the data type, spatial and temporal dimensions, voxel spacing, and coordinate system origin.
data_typeA character string specifying the data type code (e.g., "FLOAT", "INT").
dimsA numeric vector representing image dimensions.
spatial_axesAn AxisSet3D object representing image axes for spatial dimensions (x, y, z).
additional_axesAn AxisSet object representing axes for dimensions beyond spatial (e.g., time, color band, direction).
spacingA numeric vector representing voxel dimensions in real-world units.
originA numeric vector representing the coordinate origin.
labelA character vector containing name(s) of images or data series.
FileMetaInfo-class, AxisSet3D-class, AxisSet-class
# Create a MetaInfo object
meta_info <- new("MetaInfo",
data_type = "FLOAT",
dims = c(64, 64, 32, 100),
spatial_axes = new("AxisSet3D"),
additional_axes = new("AxisSet"),
spacing = c(3, 3, 4),
origin = c(0, 0, 0),
label = "fMRI_run1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.