A list containing the information in the fields of the .hdr
file.
file.name |
path name of the .img file |
swap |
TRUE or FALSE variable indicating whether files are big or little endian |
sizeof.hdr |
Must indicate the byte size of the header file |
data.type |
character vector indicating data storage type for each voxel |
db.name |
|
extents |
Should be 16384, the image file is created as contiguous with a minimum extent size |
session.error |
|
regular |
Must be `r' to indicate that all images and volumes are the same size |
hkey.un0 |
|
dim |
vector of the image dimensions: dim[1] Number of dimensions in
database, usually 4; dim[2] Image X dimension; number of pixels in an image row; dim[3] Image Y dimension; number of pixel rows in
slice; dim[4] Volume Z dimension, number of slices in a volume; dim[5] Time points, number of volumes in database |
vox.units |
specifies the spatial units of measure for a voxel |
cal.units |
specifies the name of the calibration unit i.e. pixel,voxel |
unused1 |
|
datatype |
integer indicator of data storage type for this image |
bitpix |
number of bits per pixel: 1, 8, 16, 32, or 64 |
dim.un0 |
unused |
pixdim |
Parallel vector to dim, giving real world measurements in
mm. and ms. pixdim[1]: voxel width in mm. pixdim[2]: voxel height in
mm. pixdim[3]: slice thickness in mm. |
vox.offset |
byte offset in the .img file at which voxels
start. This value can be negative to specify that the absolute value is applied for every image in the file |
scale |
specify the range of calibration values. SPM extends the Analyze format by using a scaling factor for the image from the header |
funused2 |
|
funused3 |
|
cal.max |
Max display intensity |
cal.min |
Min display intensity |
compressed |
|
verified |
|
glmax |
The maximum pixel values for the entire database |
glmin |
The minimum pixel values for the entire database |
descrip |
any text you like |
aux.file |
auxiliary filename |
orient |
slice orientation for this dataset: 0 transverse
unflipped; 1 coronal unflipped; 2 sagittal unflipped; 3 transverse
flipped; 4 coronal flipped; 5 sagittal flipped |
originator |
image central voxel coordinates. SPM uses this Analyze header field in an unorthodox way |
generated |
|
scannum |
|
patient.id |
|
exp.date |
|
exp.time |
|
hist.un0 |
|
views |
|
vols.added |
|
start.field |
|
field.skip |
|
omax |
|
omin |
|
smax |
|
smin |
|