Dear list,
I have some problems on DCM VOI extraction. I used GUI to get VOI extractin before, found it really costed a lot of time.
I found batch scripts, and tried to use it. However, I found the batch I used created a different time series relative to my previous one with GUI. When I used the GUI of Results, I used a structure mask to get its maxima, and clicked the maximum coordinate in the table, got its time series, and I also found the coordinate in the VOI series. However, the batch script created a different time series, and the voxels and its values are all different. Can you help me to check this code below? I think I made some mistake. Thanks.
% Job configuration created by cfg_util (rev $Rev: 3944 $)
%-----------------------------------------------------------------------
matlabbatch{1}.spm.util.voi.spmmat = {'/ccm/home/DCM/postcontrols/GLM/SPM.mat'};
matlabbatch{1}.spm.util.voi.adjust = 1;
matlabbatch{1}.spm.util.voi.session = 1;
matlabbatch{1}.spm.util.voi.name = 'V1_test_1_3';
matlabbatch{1}.spm.util.voi.roi{1}.spm.spmmat = {''};
matlabbatch{1}.spm.util.voi.roi{1}.spm.contrast = 2;
matlabbatch{1}.spm.util.voi.roi{1}.spm.conjunction = 1;
matlabbatch{1}.spm.util.voi.roi{1}.spm.threshdesc = 'none';
matlabbatch{1}.spm.util.voi.roi{1}.spm.thresh = 1;
matlabbatch{1}.spm.util.voi.roi{1}.spm.extent = 0;
matlabbatch{1}.spm.util.voi.roi{1}.spm.mask = struct('contrast', {}, 'thresh', {}, 'mtype', {});
matlabbatch{1}.spm.util.voi.roi{2}.mask.image = {'/ccm/home/hyang/stroopstudy/DCM/postcontrols/GLM/V1_d1.img,1'};
matlabbatch{1}.spm.util.voi.roi{2}.mask.threshold = 0.5;
matlabbatch{1}.spm.util.voi.roi{3}.sphere.centre = [0 0 0];
matlabbatch{1}.spm.util.voi.roi{3}.sphere.radius = 8;
matlabbatch{1}.spm.util.voi.roi{3}.sphere.move.global.spm = 1;
matlabbatch{1}.spm.util.voi.roi{3}.sphere.move.global.mask = '';
matlabbatch{1}.spm.util.voi.expression = 'i1, i2';
Hongyu Yang, PhD
Research Specialist in Health Science
Pediatric Brain Research And InterventioN Center
Department of Psychiatry
1747 West Roosevelt Road, M/C 747
Chicago, Illinois 60608
Phone: (312) 413-4622
Fax: (312) 413-0063
Email: [log in to unmask]
http://www.psych.uic.edu/brain-center
|