Forum Replies Created
-
AuthorPosts
-
KatherineParticipant
HI Andy,
When I remove the atlases folder, a get an error message that comes up:
antsApplyTransforms.exe has stopped working.The DBS leads show up on a blank screen.
Best,
Katherine
KatherineParticipantHi Andy,
I did normalize the subject. I used the ANTs method. Visualization of the atlas in MNI space looked pretty good. I am working in Windows 7 with Matlab 2016b.
Katherine
KatherineParticipantHi Andy,
You are correct. There is no error – just a warning for each gl image stating that there is an error showing normalization. I assumed there was an error though because the windows are not popping up so I can check or view the normalization. Do you know why this might be?
Best,
Katherine
KatherineParticipantHi Andy,
I did uncomment the lines and obtained a general error. Then I re-commented them before I sent the error message.
Warning: Error showing normalization of
C:\…\glanat.nii,1.
> In ea_show_normalization at 115
In ea_autocoord at 124
In ea_run at 95
In lead_dbs>run_button_Callback at 250
In gui_mainfcn at 96
In lead_dbs at 43
In @(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))Best,
Katherine
KatherineParticipantThanks Andy,
I eliminated the other zscore script. However, I still cannot view the normalization. The error message that comes up is:
Error in ea_show_normalization (line 86)
pt.img=(pt.img-min(pt.img(:)))/(max(pt.img(:)));
Error in ea_autocoord (line 124)
ea_show_normalization(options);
Error in ea_run (line 95)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 250)
ea_run(‘run’,options);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in lead_dbs (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol CallbackI am able to proceed to the next step to “pre-construct” and “localize DBS electrodes”. The localization is way off however — it places the electrode in the cortex. The co-registration looks fine in SPM when I use the T1 SPGR image but not when I use my lower resolution T2 image. I appreciate your help.
Best,
KatherineKatherineParticipantHi Andy,
Thanks! I was wondering about the lines. This is the error message I get now.
Error in zscore (line 3)
MeanM = ones(size(M, 1), 1) * mean(M);
Error in ea_show_normalization (line 91)
mni_img.img(:)=zscore(mni_img.img(:));
Error in ea_autocoord (line 124)
ea_show_normalization(options);
Error in ea_run (line 95)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 250)
ea_run(‘run’,options);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in lead_dbs (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol CallbackBest,
KatherineKatherineParticipantHi Andy,
Thanks for your response. This is the error message I obtain when I comment out lines 22, and 26-28 in ea_show_normalization.
Error: File: ea_show_normalization.m Line: 114 Column: 5
Illegal use of reserved keyword “catch”.
Error in ea_autocoord (line 124)
ea_show_normalization(options);
Error in ea_run (line 95)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 250)
ea_run(‘run’,options);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in lead_dbs (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol CallbackBest,
Katherine -
AuthorPosts