Lead-DBS User Guide
  • Introduction
  • How to contribute to Lead-DBS
  • Installation
  • Lead-DBS
    • Overview
    • Self-Tutoring with Lead-Tutor
    • 1. Load Patient Folder
      • Importing a classic Lead-DBS dataset to BIDS version
    • 2. Image Import
      • Converting NIfTI-images into BIDS
      • Converting DICOM files into BIDS
    • 3. Volume Registrations
      • Coregister Volumes
      • Normalizing the Images
      • Brainshift Correction
      • Checking the Coregistration and Normalization
    • 4. (optional) Surface Reconstruction
    • 5. (optional) Reconstruction of Electrode Trajectories
      • Orientation of Directional Leads
        • Prerequisites
        • Automatic Algorithm
        • Possible Problems with the Automatic Algorithm
        • User-Assisted Algorithm (Manual Refine)
      • TRAC/CORE Details
      • Manual Reconstruction
      • Reconstruction File
    • 6. (optional) Perform Connectivity Analysis
    • 7. Visualization
      • MER Analysis
    • Reconstruction Statistics
  • Lead-Group
    • Group analyses with Lead-DBS
    • Setup Analysis
    • General Settings
    • Group Visualization
    • Calculate VTA and Stats
    • Sweetspot Explorer
  • Connectomics
    • Connectomics
      • Diffusion MRI: Patient Specific Processing
      • fMRI-Analysis: Patient Specific Processing
      • Using Normative Connectomes
      • Network Mapping Explorer
      • Fiber Filtering Explorer
    • Lead Connectome Mapper
  • Lead-OR
    • Imaging setup
    • Electrophysiology setup
    • Using the platform
  • Appendix
    • Code Backbone
    • Acquiring and Installing Atlases
      • Customizing Atlas Visualization
    • Troubleshooting / Specific Help
      • Adding Fortran dependencies for VTA modeling
      • VTA Calculation Troubleshoot
    • Command line interface
      • Command line options
    • Matlab scripting examples
      • Installing an atlas from an online repository
      • Warping a normative connectome to native subject space
    • Using Slicer
      • Sweet-sour spot
Powered by GitBook
On this page
  • 1) 2D Visualization of Electrodes as Point Clouds colored by Group
  • 2) 3D visualization
  • 3) Clinical Regressors
  • References
  1. Lead-Group

Group Visualization

Adapted from the Walkthrough Tutorial by Svenja Treu.

PreviousGeneral SettingsNextCalculate VTA and Stats

Last updated 1 year ago

The original tutorial can be found

1) 2D Visualization of Electrodes as Point Clouds colored by Group

Example Image of 2D visualization by group. Adapted from S. Treu et al., 2020.

1.1. In the main Lead Group GUI, select all the patients you want to visualize.

1.2. In the visualization options, select “show active contacts” (additionally “show passive contacts”, if preferred)

1.3. Under 2D options – Settings, you can adjust the backdrop from the dropdown menu. (Figure 1b) Try 7T Ex vivo 100um Brain Atlas (Edlow et al., 2019). Save and close.

1.4. Press Visualize 2D. The results will also be saved under leadgroup/groupanalysisname/export/2D folder.


2) 3D visualization

2.1. Select all the patients you want to visualize.

2.3. Click "Visualize 3D." 3 new windows will pop up: Electrode scene, atlas settings and anatomy slices. From anatomy slices window, you can select the backdrop of your choice and adjust slice position. From atlas settings, you can choose which atlas structures to display. From the electrode scene window you can adjust the camera angle, lighting of the scene and colors of individual atlas structures.

3D Visualization Examples


3) Clinical Regressors

3.1. Point clouds, colored by regressor

  • From 3D Settings, select point clouds and check the box “color by regressor”. This box can only be checked if Point-Clouds are selected.

  • Preferences for the colormaps can be edited by clicking "Colormap" in 3D Settings.

3.2. Map regressor as interpolated point mesh

Fig. 3.2. The regressor mapped to an equidistant point grid after solving a scattered interpolant based on the original values and active coordinates.

  • Under 3D Visualization Settings check the box “Map regressor to Coords”

  • Uncheck the box “Show Active Contacts”

  • In 3D options, select “Visualize regressor as: Interpolated point mesh”

3.3. Map regressor as isosurface

Fig. 3.3. The equidistant grid in the previous step can be thresholded and visualized as a 3D surface.

  • From 3D settings, select “Visualize regressor as: isosurface”

  • In the group folder you can then find the resulting surfaces as nifti files, named after the regressor and one for each hemisphere.

References

  • Treu, Svenja, Bryan Strange, Simon Oxenford, Wolf-Julian Neumann, Andrea Kühn, Ningfei Li, and Andreas Horn. “Deep Brain Stimulation: Imaging on a Group Level.” NeuroImage 219 (October 1, 2020): 117018. https://doi.org/10.1016/j.neuroimage.2020.117018.

2.2. Click "Settings" under "3D Options". Here you can find options for electrode rendering. It is possible to visualize point clouds and solid or transparent electrodes. An example of each is given . Click "Save".

Point clouds. Groups are represented by different colors. GPe is shown blue, STN and GPi are displayed in gray.

Transparent electrodes with "Highlight Active Contacts" option.

Solid electrodes.

3.1. Active contacts colored by regressor intensity.

at the end of this section
here.
Figure 1a