All data in a 4D volume need to have the same scalefactor (if they are
saved with an integer datatype). If you don't know what the
scalefactor is before you do the processing, then it could be an idea
to save the data as some form of floating point (float or double).
I'd need to examine your script to say any more on the subject.
Best regards,
-John
On 22 November 2011 12:37, Omar Mothersill <[log in to unmask]> wrote:
> Dear SPM users,
>
> I wrote a MATLAB script to run preprocessing on my data, and everything
> seems to work fine, except for the fact that I receive the following error
> message during realignment:
>
> Warning: Incompatible scalefactor in "file directory" 0.094606~=0.095002.
>
> Does anyone know what might be causing this? I am currently using 4D Nifti
> files, might this be part of the problem?
>
> Thanks for your help,
>
> Omar
>
> --
> Omar Mothersill
>
> Room 0.18
> Neuropsychiatric Genetics Group
> Dept. of Psychiatry
> Trinity Centre for Health Sciences
> St. James's Hospital
> Dublin 8.
>
> Phone: 01 896 2464
> Email: [log in to unmask]
>
>
|