VTK
9.1.0
|
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_VERSION(h) |
#define | NIFTI_ONEFILE(h) ((h).magic[1] == '+') |
#define | NIFTI_NEEDS_SWAP(h) ((h).dim[0] < 0 || (h).dim[0] > 7) |
#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 |
Typedefs | |
typedef struct nifti_1_header | nifti_1_header |
typedef struct nifti_2_header | nifti_2_header |
#define NIFTI_TYPE_UINT8 2 |
unsigned char.
Definition at line 111 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_INT16 4 |
signed short.
Definition at line 113 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_INT32 8 |
signed int.
Definition at line 115 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_FLOAT32 16 |
32 bit float.
Definition at line 117 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_COMPLEX64 32 |
64 bit complex = 2 32 bit floats.
Definition at line 119 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_FLOAT64 64 |
64 bit float = double.
Definition at line 121 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_RGB24 128 |
3 8 bit bytes.
Definition at line 123 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_INT8 256 |
signed char.
Definition at line 125 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_UINT16 512 |
unsigned short.
Definition at line 127 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_UINT32 768 |
unsigned int.
Definition at line 129 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_INT64 1024 |
signed long long.
Definition at line 131 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_UINT64 1280 |
unsigned long long.
Definition at line 133 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_FLOAT128 1536 |
128 bit float = long double.
Definition at line 135 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_COMPLEX128 1792 |
128 bit complex = 2 64 bit floats.
Definition at line 137 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_COMPLEX256 2048 |
256 bit complex = 2 128 bit floats
Definition at line 139 of file vtkNIFTIImagePrivate.h.
#define NIFTI_TYPE_RGBA32 2304 |
4 8 bit bytes.
Definition at line 141 of file vtkNIFTIImagePrivate.h.
#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 152 of file vtkNIFTIImagePrivate.h.
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 163 of file vtkNIFTIImagePrivate.h.
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 169 of file vtkNIFTIImagePrivate.h.
typedef struct nifti_1_header nifti_1_header |
Definition at line 87 of file vtkNIFTIImagePrivate.h.
typedef struct nifti_2_header nifti_2_header |
Definition at line 265 of file vtkNIFTIImagePrivate.h.