Dear On Tsang,
without looking into SPMs code: is it possible that you tried to
preproc more than one image at once? V should probably contain only
one volume handle...
Volkmar
Zitat von On Tsang <[log in to unmask]>:
> Hello All,
>
> I am currently trying to use the command line to do segmentation of a brain
> into the WM, GM, and CSF components. Using the command line spm_preproc
> gives me an error:
>
> ??? Field reference for multiple structure elements that is followed by more
> reference blocks is an error.
>
> Error in ==> spm_preproc at 121
> ff = max(1,ff^3/prod(sk)/abs(det(V.mat(1:3,1:3))));
>
> However, I am very puzzled since the GUI version should also call
> spm_preproc and the error seems to indicate that the problem is with the
> indexing of V.mat.
>
> I am loading the spm_defaults file and using defaults.preproc as an argument
> to spm_preproc.
>
> Can someone please point me in the right direction?
>
> Thanks
> On Tsang
|