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)
Error in ea_load_reconstruction (line 20)
Error in ea_manualreconstruction (line 38)
Error in ea_autocoord (line 219)
Error in lead>run_button_Callback (line 337)
Error in gui_mainfcn (line 96)
Error in lead (line 42)
Error in @(hObject,eventdata)lead(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Thanks for your quick replies. :)