Main Page | Modules | Class List | File List | Class Members | File Members

nifti_image Struct Reference

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>

List of all members.

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_extensionext_list
analyze_75_orient_code analyze75_orient


Detailed Description

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.


Member Data Documentation

analyze_75_orient_code nifti_image::analyze75_orient
 

for old analyze files, orient

char nifti_image::aux_file[24]
 

auxiliary filename

int nifti_image::byteorder
 

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

int nifti_image::datatype
 

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

nifti1_extension* nifti_image::ext_list
 

array of extension structs (with data)

char* nifti_image::fname
 

header filename (.hdr or .nii)

int nifti_image::freq_dim
 

indexes (1,2,3, or 0) for MRI

char* nifti_image::iname
 

image filename (.img or .nii)

int nifti_image::iname_offset
 

offset into iname where data starts

int nifti_image::intent_code
 

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

int nifti_image::nbyper
 

bytes per voxel, matches datatype

int nifti_image::ndim
 

last dimension greater than 1 (1..7)

int nifti_image::nifti_type
 

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

int nifti_image::num_ext
 

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

int nifti_image::phase_dim
 

directions in dim[]/pixdim[]

float nifti_image::pixdim[8]
 

pixdim[1]=dx, etc.

float nifti_image::qfac
 

quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]

int nifti_image::qform_code
 

codes for (x,y,z) space meaning

float nifti_image::qoffset_x
 

quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]

float nifti_image::qoffset_y
 

quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]

float nifti_image::qoffset_z
 

quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]

mat44 nifti_image::qto_ijk
 

qform: transform (x,y,z) to (i,j,k)

mat44 nifti_image::qto_xyz
 

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::quatern_c
 

quaternion transform parameters [when writing a dataset, these are used for qform, NOT qto_xyz]

float nifti_image::quatern_d
 

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

int nifti_image::sform_code
 

codes for (x,y,z) space meaning

int nifti_image::slice_code
 

code for slice timing pattern

int nifti_image::slice_dim
 

directions in dim[]/pixdim[]

float nifti_image::slice_duration
 

time between individual slices

int nifti_image::slice_end
 

index for end of slices

int nifti_image::slice_start
 

index for start of slices

mat44 nifti_image::sto_ijk
 

sform: transform (x,y,z) to (i,j,k)

mat44 nifti_image::sto_xyz
 

sform: transform (i,j,k) to (x,y,z)

int nifti_image::swapsize
 

swap unit in image data (might be 0)

int nifti_image::time_units
 

dt units: NIFTI_UNITS_* code

float nifti_image::toffset
 

time coordinate offset

int nifti_image::xyz_units
 

dx,dy,dz units: NIFTI_UNITS_* code


The documentation for this struct was generated from the following file:
Generated on Thu Dec 6 17:09:51 2007 for nifti1_io by  doxygen 1.3.9.1