Pieter,
Your error suggests that the number of in-mask voxel coordinates
(SPM.xVol.XYZ) are different from the number of in-mask voxels
(SPM.xVol.S).
Both fields are defined by SPM in the function spm_spm.m, which is
independent of the pickatlas, so I'm not exactly sure how this happened,
but if you send me your SPM.mat file I'd be happy to take a closer look
at it.
-Aaron
Aaron Baer
Research Specialist
Advanced Neuroscience Imaging Research Core
Wake Forest University - Baptist Medical Center
Winston-Salem, NC 27104
(336) 716-0682
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of Pieter Vandemaele
Sent: Wednesday, June 08, 2005 4:48 AM
To: [log in to unmask]
Subject: [SPM] WFU PickAtlas error
Dear SPMers
When using the WFU PickAtlas we got the following error message when
chosing the
ROI button in the Results section. We used the atlas many times before,
but
suddenly the software crashes out. We tried all kinds of rois, from
saved rois
to rois defined by the gui. Is this some matlab error?
Thanks
Pieter Vandemaele
SPM2: wfu_spm_getSPM2_conj (v2.52) 10:45:19 - 08/06/2005
----------------------------------------------------------------
wfu_atlas_filename =
/data/EXPERIMENTEN/Masks/R-IFG.img
SPM computation : ...initialising
...Atlas ROI analysis??? Interrupt while evaluating uicontrol
Callback.
??? Error using ==> vertcat
All rows in the bracketed expression must have the same
number of columns.
Error in ==> /opt/spm2/toolbox/wfu_pickatlas/wfu_spm_getSPM2_conj.m
On line 536 ==> XYZmm = SPM.xVol.M(1:3,:)*[XYZ; ones(1,
SPM.xVol.S)];
Error in ==> /opt/spm2/toolbox/wfu_pickatlas/spm_getSPM.m
On line 14 ==> [SPM,xSPM] =
wfu_spm_getSPM2_conj;
Error in ==> /opt/spm2/spm_results_ui.m
On line 260 ==> [SPM,xSPM] = spm_getSPM;
??? Error using ==> waitfor
Error while evaluating uicontrol Callback.
Error in ==> /opt/matlab13/toolbox/matlab/uitools/uiwait.m
On line 35 ==> waitfor (hFigDlg, 'waitstatus', 'inactive');
Error in ==> /opt/spm2/toolbox/wfu_pickatlas/wfu_pickatlas.m
On line 22 ==> uiwait(fig);
Error in ==> /opt/spm2/spm.m
On line 1183 ==> evalin('base',varargin{2}(i).prog)
--
Pieter Vandemaele
MSc Ing, PhD Student
Ghent University Hospital
fMRI Research Group Ghent
NMR Department
De Pintelaan 185 -1K12
B-9000 Ghent
BELGIUM
tel: 0032 (0)9 240 48 20
fax: 0032 (0)9 240 49 69
e-mail: [log in to unmask]
|