Dear John and SPMers:
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?
Rob McClure
Robert K. McClure MD, Assistant Professor
Department of Psychiatry, School of Medicine
University of North Carolina at Chapel Hill
Address: Campus Box #7160
Chapel Hill, NC, 27510-7160, USA
E-mail: [log in to unmask]
Office phone: 919-843-6629
|