|
VTK
9.1.0
|
Go to the documentation of this file. 1#ifndef vtkNIFTIImagePrivate_h
2#define vtkNIFTIImagePrivate_h
111#define NIFTI_TYPE_UINT8 2
113#define NIFTI_TYPE_INT16 4
115#define NIFTI_TYPE_INT32 8
117#define NIFTI_TYPE_FLOAT32 16
119#define NIFTI_TYPE_COMPLEX64 32
121#define NIFTI_TYPE_FLOAT64 64
123#define NIFTI_TYPE_RGB24 128
125#define NIFTI_TYPE_INT8 256
127#define NIFTI_TYPE_UINT16 512
129#define NIFTI_TYPE_UINT32 768
131#define NIFTI_TYPE_INT64 1024
133#define NIFTI_TYPE_UINT64 1280
135#define NIFTI_TYPE_FLOAT128 1536
137#define NIFTI_TYPE_COMPLEX128 1792
139#define NIFTI_TYPE_COMPLEX256 2048
141#define NIFTI_TYPE_RGBA32 2304
152#define NIFTI_VERSION(h) \
153 (((h).magic[0] == 'n' && (h).magic[3] == '\0' && ((h).magic[1] == 'i' || (h).magic[1] == '+') && \
154 ((h).magic[2] >= '1' && (h).magic[2] <= '9')) \
155 ? (h).magic[2] - '0' \
163#define NIFTI_ONEFILE(h) ((h).magic[1] == '+')
169#define NIFTI_NEEDS_SWAP(h) ((h).dim[0] < 0 || (h).dim[0] > 7)