CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
307 typedef struct nifti1_extender nifti1_extender ;
506 const int32_t DT_NONE =0;
507 const int32_t DT_UNKNOWN =0;
508 const int32_t DT_BINARY =1;
509 const int32_t DT_UNSIGNED_CHAR =2;
510 const int32_t DT_SIGNED_SHORT =4;
511 const int32_t DT_SIGNED_INT =8;
512 const int32_t DT_FLOAT =16;
513 const int32_t DT_COMPLEX =32;
514 const int32_t DT_DOUBLE =64;
515 const int32_t DT_RGB =128;
516 const int32_t DT_ALL =255;
519 const int32_t DT_UINT8 =2;
520 const int32_t DT_INT16 =4;
521 const int32_t DT_INT32 =8;
522 const int32_t DT_FLOAT32 =16;
523 const int32_t DT_COMPLEX64 =32;
524 const int32_t DT_FLOAT64 =64;
525 const int32_t DT_RGB24 =128;
528 const int32_t DT_INT8 =256;
529 const int32_t DT_UINT16 =512;
530 const int32_t DT_UINT32 =768;
531 const int32_t DT_INT64 =1024;
532 const int32_t DT_UINT64 =1280;
533 const int32_t DT_FLOAT128 =1536;
534 const int32_t DT_COMPLEX128 =1792;
535 const int32_t DT_COMPLEX256 =2048;
579 typedef struct {
float r,i; } complex_float ;
580 typedef struct {
double r,i; } complex_double ;
581 typedef struct {
long double r,i; } complex_longdouble ;
582 typedef struct {
unsigned char r,g,b; } rgb_byte ;
707 const int32_t NIFTI_INTENT_CORREL =2;
895 const int32_t NIFTI_INTENT_VECTOR =1007;
1286 #undef XYZT_TO_SPACE
1288 #define XYZT_TO_SPACE(xyzt) ( (xyzt) & 0x07 )
1289 #define XYZT_TO_TIME(xyzt) ( (xyzt) & 0x38 )
1291 #undef SPACE_TIME_TO_XYZT
1292 #define SPACE_TIME_TO_XYZT(ss,tt) ( (((char)(ss)) & 0x07) \
1293 | (((char)(tt)) & 0x38) )
1381 #undef DIM_INFO_TO_FREQ_DIM
1382 #undef DIM_INFO_TO_PHASE_DIM
1383 #undef DIM_INFO_TO_SLICE_DIM
1385 #define DIM_INFO_TO_FREQ_DIM(di) ( ((di) ) & 0x03 )
1386 #define DIM_INFO_TO_PHASE_DIM(di) ( ((di) >> 2) & 0x03 )
1387 #define DIM_INFO_TO_SLICE_DIM(di) ( ((di) >> 4) & 0x03 )
1389 #undef FPS_INTO_DIM_INFO
1390 #define FPS_INTO_DIM_INFO(fd,pd,sd) ( ( ( ((char)(fd)) & 0x03) ) | \
1391 ( ( ((char)(pd)) & 0x03) << 2 ) | \
1392 ( ( ((char)(sd)) & 0x03) << 4 ) )
1399 const int32_t NIFTI_SLICE_UNKNOWN =0;
1400 const int32_t NIFTI_SLICE_SEQ_INC =1;
1401 const int32_t NIFTI_SLICE_SEQ_DEC =2;
1402 const int32_t NIFTI_SLICE_ALT_INC =3;
1403 const int32_t NIFTI_SLICE_ALT_DEC =4;
1404 const int32_t NIFTI_SLICE_ALT_INC2 =5;
1405 const int32_t NIFTI_SLICE_ALT_DEC2 =6;
char db_name[18]
Definition: nifti1.h:168
char regular
Definition: nifti1.h:171
const int32_t NIFTI_INTENT_CHISQ
Definition: nifti1.h:724
const int32_t NIFTI_UNITS_RADS
Definition: nifti1.h:1282
const int32_t NIFTI_TYPE_FLOAT32
Definition: nifti1.h:551
const int32_t NIFTI_TYPE_UINT16
Definition: nifti1.h:561
char aux_file[24]
Definition: nifti1.h:202
float srow_x[4]
Definition: nifti1.h:214
const int32_t NIFTI_INTENT_LOGPVAL
Definition: nifti1.h:823
int esize
Definition: nifti1.h:312
Data structure defining the fields of a header extension.
Definition: nifti1.h:311
int extents
Definition: nifti1.h:169
const int32_t NIFTI_UNITS_METER
Definition: nifti1.h:1262
const int32_t NIFTI_INTENT_EXTVAL
Definition: nifti1.h:811
short sform_code
Definition: nifti1.h:205
float cal_min
Definition: nifti1.h:194
const int32_t NIFTI_TYPE_RGB24
Definition: nifti1.h:557
const int32_t NIFTI_UNITS_SEC
Definition: nifti1.h:1270
float pixdim[8]
Definition: nifti1.h:186
const int32_t NIFTI_INTENT_DISPVECT
Definition: nifti1.h:893
const int32_t NIFTI_INTENT_NEURONAME
Definition: nifti1.h:857
const int32_t NIFTI_TYPE_UINT32
Definition: nifti1.h:563
short dim[8]
Definition: nifti1.h:175
const int32_t NIFTI_INTENT_TRIANGLE
Definition: nifti1.h:920
const int32_t NIFTI_TYPE_COMPLEX64
Definition: nifti1.h:553
const int32_t NIFTI_INTENT_TTEST
Definition: nifti1.h:710
const int32_t NIFTI_INTENT_WEIBULL
Definition: nifti1.h:790
float qoffset_z
Definition: nifti1.h:212
float srow_z[4]
Definition: nifti1.h:216
short qform_code
Definition: nifti1.h:204
const int32_t NIFTI_UNITS_MM
Definition: nifti1.h:1264
const int32_t NIFTI_TYPE_INT16
Definition: nifti1.h:547
float quatern_c
Definition: nifti1.h:208
const int32_t NIFTI_INTENT_BETA
Definition: nifti1.h:729
float qoffset_x
Definition: nifti1.h:210
char dim_info
Definition: nifti1.h:172
char * edata
Definition: nifti1.h:314
const int32_t NIFTI_INTENT_NORMAL
Definition: nifti1.h:751
const int32_t NIFTI_INTENT_QUATERNION
Definition: nifti1.h:929
float toffset
Definition: nifti1.h:196
short intent_code
Definition: nifti1.h:182
short slice_end
Definition: nifti1.h:190
const int32_t NIFTI_INTENT_GAMMA
Definition: nifti1.h:741
const int32_t NIFTI_INTENT_BINOM
Definition: nifti1.h:735
short bitpix
Definition: nifti1.h:184
const int32_t NIFTI_TYPE_FLOAT64
Definition: nifti1.h:555
char data_type[10]
Definition: nifti1.h:167
const int32_t NIFTI_INTENT_LAPLACE
Definition: nifti1.h:774
float intent_p1
Definition: nifti1.h:176
int glmin
Definition: nifti1.h:198
const int32_t NIFTI_UNITS_PPM
Definition: nifti1.h:1280
const int32_t NIFTI_INTENT_POINTSET
Definition: nifti1.h:907
char magic[4]
Definition: nifti1.h:220
short datatype
Definition: nifti1.h:183
const int32_t NIFTI_UNITS_HZ
Definition: nifti1.h:1278
const int32_t NIFTI_UNITS_MSEC
Definition: nifti1.h:1272
float quatern_d
Definition: nifti1.h:209
const int32_t NIFTI_INTENT_CHI
Definition: nifti1.h:798
const int32_t NIFTI_UNITS_MICRON
Definition: nifti1.h:1266
const int32_t NIFTI_TYPE_INT8
Definition: nifti1.h:559
const int32_t NIFTI_INTENT_PVAL
Definition: nifti1.h:815
int ecode
Definition: nifti1.h:313
This structure represents a 4-byte string that should follow the binary nifti_1_header data in a NIFT...
Definition: nifti1.h:305
float intent_p3
Definition: nifti1.h:180
const int32_t NIFTI_INTENT_ESTIMATE
Definition: nifti1.h:846
const int32_t NIFTI_INTENT_INVGAUSS
Definition: nifti1.h:805
short session_error
Definition: nifti1.h:170
float scl_slope
Definition: nifti1.h:188
const int32_t NIFTI_INTENT_POISSON
Definition: nifti1.h:746
char slice_code
Definition: nifti1.h:191
const int32_t NIFTI_TYPE_COMPLEX256
Definition: nifti1.h:573
int sizeof_hdr
Definition: nifti1.h:166
const int32_t NIFTI_TYPE_UINT64
Definition: nifti1.h:567
const int32_t NIFTI_INTENT_FTEST_NONC
Definition: nifti1.h:757
const int32_t NIFTI_INTENT_GENMATRIX
Definition: nifti1.h:871
const int32_t NIFTI_UNITS_UNKNOWN
Definition: nifti1.h:1258
const int32_t NIFTI_INTENT_UNIFORM
Definition: nifti1.h:778
int glmax
Definition: nifti1.h:197
const int32_t NIFTI_INTENT_TTEST_NONC
Definition: nifti1.h:783
short slice_start
Definition: nifti1.h:185
const int32_t NIFTI_UNITS_USEC
Definition: nifti1.h:1274
const int32_t NIFTI_INTENT_NONE
Definition: nifti1.h:674
const int32_t NIFTI_INTENT_LOGISTIC
Definition: nifti1.h:768
const int32_t NIFTI_INTENT_FTEST
Definition: nifti1.h:715
float slice_duration
Definition: nifti1.h:195
float cal_max
Definition: nifti1.h:193
const int32_t NIFTI_INTENT_SYMMATRIX
Definition: nifti1.h:884
const int32_t NIFTI_FIRST_STATCODE
Definition: nifti1.h:834
float qoffset_y
Definition: nifti1.h:211
char xyzt_units
Definition: nifti1.h:192
char intent_name[16]
Definition: nifti1.h:218
float intent_p2
Definition: nifti1.h:178
const int32_t NIFTI_INTENT_DIMLESS
Definition: nifti1.h:934
const int32_t NIFTI_TYPE_COMPLEX128
Definition: nifti1.h:571
char descrip[80]
Definition: nifti1.h:201
float quatern_b
Definition: nifti1.h:207
float scl_inter
Definition: nifti1.h:189
const int32_t NIFTI_TYPE_FLOAT128
Definition: nifti1.h:569
const int32_t NIFTI_LAST_STATCODE
Definition: nifti1.h:838
const int32_t NIFTI_INTENT_LOG10PVAL
Definition: nifti1.h:830
namespace for all CiftiLib functionality
Definition: CiftiBrainModelsMap.h:41
const int32_t NIFTI_INTENT_CHISQ_NONC
Definition: nifti1.h:762
const int32_t NIFTI_TYPE_UINT8
Definition: nifti1.h:545
const int32_t NIFTI_TYPE_INT64
Definition: nifti1.h:565
const int32_t NIFTI_TYPE_INT32
Definition: nifti1.h:549
float srow_y[4]
Definition: nifti1.h:215
const int32_t NIFTI_INTENT_ZSCORE
Definition: nifti1.h:719
float vox_offset
Definition: nifti1.h:187
const int32_t NIFTI_INTENT_LABEL
Definition: nifti1.h:852