> We are working on VBM of grey, white and CSF images in SPM2, using a
> segmentation algorithm outside of SPM2 and John's script to make
> custom templates. We are working on the Jacobian modulation step,
> outside of the script/batch mode.
>
> We are using a function previously posted (Andreas Bartsch,
> 2/28/03),
>
> Imge = spm_get(1,'*.img','Select image to modulate');
> Parm = spm_get(1,'*_sn.mat','Select spatial normalisation params')
> spm_write_sn(Imge,Parm,'modulate');
>
> and have tried a similar function,
>
> V = spm_get(1,'*.img','Select image to modulate');
> prm = spm_get(1,'*_sn.mat','Select spatial normalisation params');
> spm_write_sn(V,prm,'modulate');
>
> Both scripts call up the .img files and the .mat files, but the
> modulation fails due to error messages claiming "undefined variables".
>
> What is going on with this script?
I have no idea. What was the rest of the error message?
Best regards,
-John
|