Next Article in Journal
Capturing Neuroplastic Changes after iTBS in Patients with Post-Stroke Aphasia: A Pilot fMRI Study
Previous Article in Journal
Measuring the Effects of Social Isolation and Dissatisfaction on Depressive Symptoms during the COVID-19 Pandemic: The Moderating Role of Sleep and Physical Activity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

DiODe v2: Unambiguous and Fully-Automated Detection of Directional DBS Lead Orientation

1
Department of Neurology, Faculty of Medicine, University of Cologne, D-50937 Cologne, Germany
2
Department of Stereotactic and Functional Neurosurgery, Faculty of Medicine, University of Cologne, D-50937 Cologne, Germany
*
Author to whom correspondence should be addressed.
Brain Sci. 2021, 11(11), 1450; https://doi.org/10.3390/brainsci11111450
Submission received: 9 October 2021 / Revised: 26 October 2021 / Accepted: 28 October 2021 / Published: 31 October 2021
(This article belongs to the Section Neurotechnology and Neuroimaging)

Abstract

:
Directional deep brain stimulation (DBS) leads are now widely used, but the orientation of directional leads needs to be taken into account when relating DBS to neuroanatomy. Methods that can reliably and unambiguously determine the orientation of directional DBS leads are needed. In this study, we provide an enhanced algorithm that determines the orientation of directional DBS leads from postoperative CT scans. To resolve the ambiguity of symmetric CT artifacts, which in the past, limited the orientation detection to two possible solutions, we retrospectively evaluated four different methods in 150 Cartesia™ directional leads, for which the true solution was known from additional X-ray images. The method based on shifts of the center of mass (COM) of the directional marker compared to its expected geometric center correctly resolved the ambiguity in 100% of cases. In conclusion, the DiODe v2 algorithm provides an open-source, fully automated solution for determining the orientation of directional DBS leads.

1. Introduction

Directional leads have become the new standard in deep brain stimulation (DBS) for Parkinson’s disease and Essential tremor. Their ability to direct stimulation perpendicular to the lead may reduce therapeutic amplitudes [1] and increase side effect thresholds [2]. However, directional DBS leads vastly increase the number of possible stimulation parameters, of which an optimal subset needs to be chosen in an individual patient. This selection process can be guided by a priori neuroanatomical knowledge [3], probabilistic sweet spots [4,5] or individual neuroimaging [6], but detailed information about the lead’s location and orientation with respect to the surrounding anatomy is needed. Previous results showed that the precise placement of a directional lead into the desired orientation is difficult due to lead torsion [7], which additionally can lead to changes in a lead’s orientation within the first days after implantation [8,9,10]. Consecutively, lead orientation needs to be derived from postoperative imaging, and different methods have been proposed for different imaging techniques [11,12,13]. We previously demonstrated that lead orientation can be reliably detected using the open-source Directional Orientation Detection (DiODe) algorithm, which analyzes the streak artifacts generated by different elements of the directional lead on postoperative CT scans [14,15]. While being highly accurate, the algorithm may need some manual intervention by selecting the CT slices on which the artifacts are most visible. Furthermore, due to the 180° symmetry of the artifacts, DiODe in the past offered two possible, inverse solutions for the orientation of the DBS leadwithout being able to distinguish between them. Recently, Kurtev-Rittstieg et al. suggested two approaches to solve this ambiguity [16]. We now provide version 2 of our DiODe algorithm, which provides (a) a fully automated workflow that optimizes the lead location and artifact detection and (b) can resolve the ambiguity of artifact symmetry. We demonstrate the validity of the algorithm in a large retrospective dataset.

2. Methods

2.1. Ethics

This retrospective analysis was approved by the local ethics board (Vote: 21-1427). All neuroimaging data retrospectively used in this trial had been acquired as part of routine clinical care in our center and were fully anonymized for this analysis.

2.2. DiODe v2

DiODe v2 is an open-source algorithm written in Matlab (The Mathworks, MA, USA), which is released either as a standalone version (https://github.com/Till-Dembek/DiODe_Standalone, accessed on 26 October 2021) or within the Lead-DBS toolbox (www.lead-dbs.org, accessed on 26 October 2021) [17]. An IDL (Exelis Visual Information Solutions, Boulder, CO, USA) implementation is also available upon request. The algorithm requires a postoperative CT scan in Nifti-format as well as the location of the Cartesia™ directional lead (Boston Scientific, MA, USA) within the coordinate system of the CT. In case of the Lead-DBS implementation, both are directly supplied by the Lead-DBS-session. A graphical overview of the algorithm is provided in Figure 1 as well as in our previous publications [7,14,15]. In comparison to previous versions, DiODe v2 includes additional steps, which automatically refine the provided location of the lead based on a linear regression model fitted to slice-wise centers of mass and by automatically detecting the CT slices in which the artifacts needed for orientation detection are most visible. Furthermore, as a new feature, it includes four different methods for resolving the ambiguity resulting from the marker artifact symmetry, which we describe below in more detail.

2.3. Center of Mass (COM)

This method, suggested by Kurtev-Rittstieg et al., is based on the center of mass (COM) of the hyperdense volume generated by the stereotactic marker. In a phantom study, their implementation of the COM algorithm was able to correctly resolve the orientation ambiguity in >99 % of cases [16]. In short, the CT is resampled perpendicular to the lead axis at the level of the center of the stereotactic marker with a 0.1 mm resolution. After binarizing this resampled slice at a threshold of 2000 Hounsfield units, the COM is calculated. The resulting COM slightly deviates from the geometric center of the stereotactic marker as defined by the lead trajectory. The direction of this deviation is then compared to the two possible solutions calculated from the hypodense streaks of the marker artifact (see DiODe v1 [14,15]). The solution that is closer to the direction of deviation is chosen by the COM method as the true solution.
For this study, additional implementation of the COM method was also investigated: The COMsagittal implementation resamples not a perpendicular, but a sagittal, ‘in line’ slice which runs through the lead trajectory and is oriented in line with the two possible solutions. A slice from − 1.5mm below to +1.5 mm above the marker center, thus covering the whole marker, is used, again resampled at a 0.1-millimeter resolution. The center of mass is then calculated as described above.

2.4. Asymmetric Sampling of the Marker (ASM)

This method, again suggested by Kurtev-Rittstieg et al., investigates asymmetries in the intensity profile of the CT artifact generated by the marker. Postulating that intensities within the marker artifact are greater in the direction of the true orientation versus the direction of the inverse orientation, the heights of the two peaks within the intensity profile are compared for both solutions. In Kurtev-Rittstieg et al.’s phantom study, this method successfully resolved the marker ambiguity in >96% of cases [16].

2.5. Star Artifact Symmetry (STARS)

This method relies on the expected difference of the hypodense streak artifacts generated at the level of the segmented contacts for the two inverse orientation solutions. In brief, the expected locations of the streak artifacts are calculated for both solutions. By then sampling the intensity profile at the intersections with the expected streak artifacts, a similarity index between the real streak artifacts and the expected artifact locations can be calculated [14]. By comparing differences in the similarity indices of the two solutions, the real solution is chosen.

2.6. Dataset

To validate the different methods, we used retrospective data from 81 patients (n = 158 leads) who were implanted with Cartesia™ directional DBS leads. Patients had received routine CT scans, in most cases on the first postoperative day. Since we needed to validate the algorithms solution regarding the marker ambiguity, patients were only included if they had also received additional intraoperative X-ray scans, on which the true orientation solution could be verified visually. Importantly, X-ray scans were not used to calculate an exact orientation angle [15], but only for visual confirmation of which of the two possible solutions provided by DiODe was the correct solution. Previous validations of the DiODe algorithm have clearly demonstrated the impact of the polar angle between the lead and the scanner axis [14,15]. As shown before, the CT artifacts needed for analysis with DiODe begin to disappear with polar angles > 40°, with polar angles > 55° having a severe impact on the accuracy of the algorithm (see data supplement in [7]). For this reason, leads with polar angles > 55° were excluded from analysis.

2.7. Analysis

Each patient was analyzed within the Lead-DBS toolbox [17]. Postoperative CT scans were coregistered to preoperative MRI [18], and lead locations were automatically detected using the implementation of the PACER algorithm [19]. Then, we used DiODe v2 to detect lead orientation and compared the resulting solutions regarding marker ambiguity to the ground truth visible on the additional X-rays for the four different algorithms COM, COMsagittal, ASM, and STARS.

3. Results

A total number of n = 158 directional leads were investigated. Of these, n = 8 had a polar angle > 55° with respect to the CT scanner axis, making them unsuitable for analysis with DiODe [14]. n = 98 of the remaining n = 150 DBS leads targeted the subthalamic nucleus, while n = 26 targeted the internal part of the globus pallidus and another n = 26 targeted the posterior subthalamic area and the ventral intermediate nucleus of the thalamus. Of the n = 150 (74 left, 76 right) leads, the COM algorithm correctly resolved the orientation ambiguity in 150/150 (100%) of cases. COMsagittal correctly identified the orientation in all but one case (149/150, 99.3%). The STARS algorithm performed slightly worse, with 138/150 (92%) orientations being resolved correctly. Of the n = 12 leads wrongly classified by STARS, n = 11 had a polar angle > 30°. AMS performed the worst, with 123/150 leads being classified correctly (82%). Of the n = 27 leads wrongly classified by ASM, n = 24 had a polar angle > 30°. Observed deviations from the intended anterior orientation ranged from −136.1 to +97.3° with 17/150 (11.3%) deviating by more than 60°, 31/150 (20.7%) deviating by more than 45°, and 56/150 (37.3%) deviating by more than 30° from the orientation intended during implantation (anterior in our center).

4. Discussion

We demonstrate that DiODe v2 provides a fully automatic solution to analyzing the orientation of directional leads from postoperative CT scans and is able to resolve the previously existing ambiguity regarding inverse orientation solutions in up to 100 % of cases.
Since the COM method showed no misclassifications in our large dataset, DiODe v2 now bases its solution on resolving the ambiguity solely on this algorithm. However, due to their high accuracy of >90%, results from the COMsagittal and STARS algorithms are also provided within the GUI and mismatches between algorithms are highlighted to encourage the user to review results more closely. While the ASM method was accurate in a phantom study published as a preprint [16], it underperformed other methods in our study, highlighting the importance of validating such algorithms in real-life datasets.
As long as imaging constraints are respected, i.e., a recommended CT resolution of <1 mm and polar angles between the lead and the CT scanner axis < 55° (recommended <40°) [7], DiODe v2 was able to provide correct results in all investigated cases without any user intervention. As with all neuroimaging techniques, we still encourage users to check the results for plausibility, and the software provides additional steps for manual refinement in case users are discontent with the automatically provided results.
Importantly, DiODe has only been phantom-validated for the Cartesia™ directional lead. While in theory, the algorithm should work with other manufacturers, e.g., the St. Jude Medical Infinity™ directional leads (Abbott Laboratories, IL, USA), imaging constraints need to be evaluated even more carefully for these leads due to the smaller size of their stereotactic markers. Also, DiODe so far has only been validated in cases with one DBS lead per hemisphere. When multiple leads are present in one hemisphere, additional artifacts will be generated which might, in theory, interfere with the algorithm’s results.
One limitation of our analysis is that the postoperative CT scans and the intraoperative X-rays used for visual confirmation of the correct solution were not performed at the same time. As shown in an animal study [9], DBS leads may rotate during the first 24 h after implantation if torque is present. However, these changes are not expected to exceed 60° and thus are not likely to have impacted our analysis regarding the 180° ambiguity of the marker artifacts.
Taken together, DiODe v2 is the first open-source software that allows for the reliable detection of directional DBS lead orientation. Since the software only needs two inputs, namely a postoperative CT scan and two coordinates of the directional lead trajectory, the code can be easily integrated into existing DBS software packages.

5. Conclusion

DiODe v2 offers an open-source solution to resolving the orientation of Cartesia™ directional DBS leads from postoperative CT scans in a reliable and fully automated way.

Author Contributions

Conceptualization, T.A.D. and H.T.; methodology, T.A.D., A.H., M.E., S.H. and H.T.; software, T.A.D. and H.T.; validation, T.A.D. and H.T.; formal analysis, T.A.D. and H.T.; data curation, T.A.D., H.J. and H.T.; writing—original draft preparation, T.A.D. and H.T.; writing—review and editing, A.H., H.J., M.E., J.W., H.S.D., M.T.B., S.H. and V.V.-V.; visualization, T.A.D.; supervision, M.T.B. and V.V.-V.; project administration, M.T.B. and V.V.-V.; funding acquisition, T.A.D.; All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Cologne Clinician Scientist Program (CCSP)/Faculty of Medicine/University of Cologne. Funded by the German Research Foundation (DFG, FI 773/15-1).

Institutional Review Board Statement

This retrospective analysis was approved by the Cologne University local ethics committee (Vote: 21-1427).

Informed Consent Statement

Due to the retrospective character of this analysis no informed consent was required.

Data Availability Statement

The DiODe v2 algorithm can be accessed as a standalone version (https://github.com/Till-Dembek/DiODe_Standalone, accessed on 8 October 2021) or within the Lead-DBS toolbox (www.lead-dbs.org, accessed on 26 October 2021).

Acknowledgments

We thank Rebecca Kurtev-Rittstieg, Stefan Achatz, Amir Nourinia, and Stephan Mittermeyer for inspiring this work with their preprint publication.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Rebelo, P.; Green, A.; Aziz, T.; Kent, A.; Schafer, D.; Venkatesan, L.; Cheeran, B. Thalamic directional deep brain stimulation for tremor: Spend less, get more. Brain Stimul. 2018, 11, 600–606. [Google Scholar] [CrossRef] [PubMed]
  2. Dembek, T.A.; Reker, P.; Visser-Vandewalle, V.; Wirths, J.; Treuer, H.; Klehr, M.; Roediger, J.; Dafsari, H.S.; Barbe, M.T.; Timmermann, L. Directional DBS increases side-effect thresholds-A prospective, double-blind trial. Mov. Disord. 2017, 32, 1380–1388. [Google Scholar] [CrossRef] [PubMed]
  3. Noecker, A.M.; Frankemolle-Gilbert, A.M.; Howell, B.; Petersen, M.V.; Beylergil, S.B.; Shaikh, A.G.; McIntyre, C.C. StimVision v2: Examples and applications in subthalamic deep brain stimulation for Parkinson’s disease. Neuromodul. Technol. Neural Interface 2021, 24, 248–258. [Google Scholar] [CrossRef] [PubMed]
  4. Dembek, T.A.; Roediger, J.; Horn, A.; Reker, P.; Oehrn, C.R.; Dafsari, H.S.; Li, N.; Kühn, A.A.; Fink, G.R.; Visser-Vandewalle, V.; et al. Probabilistic sweet spots predict motor outcome for deep brain stimulation in Parkinson disease. Ann. Neurol. 2019, 86, 527–538. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Nguyen, T.K.; Nowacki, A.; Debove, I.; Petermann, K.; Tinkhauser, G.; Wiest, R.; Schüpbach, M.; Krack, P.; Pollo, C. Directional stimulation of subthalamic nucleus sweet spot predicts clinical efficacy: Proof of concept. Brain Stimul. 2019, 12, 1127–1134. [Google Scholar] [CrossRef] [PubMed]
  6. Petry-Schmelzer, J.N.; Dembek, T.A.; Steffen, J.K.; Jergas, H.; Dafsari, H.S.; Fink, G.R.; Visser-Vandewalle, V.; Barbe, M.T. Selecting the most effective DBS contact in essential tremor patients based on individual tractography. Brain Sci. 2020, 10, 1015. [Google Scholar] [CrossRef] [PubMed]
  7. Dembek, T.; Hoevels, M.; Hellerbach, A.; Horn, A.; Petry-Schmelzer, J.; Borggrefe, J.; Wirths, J.; Dafsari, H.; Barbe, M.; Visser-Vandewalle, V.; et al. Directional DBS leads show large deviations from their intended implantation orientation. Park. Relat. Disord. 2019, 67, 117–121. [Google Scholar] [CrossRef] [PubMed]
  8. Dembek, T.A.; Asendorf, A.L.; Wirths, J.; Barbe, M.T.; Visser-Vandewalle, V.; Treuer, H. Temporal stability of lead orientation in directional deep brain stimulation. Ster. Funct. Neurosurg. 2021, 99, 167–170. [Google Scholar] [CrossRef] [PubMed]
  9. Rau, A.; Urbach, H.; Coenen, V.A.; Egger, K.; Reinacher, P.C. Deep brain stimulation electrodes may rotate after implantation—An animal study. Neurosurg. Rev. 2021, 44, 2349–2353. [Google Scholar] [CrossRef] [PubMed]
  10. Lange, F.; Steigerwald, F.; Engel, D.; Malzacher, T.; Neun, T.; Fricke, P.; Volkmann, J.; Matthies, C.; Capetian, P. Longitudinal assessment of rotation angles after implantation of directional deep brain stimulation leads. Ster. Funct. Neurosurg. 2021, 99, 150–158. [Google Scholar] [CrossRef] [PubMed]
  11. Reinacher, P.; Krüger, M.; Coenen, V.; Shah, M.; Roelz, R.; Jenkner, C.; Egger, K. Determining the orientation of directional deep brain stimulation electrodes using 3D rotational fluoroscopy. Am. J. Neuroradiol. 2017, 38, 1111–1116. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Hunsche, S.; Neudorfer, C.; El Majdoub, F.; Maarouf, M.; Sauner, D. Determining the rotational orientation of directional deep brain stimulation leads employing flat-panel computed tomography. Oper. Neurosurg. 2018, 16, 465–470. [Google Scholar] [CrossRef] [PubMed]
  13. Yalaz, M.; Noor, M.S.; McIntyre, C.C.; Butz, M.; Schnitzler, A.; Deuschl, G.; Höft, M. DBS electrode localization and rotational orientation detection using SQUID-based magnetoencephalography. J. Neural Eng. 2021, 18, 026021. [Google Scholar] [CrossRef] [PubMed]
  14. Hellerbach, A.; Dembek, T.A.; Hoevels, M.; Holz, J.A.; Gierich, A.; Luyken, K.; Barbe, M.T.; Wirths, J.; Visser-Vandewalle, V.; Treuer, H. DiODe: Directional orientation detection of segmented deep brain stimulation leads: A sequential algorithm based on CT imaging. Ster. Funct. Neurosurg. 2018, 96, 335–341. [Google Scholar] [CrossRef] [PubMed]
  15. Sitz, A.; Hoevels, M.; Hellerbach, A.; Gierich, A.; Luyken, K.; Dembek, T.A.; Klehr, M.; Wirths, J.; Visser-Vandewalle, V.; Treuer, H. Determining the orientation angle of directional leads for deep brain stimulation using computed tomography and digital X-ray imaging: A phantom study. Med. Phys. 2017, 44, 4463–4473. [Google Scholar] [CrossRef] [PubMed]
  16. Kurtev-Rittstieg, R.; Achatz, S.; Nourinia, A.; Mittermeyer, S. Orientation of directional deep brain stimulation leads on CT: Resolving the ambiguity. bioRxiv 2020. [Google Scholar] [CrossRef]
  17. Horn, A.; Li, N.; Dembek, T.A.; Kappel, A.; Boulay, C.; Ewert, S.; Tietze, A.; Husch, A.; Perera, T.; Neumann, W.-J.; et al. Lead-DBS v2: Towards a comprehensive pipeline for deep brain stimulation imaging. NeuroImage 2019, 184, 293–316. [Google Scholar] [CrossRef] [PubMed]
  18. Avants, B.; Epstein, C.; Grossman, M.; Gee, J. Symmetric diffeomorphic image registration with cross-correlation: Evaluating automated labeling of elderly and neurodegenerative brain. Med. Image Anal. 2008, 12, 26–41. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Husch, A.; Petersen, M.; Gemmar, P.; Goncalves, J.; Hertel, F. PaCER-A fully automated method for electrode trajectory and contact reconstruction in deep brain stimulation. NeuroImage Clin. 2018, 17, 80–89. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Legend: Flowchart illustrating the different steps of the DiODe v2 algorithm.
Figure 1. Legend: Flowchart illustrating the different steps of the DiODe v2 algorithm.
Brainsci 11 01450 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Dembek, T.A.; Hellerbach, A.; Jergas, H.; Eichner, M.; Wirths, J.; Dafsari, H.S.; Barbe, M.T.; Hunsche, S.; Visser-Vandewalle, V.; Treuer, H. DiODe v2: Unambiguous and Fully-Automated Detection of Directional DBS Lead Orientation. Brain Sci. 2021, 11, 1450. https://doi.org/10.3390/brainsci11111450

AMA Style

Dembek TA, Hellerbach A, Jergas H, Eichner M, Wirths J, Dafsari HS, Barbe MT, Hunsche S, Visser-Vandewalle V, Treuer H. DiODe v2: Unambiguous and Fully-Automated Detection of Directional DBS Lead Orientation. Brain Sciences. 2021; 11(11):1450. https://doi.org/10.3390/brainsci11111450

Chicago/Turabian Style

Dembek, Till A., Alexandra Hellerbach, Hannah Jergas, Markus Eichner, Jochen Wirths, Haidar Salimi Dafsari, Michael T. Barbe, Stefan Hunsche, Veerle Visser-Vandewalle, and Harald Treuer. 2021. "DiODe v2: Unambiguous and Fully-Automated Detection of Directional DBS Lead Orientation" Brain Sciences 11, no. 11: 1450. https://doi.org/10.3390/brainsci11111450

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop