f.read.analyze.header {AnalyzeFMRI}R Documentation

read Analyze header file

Description

Reads the ANALYZE image format .hdr header file into a list.

Usage

f.read.analyze.header(file)

Arguments

file The .hdr file to be read

Value

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

See Also

f.analyze.file.summary

Examples

f.read.analyze.header(system.file("example.hdr", package="AnalyzeFMRI"))

[Package AnalyzeFMRI version 1.1-6 Index]