powered by
Reads the ANALYZE or NIFTI image format .hdr (or .nii) header file into a list. The format type is determined by first reading the magic field.
f.read.header(file)
The .hdr file to be read
A list containing the information in the fields of the .hdr (.nii) file. See f.read.analyze.header of f.read.nifti.header to have the list of values.
f.read.analyze.header f.read.nifti.header
f.read.analyze.header
f.read.nifti.header
# NOT RUN { f.read.header(system.file("example.hdr", package="AnalyzeFMRI")) f.read.header(system.file("example-nifti.hdr", package="AnalyzeFMRI")) # }
Run the code above in your browser using DataLab