Print

Print


Hi all,

I noticed a previously reported bug is occurring in FSLview. The saved
masks seem to be flipped.

I open fslview through the terminal and load a niftii file created by other
program. Then I draw a mask on it. After saving the mask I load it again.
Something weird happens to FSLview because the new file appears on the spot
of the mask while the mask itself is shifts on the contralateral side. At
this point I don't know what to trust, the mask that I loaded, or the mask
that I was drawing which now is contralateral. Is there a way to fix this
(I noticed other posts on this bug, not a solution though).

Dorian
TJU


Here are the details of the images:

Image loaded from other program:

filename       fefa.nii

sizeof_hdr     348
data_type      FLOAT64
dim0           4
dim1           128
dim2           128
dim3           66
dim4           3
dim5           1
dim6           1
dim7           1
vox_units      Unknown
time_units     Unknown
datatype       64
nbyper         8
bitpix         64
pixdim0        0.000000
pixdim1        2.000000
pixdim2        2.000000
pixdim3        2.000000
pixdim4        1.000000
pixdim5        1.000000
pixdim6        1.000000
pixdim7        1.000000
vox_offset     352
cal_max        0.0000
cal_min        0.0000
scl_slope      0.000000
scl_inter      0.000000
phase_dim      0
freq_dim       0
slice_dim      0
slice_name     Unknown
slice_code     0
slice_start    0
slice_end      0
slice_duration 0.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     Unknown
qform_code     0
qto_xyz:1      2.000000  0.000000  0.000000  0.000000
qto_xyz:2      0.000000  2.000000  0.000000  0.000000
qto_xyz:3      0.000000  0.000000  2.000000  0.000000
qto_xyz:4      0.000000  0.000000  0.000000  1.000000
qform_xorient  Left-to-Right
qform_yorient  Posterior-to-Anterior
qform_zorient  Inferior-to-Superior
sform_name     Scanner Anat
sform_code     1
sto_xyz:1      2.000000  0.000000  0.000000  -126.000000
sto_xyz:2      0.000000  2.000000  0.000000  -126.000000
sto_xyz:3      0.000000  0.000000  2.000000  -64.000000
sto_xyz:4      0.000000  0.000000  0.000000  1.000000
sform_xorient  Left-to-Right
sform_yorient  Posterior-to-Anterior
sform_zorient  Inferior-to-Superior
file_type      NIFTI-1+
file_code      1
descrip        Created with ExploreDTI
aux_file       none






Mask saved from FSLview:
filename       test3saved.nii.gz

sizeof_hdr     348
data_type      INT16
dim0           3
dim1           128
dim2           128
dim3           66
dim4           1
dim5           1
dim6           1
dim7           1
vox_units      mm
time_units     s
datatype       4
nbyper         2
bitpix         16
pixdim0        0.000000
pixdim1        2.000000
pixdim2        2.000000
pixdim3        2.000000
pixdim4        0.000000
pixdim5        0.000000
pixdim6        0.000000
pixdim7        0.000000
vox_offset     352
cal_max        4.0000
cal_min        0.0000
scl_slope      0.000000
scl_inter      0.000000
phase_dim      0
freq_dim       0
slice_dim      0
slice_name     Unknown
slice_code     0
slice_start    0
slice_end      0
slice_duration 0.000000
time_offset    0.000000
intent         Label index
intent_code    1002
intent_name
intent_p1      0.000000
intent_p2      0.000000
intent_p3      0.000000
qform_name     Scanner Anat
qform_code     1
qto_xyz:1      2.000000  0.000000  0.000000  -126.000000
qto_xyz:2      0.000000  2.000000  0.000000  -126.000000
qto_xyz:3      0.000000  0.000000  2.000000  -64.000000
qto_xyz:4      0.000000  0.000000  0.000000  1.000000
qform_xorient  Left-to-Right
qform_yorient  Posterior-to-Anterior
qform_zorient  Inferior-to-Superior
sform_name     Scanner Anat
sform_code     1
sto_xyz:1      2.000000  0.000000  0.000000  -126.000000
sto_xyz:2      0.000000  2.000000  0.000000  -126.000000
sto_xyz:3      0.000000  0.000000  2.000000  -64.000000
sto_xyz:4      0.000000  0.000000  0.000000  1.000000
sform_xorient  Left-to-Right
sform_yorient  Posterior-to-Anterior
sform_zorient  Inferior-to-Superior
file_type      NIFTI-1+
file_code      1
descrip        FSL4.1
aux_file       Red-Yellowr