CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
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:169
char regular
Definition: nifti1.h:172
const int32_t NIFTI_INTENT_CHISQ
Definition: nifti1.h:725
const int32_t NIFTI_UNITS_RADS
Definition: nifti1.h:1283
const int32_t NIFTI_TYPE_FLOAT32
Definition: nifti1.h:552
const int32_t NIFTI_TYPE_UINT16
Definition: nifti1.h:562
char aux_file[24]
Definition: nifti1.h:203
float srow_x[4]
Definition: nifti1.h:215
const int32_t NIFTI_INTENT_LOGPVAL
Definition: nifti1.h:824
int esize
Definition: nifti1.h:313
Data structure defining the fields of a header extension.
Definition: nifti1.h:312
int extents
Definition: nifti1.h:170
const int32_t NIFTI_UNITS_METER
Definition: nifti1.h:1263
const int32_t NIFTI_INTENT_EXTVAL
Definition: nifti1.h:812
short sform_code
Definition: nifti1.h:206
float cal_min
Definition: nifti1.h:195
const int32_t NIFTI_TYPE_RGB24
Definition: nifti1.h:558
const int32_t NIFTI_UNITS_SEC
Definition: nifti1.h:1271
float pixdim[8]
Definition: nifti1.h:187
const int32_t NIFTI_INTENT_DISPVECT
Definition: nifti1.h:894
const int32_t NIFTI_INTENT_NEURONAME
Definition: nifti1.h:858
const int32_t NIFTI_TYPE_UINT32
Definition: nifti1.h:564
short dim[8]
Definition: nifti1.h:176
const int32_t NIFTI_INTENT_TRIANGLE
Definition: nifti1.h:921
const int32_t NIFTI_TYPE_COMPLEX64
Definition: nifti1.h:554
const int32_t NIFTI_INTENT_TTEST
Definition: nifti1.h:711
const int32_t NIFTI_INTENT_WEIBULL
Definition: nifti1.h:791
float qoffset_z
Definition: nifti1.h:213
float srow_z[4]
Definition: nifti1.h:217
short qform_code
Definition: nifti1.h:205
const int32_t NIFTI_UNITS_MM
Definition: nifti1.h:1265
const int32_t NIFTI_TYPE_INT16
Definition: nifti1.h:548
float quatern_c
Definition: nifti1.h:209
const int32_t NIFTI_INTENT_BETA
Definition: nifti1.h:730
float qoffset_x
Definition: nifti1.h:211
char dim_info
Definition: nifti1.h:173
char * edata
Definition: nifti1.h:315
const int32_t NIFTI_INTENT_NORMAL
Definition: nifti1.h:752
const int32_t NIFTI_INTENT_QUATERNION
Definition: nifti1.h:930
float toffset
Definition: nifti1.h:197
short intent_code
Definition: nifti1.h:183
short slice_end
Definition: nifti1.h:191
const int32_t NIFTI_INTENT_GAMMA
Definition: nifti1.h:742
const int32_t NIFTI_INTENT_BINOM
Definition: nifti1.h:736
short bitpix
Definition: nifti1.h:185
const int32_t NIFTI_TYPE_FLOAT64
Definition: nifti1.h:556
char data_type[10]
Definition: nifti1.h:168
const int32_t NIFTI_INTENT_LAPLACE
Definition: nifti1.h:775
float intent_p1
Definition: nifti1.h:177
int glmin
Definition: nifti1.h:199
const int32_t NIFTI_UNITS_PPM
Definition: nifti1.h:1281
const int32_t NIFTI_INTENT_POINTSET
Definition: nifti1.h:908
char magic[4]
Definition: nifti1.h:221
short datatype
Definition: nifti1.h:184
const int32_t NIFTI_UNITS_HZ
Definition: nifti1.h:1279
const int32_t NIFTI_UNITS_MSEC
Definition: nifti1.h:1273
float quatern_d
Definition: nifti1.h:210
const int32_t NIFTI_INTENT_CHI
Definition: nifti1.h:799
const int32_t NIFTI_UNITS_MICRON
Definition: nifti1.h:1267
const int32_t NIFTI_TYPE_INT8
Definition: nifti1.h:560
const int32_t NIFTI_INTENT_PVAL
Definition: nifti1.h:816
int ecode
Definition: nifti1.h:314
This structure represents a 4-byte string that should follow the binary nifti_1_header data in a NIFT...
Definition: nifti1.h:306
float intent_p3
Definition: nifti1.h:181
const int32_t NIFTI_INTENT_ESTIMATE
Definition: nifti1.h:847
const int32_t NIFTI_INTENT_INVGAUSS
Definition: nifti1.h:806
short session_error
Definition: nifti1.h:171
float scl_slope
Definition: nifti1.h:189
const int32_t NIFTI_INTENT_POISSON
Definition: nifti1.h:747
char slice_code
Definition: nifti1.h:192
const int32_t NIFTI_TYPE_COMPLEX256
Definition: nifti1.h:574
int sizeof_hdr
Definition: nifti1.h:167
const int32_t NIFTI_TYPE_UINT64
Definition: nifti1.h:568
const int32_t NIFTI_INTENT_FTEST_NONC
Definition: nifti1.h:758
const int32_t NIFTI_INTENT_GENMATRIX
Definition: nifti1.h:872
const int32_t NIFTI_UNITS_UNKNOWN
Definition: nifti1.h:1259
const int32_t NIFTI_INTENT_UNIFORM
Definition: nifti1.h:779
int glmax
Definition: nifti1.h:198
const int32_t NIFTI_INTENT_TTEST_NONC
Definition: nifti1.h:784
short slice_start
Definition: nifti1.h:186
const int32_t NIFTI_UNITS_USEC
Definition: nifti1.h:1275
const int32_t NIFTI_INTENT_NONE
Definition: nifti1.h:675
const int32_t NIFTI_INTENT_LOGISTIC
Definition: nifti1.h:769
const int32_t NIFTI_INTENT_FTEST
Definition: nifti1.h:716
float slice_duration
Definition: nifti1.h:196
float cal_max
Definition: nifti1.h:194
const int32_t NIFTI_INTENT_SYMMATRIX
Definition: nifti1.h:885
const int32_t NIFTI_FIRST_STATCODE
Definition: nifti1.h:835
float qoffset_y
Definition: nifti1.h:212
char xyzt_units
Definition: nifti1.h:193
char intent_name[16]
Definition: nifti1.h:219
float intent_p2
Definition: nifti1.h:179
const int32_t NIFTI_INTENT_DIMLESS
Definition: nifti1.h:935
const int32_t NIFTI_TYPE_COMPLEX128
Definition: nifti1.h:572
char descrip[80]
Definition: nifti1.h:202
float quatern_b
Definition: nifti1.h:208
float scl_inter
Definition: nifti1.h:190
const int32_t NIFTI_TYPE_FLOAT128
Definition: nifti1.h:570
const int32_t NIFTI_LAST_STATCODE
Definition: nifti1.h:839
const int32_t NIFTI_INTENT_LOG10PVAL
Definition: nifti1.h:831
namespace for all CiftiLib functionality
Definition: CiftiBrainModelsMap.h:41
const int32_t NIFTI_INTENT_CHISQ_NONC
Definition: nifti1.h:763
const int32_t NIFTI_TYPE_UINT8
Definition: nifti1.h:546
const int32_t NIFTI_TYPE_INT64
Definition: nifti1.h:566
const int32_t NIFTI_TYPE_INT32
Definition: nifti1.h:550
float srow_y[4]
Definition: nifti1.h:216
const int32_t NIFTI_INTENT_ZSCORE
Definition: nifti1.h:720
float vox_offset
Definition: nifti1.h:188
const int32_t NIFTI_INTENT_LABEL
Definition: nifti1.h:853