Use spm_create_vol and spm_write_plane. This will preserve the scalefactors.
See spm_write_vol.m for information about how to use these.
Best regards,
-John
On Tuesday 20 September 2005 04:54, Jung L Hsu wrote:
> Dear expert,
> I have a uint16 image and when I try to write it down in analyze format
> (uint16), I use spm_write_vol function. The original scale factor is 1 but
> the final image sacle factor becomes 0.0305. How to preserve original
> intensity and keep scale factor as 1 ?
> thanks replay
|