Hey Andy,
Yes, I was finally able to download the lead-DBS from the website and now I have the bb.nii file in the templates directory so its reconstructing the leads and I am even getting the reconstructed file in the output folder of patient.
The reconstruction file consists of coordinates for the lead contacts and even for the trajectories.
But now the problem is that when I check review reconstruction and run lead-DBS ,it does not show the leads and gives the following error:
Error using svd
Input to SVD must not contain NaN or Inf.
Error in null (line 67)
[~,S,V] = svd(A,0);
Error in ea_reconstruction2native (line 24)
orth=null(normtrajvector{side})*(options.elspec.lead_diameter/2);
Error in ea_load_reconstruction (line 20)
ea_reconstruction2native(options);
Error in ea_manualreconstruction (line 38)
[coords_mm,trajectory,markers,elmodel,manually_corrected]=ea_load_reconstruction(options);
Error in ea_autocoord (line 219)
ea_manualreconstruction(mcfig,patientname,options);
Error in lead>run_button_Callback (line 337)
ea_autocoord(options);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in lead (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)lead(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Thanks for your quick replies. :)
Regards
Sushain