Hi - Mark was right - you have an "illegal" data type - "132".
You can easily fix the header with avwcreatehd - you will need to work out
the code number for your datatype - look at the end of
fsl/stable-src/libss/libavw.c
Thanks, Steve.
On Thu, 10 Oct 2002, Jazmin Schwartz wrote:
> Hello Mark:
>
> Thanks for your message. Here's the output from running avwhd:
>
>
> filename an_edb.hdr
>
> sizeof_hdr 348
> data_type dsr
> db_name /home/schwartz/sa
> extents 0
> session_error 0
> regular r
> hkey_un0 0
> dim0 4
> dim1 256
> dim2 256
> dim3 21
> dim4 1
> dim5 0
> dim6 0
> dim7 0
> vox_units mm
> cal_units
> unused1 0
> datatype 132
> bitpix 0
> pixdim0 0.0000000000
> pixdim1 0.7500000000
> pixdim2 0.7500000000
> pixdim3 4.5000000000
> pixdim4 0.0000000000
> pixdim5 0.0000000000
> pixdim6 0.0000000000
> pixdim7 0.0000000000
> vox_offset 0.0000
> funused1 1.0000
> funused2 0.0000
> funused3 0.0000
> cal_max 0.0000
> cal_min 0.0000
> compressed 0
> verified 0
> glmax 1
> glmin 0
> descrip T1 data converted for SPM
> aux_file none
> 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
>
>
> In a message dated Thu, 10 Oct 2002 14:09:47 +1000, Mark Jenkinson <[log in to unmask]> writes:
>
> >Hi,
> >
> >You aren't doing anything wrong (I think).
> >
> >It is possible that there is a problem with the header file or that the image
> >has been saved with a non-standard Analyze datatype which FSL doesn't support
> >(in which case there may be a simple way of converting it to a supported type).
> >
> >Could you please send us the output of the command "avwhd" run on the .hdr file?
> >Then we'll be able to sort out the problem.
> >
> >All the best,
> > Mark
> >
> >
> >
> >
> >Jazmin Schwartz wrote:
> >> I am trying to use the BET utility with .img and .hdr files that I use in
> >> SPM and I get the following message:
> >>
> >> bet has not been compiled for the data type
> >>
> >> What am I doing wrong ???
> >>
> >>
> >> Thanks
> >> jazmin
> >
>
>
> --
> Jazmin Schwart, Ph.D.
> Postdoctoral Fellow
> Functional MRI Laboratory
> Memorial Sloan Kattering Cancer Center
>
Stephen M. Smith
Head of Image Analysis, FMRIB
Oxford University Centre for Functional MRI of the Brain
John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
|