NIFTIMetaInfo | R Documentation |
Creates a NIFTIMetaInfo object containing format-specific metadata for NIFTI format neuroimaging files.
NIFTIMetaInfo(descriptor, nifti_header)
descriptor |
NIFTIFormat object specifying file format details |
nifti_header |
List containing NIFTI header information |
Create NIFTIMetaInfo Object
The NIFTIMetaInfo object extends MetaInfo with NIFTI-specific features:
NIFTI header fields (qform, sform matrices)
Data scaling (slope, intercept)
File organization (separate vs. single file)
Orientation information
Validation ensures:
Valid NIFTI format
Consistent dimensions
Valid transformation matrices
Proper data scaling
A NIFTIMetaInfo object
MetaInfo
, readNIftiHeader
## Not run:
# Read NIFTI header
header <- readNIftiHeader("brain.nii")
# Create format descriptor
fmt <- NIFTIFormat()
# Create metadata
meta <- NIFTIMetaInfo(fmt, header)
# Check dimensions
dim(meta)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.