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

Center coordinates

You are here: Home1 / Forums2 / Support forum ARCHIVED – Please use Slack Channel instead3 / Center coordinates4

Tagged: coordinates

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • 09/24/2018 at 4:22 AM #5488
    Diaz0188
    Participant

    Hello,

    I am trying to measure distances from electrode contacts to the center of certain structures, such as STN and red nucleus. I am comfortable with obtaining the coordinates of electrode contacts and can easily view the surface coordinates of any structure using the data cursor but cannot seem to figure out how to obtain the coordinates at the center of these structures.

    Thank you,
    Anthony

    09/24/2018 at 6:30 AM #5489
    andreashorn
    Keymaster

    Hi Anthony,

    you can do so by averaging the vertices of the atlas surface I think:

    lead path
    load([ea_space([],'atlases'),'DISTAL Minimal (Ewert 2017)',filesep,'atlas_index.mat']);
    centroid=mean(atlases.fv{1,1}.vertices);

    would calculate the centroid of the right STN (11.2668 -12.6726 -7.7385) of the DISTAL atlas.
    With
    atlases.names
    you can see the entries of the atlas set.
    In this case, STN is the first one.
    In Lead-DBS, right hemisphere is always entry number one, left is number two.
    So replacing the third line with
    centroid=mean(atlases.fv{5,2}.vertices);
    would give you the left GPi (GPi is entry number 5, 2 stands for the left side.

    Hope this helps,

    best, Andy

    10/13/2018 at 4:55 AM #5650
    Diaz0188
    Participant

    Andy, thank you for your help! This is exactly what I needed.

    Best,
    Anthony

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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 @gordonneuro: Excited to announce our newest preprint identifying subnetworks that connect the frontal cortex to striatum within… https://t.co/YiAQkmOGmh

    17h
  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @MichaelOkun: Long term epilepsy DBS outcomes in SANTE study are positive and also showed reduction in SUDEP. Seems important!… https://t.co/noow2bHqEX

    23h
  • 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

    5d

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