18 #if !defined(AT_IMGPROC_H_INSIDE) 19 #error "Only <at/imgproc.h> can be included directly." 31 AT_NIFTI_TYPE_ANALYZE = 0,
32 AT_NIFTI_TYPE_NIFTI1_1 = 1,
33 AT_NIFTI_TYPE_NIFTI1_2 = 2,
34 AT_NIFTI_TYPE_ASCII = 3,
35 AT_NIFTI_TYPE_MAX = 3,
43 typedef enum _AtAnalyze75OrientCode {
44 AT_A75_TRANSVERSE_UNFLIPPED = 0,
45 AT_A75_CORONAL_UNFLIPPED = 1,
46 AT_A75_SAGITTAL_UNFLIPPED = 2,
47 AT_A75_TRANSVERSE_FLIPPED = 3,
48 AT_A75_CORONAL_FLIPPED = 4,
49 AT_A75_SAGITTAL_FLIPPED = 5,
50 AT_A75_ORIENT_UNKNOWN = 6
51 } AtAnalyze75OrientCode;
57 AT_NIFTI_XFORM_UNKNOWN = 0,
58 AT_NIFTI_XFORM_SCANNER_ANAT = 1,
59 AT_NIFTI_XFORM_ALIGNED_ANAT = 2,
60 AT_NIFTI_XFORM_TALAIRACH = 3,
61 AT_NIFTI_XFORM_MNI_152 = 4
81 AT_DT_FLOAT128 = 1536,
82 AT_DT_COMPLEX128 = 1792,
83 AT_DT_COMPLEX256 = 2048
112 float slice_duration;
115 uint32_t iname_offset;
118 AtNiftiDatatype datatype;
122 uint16_t slice_start;
124 AtNiftiXformCode qform_code;
125 AtNiftiXformCode sform_code;
126 AtNiftiFileType nifti_type;
127 AtAnalyze75OrientCode analyze75_orient;
147 at_niftiimage_read(
const char *name, uint8_t read_data,
AtError** error);
AtNifti1Extension * ext_list
Definition: nifti.h:99
Nifti Extension.
Definition: nifti.h:89
error
Definition: error.h:28
uint8_t * edata
Definition: nifti.h:90
uint32_t ecode
Definition: nifti.h:92
uint32_t esize
Definition: nifti.h:91
char * fname
Definition: nifti.h:101
AtArrayU16 * ar
Definition: nifti.h:100
Nifti Image.
Definition: nifti.h:98
char * iname
Definition: nifti.h:102