NPL
Neurological Programs and Libraries
The NIFTI File Format

Modules

 Intent Codes
 nifti1 intent codes, to describe intended meaning of dataset contents
 
 Patient Orientation Codes
 nifti1 xform codes to describe the "standard" coordinate system
 
 Image Unit Codes
 nifti1 units codes to describe the unit of measurement for each dimension of the dataset
 
 Slice Order Codes
 nifti1 slice order codes, describing the acquisition order of the slices
 

Macros

#define NIFTI_INTENT_NONE   0
 
#define XYZT_TO_SPACE(xyzt)   ( (xyzt) & 0x07 )
 
#define XYZT_TO_TIME(xyzt)   ( (xyzt) & 0x38 )
 
#define SPACE_TIME_TO_XYZT(ss, tt)
 

Enumerations

enum  NIFTI_TYPE {
  NIFTI_TYPE_UINT8 =2, NIFTI_TYPE_INT8 =256, NIFTI_TYPE_INT16 =4, NIFTI_TYPE_INT32 =8,
  NIFTI_TYPE_UINT16 =512, NIFTI_TYPE_UINT32 =768, NIFTI_TYPE_INT64 =1024, NIFTI_TYPE_UINT64 =1280,
  NIFTI_TYPE_FLOAT32 =16, NIFTI_TYPE_FLOAT64 =64, NIFTI_TYPE_COMPLEX64 =32, NIFTI_TYPE_COMPLEX128 =1792,
  NIFTI_TYPE_RGB24 =128, NIFTI_TYPE_RGBA32 =2304, NIFTI_TYPE_COMPLEX256 =2048, NIFTI_TYPE_FLOAT128 =1536
}
 

Functions

struct __attribute__ ((packed))
 

Variables

 nifti1_header
 
 nifti2_header
 

Detailed Description

Macro Definition Documentation

#define NIFTI_INTENT_NONE   0

default: no intention is indicated in the header.

Definition at line 250 of file nifti.h.

#define SPACE_TIME_TO_XYZT (   ss,
  tt 
)
Value:
( (((char)(ss)) & 0x07) \
| (((char)(tt)) & 0x38) )

Definition at line 875 of file nifti.h.

#define XYZT_TO_SPACE (   xyzt)    ( (xyzt) & 0x07 )

Definition at line 871 of file nifti.h.

#define XYZT_TO_TIME (   xyzt)    ( (xyzt) & 0x38 )

Definition at line 872 of file nifti.h.

Enumeration Type Documentation

enum NIFTI_TYPE
Enumerator
NIFTI_TYPE_UINT8 
NIFTI_TYPE_INT8 
NIFTI_TYPE_INT16 
NIFTI_TYPE_INT32 
NIFTI_TYPE_UINT16 
NIFTI_TYPE_UINT32 
NIFTI_TYPE_INT64 
NIFTI_TYPE_UINT64 
NIFTI_TYPE_FLOAT32 
NIFTI_TYPE_FLOAT64 
NIFTI_TYPE_COMPLEX64 
NIFTI_TYPE_COMPLEX128 
NIFTI_TYPE_RGB24 
NIFTI_TYPE_RGBA32 
NIFTI_TYPE_COMPLEX256 
NIFTI_TYPE_FLOAT128 

Definition at line 128 of file nifti.h.

Function Documentation

struct __attribute__ ( (packed)  )

Definition at line 21 of file nifti.h.

Variable Documentation

nifti1_header

Definition at line 81 of file nifti.h.

nifti2_header

Definition at line 126 of file nifti.h.