Lead-DBS
  • Home
  • About
    • Quickstart Primer (Post-OP MR-Scans)
    • Data & Code inclusion philosophy
    • Quickstart Primer (Post-OP CT-Scans)
    • Deep Brain Stimulation
    • Lead Connectome
    • Publications
    • List of Lead-DBS dependencies
    • Citing Lead-DBS
  • News
  • Contact
  • Help/Support
    • Manual
    • Knowledge Base
      • Atlases/Resources
        • Subcortical Atlases (MNI-Space)
        • Cortical Atlas Parcellations (MNI-Space)
        • Macaque Atlases (MNI-Space)
        • The DISTAL atlas
        • FEM-based VTA model
        • Normative Connectomes
      • Lead-DBS Methods
        • Subcortical Electrophysiology Mapping (SEM)
        • AC/PC to MNI conversion
        • Connectivity Benefit Mapping
      • Other Videos
      • Screenshots
      • Walkthrough-Videos
    • Slack User Channel
    • Forum
  • Workshops
    • Past workshops
      • Berlin 2016
      • Shanghai September 2018
      • Hamburg February 2019
    • Berlin September 2019
    • Machine Learning – Berlin September 2019
    • Brisbane February 2020
  • Download
  • Lead-Connectome
  • Search
  • Menu Menu

Reconstructing leads of unusual targets

You are here: Home1 / Forums2 / Support forum ARCHIVED – Please use Slack Channel instead3 / Reconstructing leads of unusual targets4

Tagged: electrode tract reconstruction

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • 08/01/2017 at 4:43 PM #3017
    cloz
    Participant

    Hi there,
    I am trying to use lead DBS to reconstruct leads of the fornix, PAG, thalamus, etc.
    In the reconstruction step, I choose manual reconstruction but either the electrode tract is not visible in the window or the red box doesn’t overlap with the tract. Is there any way to adjust the view of the scan at this step so that we can select the electrode tract properly?

    Thanks

    08/01/2017 at 5:12 PM #3018
    andreashorn
    Keymaster

    Hi cloz,

    the red area doesnt need to overlap with the artifact, it just shows you the side you need to click on.

    Should work ez&well with Fornix electrodes.

    Best, Andy

    08/01/2017 at 6:49 PM #3019
    cloz
    Participant

    Hi Andy,
    Thanks for your reply. Good to know that about the red box. We are still having problems though. When we try to select the artifact for our scan, we get the following error in Matlab:
    Index exceeds matrix dimensions.

    Error in ea_sample_cuboid (line 92)
    if trajvector(3)<0
    
    Error in ea_reconstruct_coords (line 3)
    [cimat,reldist]=ea_sample_cuboid(trajectory,options);
    
    Error in ea_reconstruct (line 123)
    [coords,goodz]=ea_reconstruct_coords(trajectory,trajvector,options);
    
    Error in ea_autocoord (line 138)
                        [coords,trajvector{side},trajectory{side},tramat]=ea_reconstruct(options.patientname,options,options.sides(side));
                        
    Error in ea_run (line 95)
                        ea_autocoord(options);
    
    Error in lead_dbs>run_button_Callback (line 201)
    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
    matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)lead_dbs('run_button_Callback',hObject,eventdata,guidata(hObject)) 
    Error while evaluating UIControl Callback

    We find that at the slice that is shown in the window it is very hard to see where exactly where the artifact is since the view we have shows it very close to the ventricle. Is there any way we can adjust the slice we are viewing during the reconstruction step?

    Thanks again for your help!

    08/02/2017 at 8:22 PM #3023
    andreashorn
    Keymaster

    Hi cloz,

    you can change the height in the ea_spacedef.mat file in /templates/space/MNI_ICBM_2009b_NLIN_ASYM
    or in the code at ea_reconstruct_trajectory > ea_getstartslice on line 312.

    A postop T2 is definitely easier to reconstruct the lead if the lead crosses the ventricles (since in T1 both are dark).

    Hope this helps!

    Best, Andy

    08/02/2017 at 8:48 PM #3024
    cloz
    Participant

    Hi Andy,
    That’s perfect, thank you very much!

    01/02/2018 at 7:25 PM #3931
    Vlevi
    Participant

    Hi Andy,
    I’ve recently been trying to reconstruct a pair of electrodes implanted in the anterior cingulate cortex ( ACC) , but I’ve got same Cloz’s error. I haven’t understood how to change the height in the ea_spacedef.mat file and adjust the slice during the reconstruction step.

    thanks for your help,

    Vincenzo

    01/02/2018 at 10:15 PM #3934
    andreashorn
    Keymaster

    Hi Vlevi,

    we recently added a purely manual approach to localize electrodes in unusual targets that is currently only available in the github version (but will be released on the website at some point, too).
    So if you’re in a rush, you can head to the lead-dbs manual and see “install via github” section – or wait for the next release.

    Best, Andy

    01/02/2018 at 10:38 PM #3935
    Vlevi
    Participant

    Hi Andy,
    that’s great, I’ll be waiting the next release. Thank you!

    01/23/2018 at 2:49 AM #4052
    yez
    Participant

    Hi Andy,
    I’m new to Lead-DBS. I’m wondering whether the pre-reconstruction-related functions have been updated and released.

    I ran lead-DBS on win8 + matlab2015b, and got a similar problem as those of cloz and Vlevi. If I understand correctly, the pink box appears when one sets entry point to ‘STN/GPi/VIM’; and windows for selecting the starting point of the artifact should appear when one sets entry point to ‘manual’. But after choosing ‘manual’, I got the pink box, not the corrct windows.
    Do you have any idea why and how to fix the problem?

    Thanks in advance!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.

Your Account

Log In
Register

Forum Statistics

Registered Users
130
Forums
1
Topics
185
Replies
607
Topic Tags
81

Subscribe to our newsletter

Latest Tweets

  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @jefffMRI: These figures 🤯🤯 Congrats on an awesome paper and outcomes with the BNST! 🧠 I can see this being a key study that h… https://t.co/qMrA5U71Zh

    3d
  • Tweet Avatar
    leaddbs
    @leaddbs
    @GilmoreGreydon @DembekTill Sure makes sense just saying the code is there 🤗

    4d
  • Tweet Avatar
    leaddbs
    @leaddbs
    @GilmoreGreydon @DembekTill Hi Greydon, Till has incorporated DiODe into Lead-DBS and hence it’s in there already (… https://t.co/tlhxlM9DLy

    4d

Recent Posts

  • Lead-DBS v2.5 out now!
  • Lead-DBS on the cover of NeuroImage
  • Lead-DBS on the cover of Biological Psychiatry
  • Lead-DBS on the cover of Annals of Neurology
  • Crucial methodological updates for Lead-DBS

Archives

  • March 2021
  • September 2020
  • June 2019
  • November 2018
  • September 2018
  • August 2018
  • March 2018
  • November 2017
  • September 2017
  • July 2017
  • April 2017
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • December 2015
  • November 2015
  • April 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014

Impressum & Datenschutzerklärung

Scroll to top