Print

Print


Hello - are you using FSL 5.0.8? Did your randomise call use a mask image ( with -m )?

Kind Regards
Matthew

> Hi,
> 
> I'm having a recurring issue with randomise (v2.9) output images not having a complete header (see below). I saw this issue mentioned on the forums before, but I can't find the solution:
> 
> JISCMail - FSL Archive - Re: Randomise and file header (https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=FSL;339c1513.1403)
> 
> Is this a bug in randomise? As a workaround, I'm using fslcpgeom to copy the header/dimension information from another image to make the randomise output display correctly in other programs (e.g., MRIcroN).
> 
> Thanks!
> David
> 
> 
> 
> vpn-client-172-16-8-231:cope1_3p6 DVS$ fslhd randomise_tfce_corrp_tstat1.nii.gz 
> filename       randomise_tfce_corrp_tstat1.nii.gz
> 
> sizeof_hdr     348
> data_type      FLOAT32
> dim0           3
> dim1           87
> dim2           105
> dim3           87
> dim4           1
> dim5           1
> dim6           1
> dim7           1
> vox_units      mm
> time_units     s
> datatype       16
> nbyper         4
> bitpix         32
> pixdim0        0.000000
> pixdim1        1.000000
> pixdim2        1.000000
> pixdim3        1.000000
> pixdim4        1.000000
> pixdim5        0.000000
> pixdim6        0.000000
> pixdim7        0.000000
> vox_offset     352
> cal_max        0.0000
> cal_min        0.0000
> scl_slope      1.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      1.000000  0.000000  0.000000  0.000000
> qto_xyz:2      0.000000  1.000000  0.000000  0.000000
> qto_xyz:3      0.000000  0.000000  1.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     Unknown
> sform_code     0
> 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  0.000000
> sform_xorient  Unknown
> sform_yorient  Unknown
> sform_zorient  Unknown
> file_type      NIFTI-1+
> file_code      1
> descrip        FSL5.0
> aux_file