Hi!
Might anyone know what part of the header file one would need to change (and what to change it to_ in order to correct the following error when loading a nifti file (or convered to nii.gz, or analyze by fslchfiletype) into an fsl program?
ERROR: Illegal NIfTI file - 121202175202
Zero determinant stored in sform and/or qform that is marked as valid
Here is the header info
filename 121202175202.nii
sizeof_hdr 348
data_type FLOAT32
dim0 4
dim1 80
dim2 64
dim3 40
dim4 255
dim5 1
dim6 1
dim7 1
vox_units mm
time_units ms
datatype 16
nbyper 4
bitpix 32
pixdim0 0.0000000000
pixdim1 3.0000000000
pixdim2 3.0000000000
pixdim3 3.0000000000
pixdim4 1750.0000000000
pixdim5 1.0000000000
pixdim6 1.0000000000
pixdim7 1.0000000000
vox_offset 352
cal_max 0.0000
cal_min 0.0000
scl_slope 1.000000
scl_inter 0.000000
phase_dim 2
freq_dim 1
slice_dim 3
slice_name alternating_increasing_2
slice_code 5
slice_start 0
slice_end 39
slice_duration 43750.000000
time_offset 0.000000
intent Unknown
intent_code 0
intent_name
intent_p1 0.000000
intent_p2 0.000000
intent_p3 0.000000
qform_name Scanner Anat
qform_code 1
qto_xyz:1 -0.000000 -3.000000 0.000000 96.000000
qto_xyz:2 -2.763556 -0.000000 -1.167372 121.113220
qto_xyz:3 -1.167372 0.000000 2.763556 8.323601
qto_xyz:4 0.000000 0.000000 0.000000 1.000000
qform_xorient Anterior-to-Posterior
qform_yorient Right-to-Left
qform_zorient Inferior-to-Superior
sform_name Aligned Anat
sform_code 2
sto_xyz:1 0.000000 0.000000 0.000000 0.000000
sto_xyz:2 0.000000 0.000000 0.000000 0.000000
sto_xyz:3 0.000000 0.000000 0.000000 0.000000
sto_xyz:4 0.000000 0.000000 0.000000 1.000000
sform_xorient Unknown
sform_yorient Unknown
sform_zorient Unknown
file_type NIFTI-1+
file_code 1
descrip NYU CBI recon version 5.1.2
aux_file
Many thanks!
Dan
|