Hi Jack,
This shouldn't be an endian problem. FSL should deal with endian stuff
fine. We have a mix of endian machines here and never see the problem.
The only thing I can see in the headers is that the solaris version has
a ridiculous origin set. I think this is a bug in v3.2 that has been
fixed for
ages. I would certainly recommend downloading the newest version
and trying again. If you still have trouble, then send us the command lines
that you are using.
All the best,
Mark
Jack Grinband wrote:
>Hi Mark,
>I'm having problems applying a flirt transform to a mask. I created the
>mask on OSX in MNI standard space and I normally apply the
>standard2example_func transform on the mask on Solaris. I then overlay the
>mask onto example_func without any problems.
>
>I recently got some data that was created on Linux. I then did a full
>analysis on it, on Solaris. Now when I try to apply the
>standard2example_func transform, I get an empty mask.
>
>I tried changing data types, but it didn't seem to help. I'm not really
>sure what to try next. Is it an endian problem?
>
>I've attached the header output for the three different files: the original
>OSX mask, the Linux data, and the Flirt transformed/Solaris data.
>
>Any ideas of what I should try next? thanks!
>
>jack
>
>=============
>
>=================================
>Mask created on OSX
>=================================
>
>filename V1premask
>
>sizeof_hdr 348
>data_type
>db_name
>extents 0
>session_error 0
>regular r
>hkey_un0
>dim0 3
>dim1 91
>dim2 109
>dim3 91
>dim4 1
>dim5 1
>dim6 1
>dim7 1
>vox_units
>cal_units
>unused1 0
>datatype 4
>bitpix 16
>pixdim0 0.0000000000
>pixdim1 -2.0000000000
>pixdim2 2.0000000000
>pixdim3 2.0000000000
>pixdim4 1.0000000000
>pixdim5 1.0000000000
>pixdim6 1.0000000000
>pixdim7 1.0000000000
>vox_offset 0.0000
>funused1 0.0000
>funused2 0.0000
>funused3 0.0000
>cal_max 4.0000
>cal_min 0.0000
>compressed 0
>verified 0
>glmax 0
>glmin 0
>descrip FSL3.2beta
>aux_file Red to yellow
>†@
>orient 0
>originator
>origin1 46
>origin2 64
>origin3 37
>generated
>scannum
>patient_id
>exp_date
>exp_time
>hist_un0
>views 0
>vols_added 0
>start_field 0
>field_skip 0
>omax 0
>omin 0
>smin 0
>smin 0
>file_type ANALYZE-7.5
>file_code 0
>
>=================================
>Data created on Linux
>=================================
>filename r1
>
>sizeof_hdr 348
>data_type
>db_name
>extents 0
>session_error 0
>regular r
>hkey_un0
>dim0 4
>dim1 64
>dim2 64
>dim3 28
>dim4 82
>dim5 1
>dim6 1
>dim7 1
>vox_units
>cal_units
>unused1 0
>datatype 4
>bitpix 16
>pixdim0 0.0000000000
>pixdim1 3.0000000000
>pixdim2 3.0000000000
>pixdim3 5.0000000000
>pixdim4 0.0000000000
>pixdim5 1.0000000000
>pixdim6 1.0000000000
>pixdim7 1.0000000000
>vox_offset 0.0000
>funused1 0.0000
>funused2 0.0000
>funused3 0.0000
>cal_max 0.0000
>cal_min 0.0000
>compressed 0
>verified 0
>glmax 0
>glmin 0
>descrip FSL3.2beta
>aux_file
>orient 0
>originator
>origin1 0
>origin2 0
>origin3 0
>generated
>scannum
>patient_id
>exp_date
>exp_time
>hist_un0
>views 0
>vols_added 0
>start_field 0
>field_skip 0
>omax 0
>omin 0
>smin 0
>smin 0
>file_type ANALYZE-7.5
>file_code 0
>[nimbus/data/matt_old/xAB/s01]
>
>
>=================================
>Data created on Solaris (applied transform)
>=================================
>filename test1
>
>sizeof_hdr 348
>data_type
>db_name
>extents 0
>session_error 0
>regular r
>hkey_un0
>dim0 3
>dim1 64
>dim2 64
>dim3 28
>dim4 1
>dim5 1
>dim6 1
>dim7 1
>vox_units
>cal_units
>unused1 0
>datatype 4
>bitpix 16
>pixdim0 0.0000000000
>pixdim1 -3.0000000000
>pixdim2 3.0000000000
>pixdim3 5.0000000000
>pixdim4 1.0000000000
>pixdim5 1.0000000000
>pixdim6 1.0000000000
>pixdim7 1.0000000000
>vox_offset 0.0000
>funused1 0.0000
>funused2 0.0000
>funused3 0.0000
>cal_max 0.0000
>cal_min 0.0000
>compressed 0
>verified 0
>glmax 0
>glmin 0
>descrip FSL3.2beta
>aux_file
>orient 0
>originator
>origin1 8192
>origin2 9472
>origin3 3072
>generated
>scannum
>patient_id
>exp_date
>exp_time
>hist_un0
>views 0
>vols_added 0
>start_field 0
>field_skip 0
>omax 0
>omin 0
>smin 0
>smin 0
>file_type ANALYZE-7.5
>file_code 0
>
>
|