Dear Andreas,
I’m trying to coregister the images but it is not working…the error below appears in the matlab,
I’m using anat_1.ii anat_2.nii postop_ct.nii…..
I’ve already deleted and reinstalled the lead DBS, but the error continues….
Can you help me?
Many thanks
ANTs LINEAR registration done.
Coregistration done.
Tonemapping CT… Done. (2.1754 s)
Exporting coregistration check images to /Users/rubenscury/Desktop/vanilson sn/checkreg…
Tonemapping CT… Done. (0.8466 s)
Images aren’t the same size!
Done.
Undefined function or variable ‘cfg_util_persistent’.
Error in cfg_util (line 433)
[c0, jobs] = cfg_util_persistent;
Error in spm_jobman (line 246)
cjob = cfg_util(‘initjob’, mljob);
Error in ea_docoreg_spm (line 49)
spm_jobman(‘run’,{matlabbatch});
Error in ea_coreg2images (line 37)
affinefile =
ea_docoreg_spm(options,appendcommaone(moving),appendcommaone(fixed),’nmi’,1,commaoneotherfiles,writeoutmat,interp);
Error in ea_coreg_all_mri (line 16)
ea_coreg2images(options,[directory,presentfiles{coregfi}],[directory,presentfiles{1}],[directory,presentfiles{coregfi}]);
Error in ea_checkcoregallmri (line 9)
ea_coreg_all_mri(options,usebrainmask)
Error in ea_autocoord (line 140)
ea_checkcoregallmri(options,0,1); % check and coregister all
preoperative MRIs here.
Error in ea_run (line 96)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 187)
ea_run(‘run’,options);
Error in gui_mainfcn (line 95)
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 Callback