Skip to content

Neuroimaging Informatics Technology Initiative

Sections
Personal tools
You are here: Home » NIfTI-1 Data Format » Test Data Sets » minimal

minimal

Document Actions

minimal nifti1 dataset

minimal.img/.hdr (ni1) version

The "minimal" dataset (minimal.hdr/img and minimal.nii) is provided as an example and test dataset. It contains close to the minimum number of header fields that need to be set in a nifti1 dataset and have it still conform to the nifti1 standard. It is not the very minimum, because one could create a 1 dimensional image. But, we wanted to provide a minimal dataset that could be loaded and viewed as an image. minimal.img is a simple ramp image, increasing from 0-63 along the Y axis. See the nifti1 FAQ question #4 for an explanation of the minimal fields that must be set in a nifti1 dataset.

Binary download: minimal.hdr minimal.img

> nifti_tool -disp_hdr -infiles minimal.hdr

header file minimal.hdr, num_fields = 43

minimal.nii (n+1) version

all fields: name offset nvals values ------------------- ------ ----- ------ sizeof_hdr 0 1 348 data_type 4 10 db_name 14 18 extents 32 1 0 session_error 36 1 0 regular 38 1 dim_info 39 1 0 dim 40 8 3 64 64 10 0 0 0 0 intent_p1 56 1 0.0 intent_p2 60 1 0.0 intent_p3 64 1 0.0 intent_code 68 1 0 datatype 70 1 2 bitpix 72 1 8 slice_start 74 1 0 pixdim 76 8 0.0 3.0 3.0 3.0 0.0 0.0 0.0 0.0 vox_offset 108 1 0.0 scl_slope 112 1 0.0 scl_inter 116 1 0.0 slice_end 120 1 0 slice_code 122 1 0 xyzt_units 123 1 0 cal_max 124 1 0.0 cal_min 128 1 0.0 slice_duration 132 1 0.0 toffset 136 1 0.0 glmax 140 1 0 glmin 144 1 0 descrip 148 80 aux_file 228 24 qform_code 252 1 0 sform_code 254 1 0 quatern_b 256 1 0.0 quatern_c 260 1 0.0 quatern_d 264 1 0.0 qoffset_x 268 1 0.0 qoffset_y 272 1 0.0 qoffset_z 276 1 0.0 srow_x 280 4 0.0 0.0 0.0 0.0 srow_y 296 4 0.0 0.0 0.0 0.0 srow_z 312 4 0.0 0.0 0.0 0.0 intent_name 328 16 magic 344 4 ni1

Binary download: minimal.nii

> nifti_tool -disp_hdr -infiles minimal.nii

header file minimal.nii, num_fields = 43

all fields: name offset nvals values ------------------- ------ ----- ------ sizeof_hdr 0 1 348 data_type 4 10 db_name 14 18 extents 32 1 0 session_error 36 1 0 regular 38 1 dim_info 39 1 0 dim 40 8 3 64 64 10 0 0 0 0 intent_p1 56 1 0.0 intent_p2 60 1 0.0 intent_p3 64 1 0.0 intent_code 68 1 0 datatype 70 1 2 bitpix 72 1 8 slice_start 74 1 0 pixdim 76 8 0.0 3.0 3.0 3.0 0.0 0.0 0.0 0.0 vox_offset 108 1 352.0 scl_slope 112 1 0.0 scl_inter 116 1 0.0 slice_end 120 1 0 slice_code 122 1 0 xyzt_units 123 1 0 cal_max 124 1 0.0 cal_min 128 1 0.0 slice_duration 132 1 0.0 toffset 136 1 0.0 glmax 140 1 0 glmin 144 1 0 descrip 148 80 aux_file 228 24 qform_code 252 1 0 sform_code 254 1 0 quatern_b 256 1 0.0 quatern_c 260 1 0.0 quatern_d 264 1 0.0 qoffset_x 268 1 0.0 qoffset_y 272 1 0.0 qoffset_z 276 1 0.0 srow_x 280 4 0.0 0.0 0.0 0.0 srow_y 296 4 0.0 0.0 0.0 0.0 srow_z 312 4 0.0 0.0 0.0 0.0 intent_name 328 16 magic 344 4 n+1

Created by Brian Pittman
Last modified 2006-04-13 19:05
 

Powered by Plone

This site conforms to the following standards: