NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Attributes | List of all members
itk::header_key Struct Reference

Public Attributes

int sizeof_hdr
 
char data_type [10]
 
char db_name [18]
 
int extents
 
short int session_error
 
char regular
 
char hkey_un0
 

Detailed Description

Member Data Documentation

char itk::header_key::data_type[10]

A convenience character string that has a 1 to 1 correspondence with the short int datatype field of the image_dimension.

See also
DataTypes
char itk::header_key::db_name[18]

A convenience character string that should be the same as the the file name without th e*.hdr or *.img extension.

int itk::header_key::extents

Should be 16384, the image file is created as contiguous with a minium extent size. This field may be used to check endedness of the file

char itk::header_key::hkey_un0

Unused field for future expansion.

char itk::header_key::regular

This must be 'r' to indicate that all images and volumes are the same size.

short int itk::header_key::session_error

This feild is not used for anything other than internal use in Pre 1995 versions of Analyze. Setting this to 0 causes no problems.

int itk::header_key::sizeof_hdr

Must indicate the byte size of header file, Almost always 348 bytes, but may be larger for sites that have extended the default implementation. This feild is used by analyze to determine if the file is big endian or little endian. If the size of the *.hdr file does not equal this value, then the structure needs to be byte swapped.


The documentation for this struct was generated from the following file: