Reads the ANALYZE image format .hdr header file into a
list.
A list containing the information in the fields of the .hdr
file. Only the ones considered useful are included. See comments
included in the function definition if you want to extend the amount
of information extracted and stored.
swap |
TRUE or FALSE variable indicating whether files are big or little endian |
file.name |
path name of the .img file |
dim |
vector of image dimensions. The first entry specifies the number
of dimensions |
vox.units |
specifies the spatial units of measure for a voxel |
cal.units |
specifies the name of the calibration unit i.e. pixel,voxel |
datatype |
integer indicator of data storage type for each voxel |
data.type |
character vector indicating data storage type for each voxel |
bit.pix |
the number of bits per voxel |
pixdim |
parallel vector to dim giving real world voxel unit measurements |
glmax |
maximum voxel value |
glmin |
minimum voxel value |
originator |
image central voxel coordinates |