nifti1_io
|
High level data structure for open nifti datasets in the nifti1_io API. Note that this structure is not part of the nifti1 format definition; it is used to implement one API for reading/writing formats in the nifti1 format. More...
#include <nifti1_io.h>
Public Attributes | |
int | ndim |
int | nx |
int | ny |
int | nz |
int | nt |
int | nu |
int | nv |
int | nw |
int | dim [8] |
size_t | nvox |
int | nbyper |
int | datatype |
float | dx |
float | dy |
float | dz |
float | dt |
float | du |
float | dv |
float | dw |
float | pixdim [8] |
float | scl_slope |
float | scl_inter |
float | cal_min |
float | cal_max |
int | qform_code |
int | sform_code |
int | freq_dim |
int | phase_dim |
int | slice_dim |
int | slice_code |
int | slice_start |
int | slice_end |
float | slice_duration |
float | quatern_b |
float | quatern_c |
float | quatern_d |
float | qoffset_x |
float | qoffset_y |
float | qoffset_z |
float | qfac |
mat44 | qto_xyz |
mat44 | qto_ijk |
mat44 | sto_xyz |
mat44 | sto_ijk |
float | toffset |
int | xyz_units |
int | time_units |
int | nifti_type |
int | intent_code |
float | intent_p1 |
float | intent_p2 |
float | intent_p3 |
char | intent_name [16] |
char | descrip [80] |
char | aux_file [24] |
char * | fname |
char * | iname |
int | iname_offset |
int | swapsize |
int | byteorder |
void * | data |
int | num_ext |
nifti1_extension * | ext_list |
analyze_75_orient_code | analyze75_orient |
High level data structure for open nifti datasets in the nifti1_io API. Note that this structure is not part of the nifti1 format definition; it is used to implement one API for reading/writing formats in the nifti1 format.
analyze_75_orient_code nifti_image::analyze75_orient |
for old analyze files, orient
char nifti_image::aux_file[24] |
auxiliary filename
byte order on disk (MSB_ or LSB_FIRST)
float nifti_image::cal_max |
calibration parameter, maximum
float nifti_image::cal_min |
calibration parameter, minimum
void* nifti_image::data |
pointer to data: nbyper*nvox bytes
type of data in voxels: DT_* code
char nifti_image::descrip[80] |
optional text to describe dataset
int nifti_image::dim[8] |
dim[0]=ndim, dim[1]=nx, etc.
float nifti_image::dt |
grid spacings
float nifti_image::du |
grid spacings
float nifti_image::dv |
grid spacings
float nifti_image::dw |
grid spacings
float nifti_image::dx |
grid spacings
float nifti_image::dy |
grid spacings
float nifti_image::dz |
grid spacings
array of extension structs (with data)
char* nifti_image::fname |
header filename (.hdr or .nii)
indexes (1,2,3, or 0) for MRI
char* nifti_image::iname |
image filename (.img or .nii)
offset into iname where data starts
statistic type (or something)
char nifti_image::intent_name[16] |
optional description of intent data
float nifti_image::intent_p1 |
intent parameters
float nifti_image::intent_p2 |
intent parameters
float nifti_image::intent_p3 |
intent parameters
bytes per voxel, matches datatype
< Image storage struct last dimension greater than 1 (1..7)
0==ANALYZE, 1==NIFTI-1 (1 file), 2==NIFTI-1 (2 files), 3==NIFTI-ASCII (1 file)
int nifti_image::nt |
dimensions of grid array
int nifti_image::nu |
dimensions of grid array
number of extensions in ext_list
int nifti_image::nv |
dimensions of grid array
size_t nifti_image::nvox |
number of voxels = nx*ny*nz*...*nw
int nifti_image::nw |
dimensions of grid array
int nifti_image::nx |
dimensions of grid array
int nifti_image::ny |
dimensions of grid array
int nifti_image::nz |
dimensions of grid array
directions in dim[]/pixdim[]
float nifti_image::pixdim[8] |
pixdim[1]=dx, etc.
codes for (x,y,z) space meaning
qform: transform (x,y,z) to (i,j,k)
qform: transform (i,j,k) to (x,y,z)
float nifti_image::quatern_b |
quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]
float nifti_image::scl_inter |
scaling parameter - intercept
float nifti_image::scl_slope |
scaling parameter - slope
codes for (x,y,z) space meaning
code for slice timing pattern
directions in dim[]/pixdim[]
time between individual slices
index for end of slices
index for start of slices
sform: transform (x,y,z) to (i,j,k)
sform: transform (i,j,k) to (x,y,z)
swap unit in image data (might be 0)
dt units: NIFTI_UNITS_* code
float nifti_image::toffset |
time coordinate offset
dx,dy,dz units: NIFTI_UNITS_* code