Dear Allen,
this is not a bug, this is a feature... SPM saves a copy of the header
information for each image in SPM.mat during estimation/contrast
computation. This includes information about endianness of the image
data. You will have to change this information. Some code to do this
in the Volumes toolbox, available from the SPM extensions web page. (I
wrote the SPM2 code a long time ago, but I think the endianness issue
is dealt with also in this ancient code.)
Volkmar
Quoting Allison Nugent <[log in to unmask]>:
> Hello,
>
> I'm in the process of converting from a solaris machine to a linux
> machine, and I'm having some trouble with spm2. I have a few old analyses
> that I've completed in spm2 on solaris. When I try to view results with my
> linux machine, I'm given erroneous results, as if the spmT_####.img files
> were being read in the incorrect endian. What's odd is that if I use the
> "display" function, the T images are shown correctly, the problem only
> appears when I try to use the "results" function. Is this a known bug that
> there might be a patch for?
>
> Thanks!
>
> Allison
>
|