CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
Data structure defining the fields in the nifti2 header. This binary header should be found at the beginning of a valid NIFTI-2 header file. More...
#include <nifti2.h>
Public Attributes | |
int32_t | sizeof_hdr |
char | magic [8] |
int16_t | datatype |
int16_t | bitpix |
int64_t | dim [8] |
double | intent_p1 |
double | intent_p2 |
double | intent_p3 |
double | pixdim [8] |
int64_t | vox_offset |
double | scl_slope |
double | scl_inter |
double | cal_max |
double | cal_min |
double | slice_duration |
double | toffset |
int64_t | slice_start |
int64_t | slice_end |
char | descrip [80] |
char | aux_file [24] |
int32_t | qform_code |
int32_t | sform_code |
double | quatern_b |
double | quatern_c |
double | quatern_d |
double | qoffset_x |
double | qoffset_y |
double | qoffset_z |
double | srow_x [4] |
double | srow_y [4] |
double | srow_z [4] |
int32_t | slice_code |
int32_t | xyzt_units |
int32_t | intent_code |
char | intent_name [16] |
char | dim_info |
char | unused_str [15] |
Data structure defining the fields in the nifti2 header. This binary header should be found at the beginning of a valid NIFTI-2 header file.
char cifti::nifti_2_header::aux_file[24] |
auxiliary filename.
int16_t cifti::nifti_2_header::bitpix |
Number bits/voxel.
double cifti::nifti_2_header::cal_max |
Max display intensity
double cifti::nifti_2_header::cal_min |
Min display intensity
int16_t cifti::nifti_2_header::datatype |
Defines data type!
char cifti::nifti_2_header::descrip[80] |
any text you like.
int64_t cifti::nifti_2_header::dim[8] |
Data array dimensions.
char cifti::nifti_2_header::dim_info |
MRI slice ordering.
int32_t cifti::nifti_2_header::intent_code |
NIFTI_INTENT_* code.
char cifti::nifti_2_header::intent_name[16] |
'name' or meaning of data.
double cifti::nifti_2_header::intent_p1 |
1st intent parameter.
double cifti::nifti_2_header::intent_p2 |
2nd intent parameter.
double cifti::nifti_2_header::intent_p3 |
3rd intent parameter.
char cifti::nifti_2_header::magic[8] |
MUST be valid signature.
double cifti::nifti_2_header::pixdim[8] |
Grid spacings.
int32_t cifti::nifti_2_header::qform_code |
NIFTI_XFORM_* code.
double cifti::nifti_2_header::qoffset_x |
Quaternion x shift.
double cifti::nifti_2_header::qoffset_y |
Quaternion y shift.
double cifti::nifti_2_header::qoffset_z |
Quaternion z shift.
double cifti::nifti_2_header::quatern_b |
Quaternion b param.
double cifti::nifti_2_header::quatern_c |
Quaternion c param.
double cifti::nifti_2_header::quatern_d |
Quaternion d param.
double cifti::nifti_2_header::scl_inter |
Data scaling: offset.
double cifti::nifti_2_header::scl_slope |
Data scaling: slope.
int32_t cifti::nifti_2_header::sform_code |
NIFTI_XFORM_* code.
int32_t cifti::nifti_2_header::sizeof_hdr |
MUST be 540
int32_t cifti::nifti_2_header::slice_code |
Slice timing order.
double cifti::nifti_2_header::slice_duration |
Time for 1 slice.
int64_t cifti::nifti_2_header::slice_end |
Last slice index.
int64_t cifti::nifti_2_header::slice_start |
First slice index.
double cifti::nifti_2_header::srow_x[4] |
1st row affine transform.
double cifti::nifti_2_header::srow_y[4] |
2nd row affine transform.
double cifti::nifti_2_header::srow_z[4] |
3rd row affine transform.
double cifti::nifti_2_header::toffset |
Time axis shift.
char cifti::nifti_2_header::unused_str[15] |
unused, filled with \0
int64_t cifti::nifti_2_header::vox_offset |
Offset into .nii file
int32_t cifti::nifti_2_header::xyzt_units |
Units of pixdim[1..4]