An option would be to use spm_read_vols and spm_write_vol to convert
your images to float - there the scaling factor can be set to 1 without
losing information. Or use SPM5 to read the images in analyze format and
write the images once as nifti.
On Wed, 8 Mar 2006, Ged Ridgway wrote:
> Mark Jenkinson wrote:
> > So I recommend checking the funused fields (you can look at the
> > output of avwhd) and if they are zeros then you can proceed without
> > problem.
>
> Actually I'm afraid it gets worse... I have Analyze images (I think produced
> from SPM99) that include a scale-factor which doesn't show up in these
> fields...
>
> SPM5 shows the images as having intensity from 0 to 1, while avwhd shows all
> (unused1, funused1, funused2, funused3) as zero, with the glmax as 32767 -- so
> perhaps you need to scale by this in some situations? Try asking on the SPM
> list if that is where your images originate.
>
> Best of luck,
> Ged.
>
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|