# Create metadata for 3D structural MRI
meta <- MetaInfo(
Dim = c(256, 256, 180),
spacing = c(1, 1, 1),
data_type = "FLOAT",
label = "T1w"
)
# Get image dimensions
dim(meta)
# Get transformation matrix
trans(meta)
Run the code above in your browser using DataLab