VTK  9.1.0
Public Attributes | List of all members
nifti_1_header Struct Reference

Data structure defining the fields in the nifti1 header. This binary header should be found at the beginning of a valid NIFTI-1 header file. More...

#include <vtkNIFTIImagePrivate.h>

Public Attributes

int sizeof_hdr
 
char data_type [10]
 
char db_name [18]
 
int extents
 
short session_error
 
char regular
 
char dim_info
 
short dim [8]
 
float intent_p1
 
float intent_p2
 
float intent_p3
 
short intent_code
 
short datatype
 
short bitpix
 
short slice_start
 
float pixdim [8]
 
float vox_offset
 
float scl_slope
 
float scl_inter
 
short slice_end
 
char slice_code
 
char xyzt_units
 
float cal_max
 
float cal_min
 
float slice_duration
 
float toffset
 
int glmax
 
int glmin
 
char descrip [80]
 
char aux_file [24]
 
short qform_code
 
short sform_code
 
float quatern_b
 
float quatern_c
 
float quatern_d
 
float qoffset_x
 
float qoffset_y
 
float qoffset_z
 
float srow_x [4]
 
float srow_y [4]
 
float srow_z [4]
 
char intent_name [16]
 
char magic [4]
 

Detailed Description

Data structure defining the fields in the nifti1 header. This binary header should be found at the beginning of a valid NIFTI-1 header file.

Definition at line 37 of file vtkNIFTIImagePrivate.h.

Member Data Documentation

◆ sizeof_hdr

int nifti_1_header::sizeof_hdr

MUST be 348

Definition at line 41 of file vtkNIFTIImagePrivate.h.

◆ data_type

char nifti_1_header::data_type[10]

++UNUSED++

Definition at line 42 of file vtkNIFTIImagePrivate.h.

◆ db_name

char nifti_1_header::db_name[18]

++UNUSED++

Definition at line 43 of file vtkNIFTIImagePrivate.h.

◆ extents

int nifti_1_header::extents

++UNUSED++

Definition at line 44 of file vtkNIFTIImagePrivate.h.

◆ session_error

short nifti_1_header::session_error

++UNUSED++

Definition at line 45 of file vtkNIFTIImagePrivate.h.

◆ regular

char nifti_1_header::regular

++UNUSED++

Definition at line 46 of file vtkNIFTIImagePrivate.h.

◆ dim_info

char nifti_1_header::dim_info

MRI slice ordering.

Definition at line 47 of file vtkNIFTIImagePrivate.h.

◆ dim

short nifti_1_header::dim[8]

Data array dimensions.

Definition at line 48 of file vtkNIFTIImagePrivate.h.

◆ intent_p1

float nifti_1_header::intent_p1

1st intent parameter.

Definition at line 49 of file vtkNIFTIImagePrivate.h.

◆ intent_p2

float nifti_1_header::intent_p2

2nd intent parameter.

Definition at line 50 of file vtkNIFTIImagePrivate.h.

◆ intent_p3

float nifti_1_header::intent_p3

3rd intent parameter.

Definition at line 51 of file vtkNIFTIImagePrivate.h.

◆ intent_code

short nifti_1_header::intent_code

NIFTI_INTENT_* code.

Definition at line 52 of file vtkNIFTIImagePrivate.h.

◆ datatype

short nifti_1_header::datatype

Defines data type!

Definition at line 53 of file vtkNIFTIImagePrivate.h.

◆ bitpix

short nifti_1_header::bitpix

Number bits/voxel.

Definition at line 54 of file vtkNIFTIImagePrivate.h.

◆ slice_start

short nifti_1_header::slice_start

First slice index.

Definition at line 55 of file vtkNIFTIImagePrivate.h.

◆ pixdim

float nifti_1_header::pixdim[8]

Grid spacings.

Definition at line 56 of file vtkNIFTIImagePrivate.h.

◆ vox_offset

float nifti_1_header::vox_offset

Offset into .nii file

Definition at line 57 of file vtkNIFTIImagePrivate.h.

◆ scl_slope

float nifti_1_header::scl_slope

Data scaling: slope.

Definition at line 58 of file vtkNIFTIImagePrivate.h.

◆ scl_inter

float nifti_1_header::scl_inter

Data scaling: offset.

Definition at line 59 of file vtkNIFTIImagePrivate.h.

◆ slice_end

short nifti_1_header::slice_end

Last slice index.

Definition at line 60 of file vtkNIFTIImagePrivate.h.

◆ slice_code

char nifti_1_header::slice_code

Slice timing order.

Definition at line 61 of file vtkNIFTIImagePrivate.h.

◆ xyzt_units

char nifti_1_header::xyzt_units

Units of pixdim[1..4]

Definition at line 62 of file vtkNIFTIImagePrivate.h.

◆ cal_max

float nifti_1_header::cal_max

Max display intensity

Definition at line 63 of file vtkNIFTIImagePrivate.h.

◆ cal_min

float nifti_1_header::cal_min

Min display intensity

Definition at line 64 of file vtkNIFTIImagePrivate.h.

◆ slice_duration

float nifti_1_header::slice_duration

Time for 1 slice.

Definition at line 65 of file vtkNIFTIImagePrivate.h.

◆ toffset

float nifti_1_header::toffset

Time axis shift.

Definition at line 66 of file vtkNIFTIImagePrivate.h.

◆ glmax

int nifti_1_header::glmax

++UNUSED++

Definition at line 67 of file vtkNIFTIImagePrivate.h.

◆ glmin

int nifti_1_header::glmin

++UNUSED++

Definition at line 68 of file vtkNIFTIImagePrivate.h.

◆ descrip

char nifti_1_header::descrip[80]

any text you like.

Definition at line 69 of file vtkNIFTIImagePrivate.h.

◆ aux_file

char nifti_1_header::aux_file[24]

auxiliary filename.

Definition at line 70 of file vtkNIFTIImagePrivate.h.

◆ qform_code

short nifti_1_header::qform_code

NIFTI_XFORM_* code.

Definition at line 71 of file vtkNIFTIImagePrivate.h.

◆ sform_code

short nifti_1_header::sform_code

NIFTI_XFORM_* code.

Definition at line 72 of file vtkNIFTIImagePrivate.h.

◆ quatern_b

float nifti_1_header::quatern_b

Quaternion b param.

Definition at line 73 of file vtkNIFTIImagePrivate.h.

◆ quatern_c

float nifti_1_header::quatern_c

Quaternion c param.

Definition at line 74 of file vtkNIFTIImagePrivate.h.

◆ quatern_d

float nifti_1_header::quatern_d

Quaternion d param.

Definition at line 75 of file vtkNIFTIImagePrivate.h.

◆ qoffset_x

float nifti_1_header::qoffset_x

Quaternion x shift.

Definition at line 76 of file vtkNIFTIImagePrivate.h.

◆ qoffset_y

float nifti_1_header::qoffset_y

Quaternion y shift.

Definition at line 77 of file vtkNIFTIImagePrivate.h.

◆ qoffset_z

float nifti_1_header::qoffset_z

Quaternion z shift.

Definition at line 78 of file vtkNIFTIImagePrivate.h.

◆ srow_x

float nifti_1_header::srow_x[4]

1st row affine transform.

Definition at line 79 of file vtkNIFTIImagePrivate.h.

◆ srow_y

float nifti_1_header::srow_y[4]

2nd row affine transform.

Definition at line 80 of file vtkNIFTIImagePrivate.h.

◆ srow_z

float nifti_1_header::srow_z[4]

3rd row affine transform.

Definition at line 81 of file vtkNIFTIImagePrivate.h.

◆ intent_name

char nifti_1_header::intent_name[16]

'name' or meaning of data.

Definition at line 82 of file vtkNIFTIImagePrivate.h.

◆ magic

char nifti_1_header::magic[4]

MUST be "ni1\0" or "n+1\0".

Definition at line 83 of file vtkNIFTIImagePrivate.h.


The documentation for this struct was generated from the following file: