nifti1_io
Public Attributes
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

auxiliary filename

byte order on disk (MSB_ or LSB_FIRST)

calibration parameter, maximum

calibration parameter, minimum

pointer to data: nbyper*nvox bytes

type of data in voxels: DT_* code

optional text to describe dataset

dim[0]=ndim, dim[1]=nx, etc.

grid spacings

grid spacings

grid spacings

grid spacings

grid spacings

grid spacings

grid spacings

array of extension structs (with data)

header filename (.hdr or .nii)

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

image filename (.img or .nii)

offset into iname where data starts

statistic type (or something)

optional description of intent data

intent parameters

intent parameters

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)

dimensions of grid array

dimensions of grid array

number of extensions in ext_list

dimensions of grid array

number of voxels = nx*ny*nz*...*nw

dimensions of grid array

dimensions of grid array

dimensions of grid array

dimensions of grid array

directions in dim[]/pixdim[]

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)

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

scaling parameter - intercept

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

time coordinate offset

dx,dy,dz units: NIFTI_UNITS_* code


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Defines