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_type
A character
string specifying the data type code (e.g., "FLOAT", "INT").
dims
A numeric
vector representing image dimensions.
spatial_axes
An AxisSet3D
object representing image axes for spatial dimensions (x, y, z).
additional_axes
An AxisSet
object representing axes for dimensions beyond spatial (e.g., time, color band, direction).
spacing
A numeric
vector representing voxel dimensions in real-world units.
origin
A numeric
vector representing the coordinate origin.
label
A 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.