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