VTK
|
Go to the source code of this file.
Classes | |
struct | nifti_1_header |
Data structure defining the fields in the nifti1 header. This binary header should be found at the beginning of a valid NIFTI-1 header file. More... | |
struct | nifti_2_header |
Data structure defining the fields in the nifti2 header. This binary header should be found at the beginning of a valid NIFTI-2 header file. More... | |
Macros | |
#define | NIFTI_TYPE_UINT8 2 |
#define | NIFTI_TYPE_INT16 4 |
#define | NIFTI_TYPE_INT32 8 |
#define | NIFTI_TYPE_FLOAT32 16 |
#define | NIFTI_TYPE_COMPLEX64 32 |
#define | NIFTI_TYPE_FLOAT64 64 |
#define | NIFTI_TYPE_RGB24 128 |
#define | NIFTI_TYPE_INT8 256 |
#define | NIFTI_TYPE_UINT16 512 |
#define | NIFTI_TYPE_UINT32 768 |
#define | NIFTI_TYPE_INT64 1024 |
#define | NIFTI_TYPE_UINT64 1280 |
#define | NIFTI_TYPE_FLOAT128 1536 |
#define | NIFTI_TYPE_COMPLEX128 1792 |
#define | NIFTI_TYPE_COMPLEX256 2048 |
#define | NIFTI_TYPE_RGBA32 2304 |
#define | NIFTI_VERSION(h) |
#define | NIFTI_ONEFILE(h) ( (h).magic[1] == '+' ) |
#define | NIFTI_NEEDS_SWAP(h) ( (h).dim[0] < 0 || (h).dim[0] > 7 ) |
#define | __NIFTI2_HEADER |
Typedefs | |
typedef struct nifti_1_header | nifti_1_header |
typedef struct nifti_2_header | nifti_2_header |
#define NIFTI_VERSION | ( | h | ) |
Given a nifti_1_header struct, check if it has a good magic number. Returns NIFTI version number (1..9) if magic is good, 0 if it is not.
Definition at line 151 of file vtkNIFTIImagePrivate.h.
#define NIFTI_ONEFILE | ( | h | ) | ( (h).magic[1] == '+' ) |
Check if a nifti_1_header struct says if the data is stored in the same file or in a separate file. Returns 1 if the data is in the same file as the header, 0 if it is not.
Definition at line 162 of file vtkNIFTIImagePrivate.h.
#define NIFTI_NEEDS_SWAP | ( | h | ) | ( (h).dim[0] < 0 || (h).dim[0] > 7 ) |
Check if a nifti_1_header struct needs to be byte swapped. Returns 1 if it needs to be swapped, 0 if it does not.
Definition at line 168 of file vtkNIFTIImagePrivate.h.
#define __NIFTI2_HEADER |
Definition at line 180 of file vtkNIFTIImagePrivate.h.
typedef struct nifti_1_header nifti_1_header |
Definition at line 85 of file vtkNIFTIImagePrivate.h.
typedef struct nifti_2_header nifti_2_header |
Definition at line 268 of file vtkNIFTIImagePrivate.h.