There's a scalefactor in the headers that should be set correctly.
See the NIfTI web pages for more info.
Best regards,
-John
On 10 May 2011 11:49, Helen Beaumont
<[log in to unmask]> wrote:
> I am writing an image using writeanalyze (from Colin Humphries at University
> of California, Irvine). Image intensity is written in float, but I have the
> same problem if I use int32 or int64.
>
> Values are typically ~30000.
>
> When I read the image back with spm_read_vols, the values come back as e-39.
>
> I’ve looked at the code, but spm_read_vols calls spm_slice_vol, which is
> compiled.
>
> Can someone please help me sort this.
>
>
>
> Helen Beaumont
>
> ISBE
>
> University of Manchester
>
> Stopford Building, Oxford Rd
>
> Manchester M13 9PT
>
> Tel: 0161 275 1259
>
>
>
>
|