Dear SPM experts,
I´ve used the following code to extract the WM signal from my data (using the segmented image):
matlabbatch{1}.spm.util.voi.spmmat = {'C:\...\GLM\SPM.mat'};
matlabbatch{1}.spm.util.voi.adjust = NaN;
matlabbatch{1}.spm.util.voi.session = 1;
matlabbatch{1}.spm.util.voi.name = 'WM';
matlabbatch{1}.spm.util.voi.roi{1}.mask.image = {'C:\...\anat\wc2_T1.nii,1'};
matlabbatch{1}.spm.util.voi.roi{1}.mask.threshold = 0.5;
matlabbatch{1}.spm.util.voi.roi{2}.mask.image = {'C:\...\GLM\mask.nii,1'};
matlabbatch{1}.spm.util.voi.roi{2}.mask.threshold = 0.5;
matlabbatch{1}.spm.util.voi.expression = 'i1&i2';
I just replaced the VOI sphere suggested at SPM Manual (matlabbatch{1}.spm.util.voi.roi{1}.sphere.centre = [0 -24 -33]...) by the segmented image (wc2). Please, is it rigth?
Thanks a lot.
Helka
|