<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederic</id>
	<title>Slicer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederic"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/wiki/Special:Contributions/Frederic"/>
	<updated>2026-05-25T12:27:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.11/Modules/GeodesicSlicer&amp;diff=63899</id>
		<title>Documentation/4.11/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.11/Modules/GeodesicSlicer&amp;diff=63899"/>
		<updated>2021-12-16T10:23:58Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:'''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
:'''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
:'''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
*Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
*Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
*Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
*Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2020a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, https://doi.org/10.1016/j.schres.2020.09.001&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2020b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
#First, open 3D Slicer&lt;br /&gt;
#Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
#Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
#Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;====Create a mesh====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
#Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
#Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
#Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
====Parameters to find the shortest path====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
#Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above).&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#*Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#*Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#**Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
&lt;br /&gt;
#4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#*1/ The nasion&lt;br /&gt;
#*2/ The inion&lt;br /&gt;
#*3/ The pre auricular to the left ear&lt;br /&gt;
#*4/ The pre auricular to the right ear&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#*The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
&lt;br /&gt;
#Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
#Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#*Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
#M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
#Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
#Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#*Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1.&lt;br /&gt;
#*1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT]&lt;br /&gt;
#*2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.11/Modules/GeodesicSlicer&amp;diff=63898</id>
		<title>Documentation/4.11/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.11/Modules/GeodesicSlicer&amp;diff=63898"/>
		<updated>2021-12-16T10:22:12Z</updated>

		<summary type="html">&lt;p&gt;Frederic: Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;  &amp;lt;!-- ---------------------------- --&amp;gt;  {{documentation/{{documentation/version}}/module-header}}  &amp;lt;!-- -----------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2020a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, https://doi.org/10.1016/j.schres.2020.09.001&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2020b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=63450</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=63450"/>
		<updated>2020-10-16T09:31:15Z</updated>

		<summary type="html">&lt;p&gt;Frederic: add DOI&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2020a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, https://doi.org/10.1016/j.schres.2020.09.001&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2020b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=63449</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=63449"/>
		<updated>2020-10-16T09:30:16Z</updated>

		<summary type="html">&lt;p&gt;Frederic: add DOI&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
*Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
*Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
*Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
*Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2020a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, https://doi.org/10.1016/j.schres.2020.09.001&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2020b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
&lt;br /&gt;
#First, open 3D Slicer&lt;br /&gt;
#Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
#Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
#Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
====Create a mesh====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
#Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
#Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
#Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
====Parameters to find the shortest path====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
#Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above).&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#*Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#*Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#**Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
&lt;br /&gt;
#4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#*1/ The nasion&lt;br /&gt;
#*2/ The inion&lt;br /&gt;
#*3/ The pre auricular to the left ear&lt;br /&gt;
#*4/ The pre auricular to the right ear&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#*The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
&lt;br /&gt;
#Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
#Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#*Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
#M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
#Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
#Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#*Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1.&lt;br /&gt;
#*1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT]&lt;br /&gt;
#*2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=63108</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=63108"/>
		<updated>2020-03-12T09:57:51Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
*Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
*Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
*Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
*Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
&lt;br /&gt;
#First, open 3D Slicer&lt;br /&gt;
#Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
#Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
#Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
====Create a mesh====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
#Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
#Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
#Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
====Parameters to find the shortest path====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
#Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above).&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#*Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#*Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#**Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
&lt;br /&gt;
#4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#*1/ The nasion&lt;br /&gt;
#*2/ The inion&lt;br /&gt;
#*3/ The pre auricular to the left ear&lt;br /&gt;
#*4/ The pre auricular to the right ear&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#*The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
&lt;br /&gt;
#Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
#Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#*Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
#M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
#Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
#Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#*Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1.&lt;br /&gt;
#*1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT]&lt;br /&gt;
#*2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=63107</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=63107"/>
		<updated>2020-03-12T09:56:25Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: a Slicer Toolbox for Targeting Brain Stimulation. Neuroinformatics. https://doi.org/10.1007/s12021-020-09457-9&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=62778</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=62778"/>
		<updated>2019-12-20T10:25:10Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: A Slicer toolbox for targeting brain stimulation. Neuroinformatics, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=62777</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=62777"/>
		<updated>2019-12-20T10:24:43Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
*Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
*Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
*Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
*Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
*Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Schizophrenia Research, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: A Slicer toolbox for targeting brain stimulation. Neuroinformatics, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
&lt;br /&gt;
#First, open 3D Slicer&lt;br /&gt;
#Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
#Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
#Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
====Create a mesh====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
#Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
#Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
#Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
====Parameters to find the shortest path====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
#Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above).&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#*Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#*Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#**Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
&lt;br /&gt;
#4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#*1/ The nasion&lt;br /&gt;
#*2/ The inion&lt;br /&gt;
#*3/ The pre auricular to the left ear&lt;br /&gt;
#*4/ The pre auricular to the right ear&lt;br /&gt;
#Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#*The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
&lt;br /&gt;
#Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
#Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#*Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#*Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
#M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
#Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
#Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#*Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1.&lt;br /&gt;
#*1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT]&lt;br /&gt;
#*2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61457</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61457"/>
		<updated>2019-09-17T17:09:20Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: A Slicer toolbox for targeting brain stimulation. Neuroinformatics, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61456</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61456"/>
		<updated>2019-09-17T17:08:37Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019a&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019b&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: A Slicer toolbox for targeting brain stimulation. Neuroinformatics, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61455</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61455"/>
		<updated>2019-09-17T17:07:53Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare NIBS localization method: Application for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt; and &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., GeodesicSlicer: A Slicer toolbox for targeting brain stimulation. Neuroinformatics, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61453</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61453"/>
		<updated>2019-09-17T15:38:57Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61450</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61450"/>
		<updated>2019-09-16T15:49:09Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61449</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61449"/>
		<updated>2019-09-16T15:48:42Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Acta Psychiatrica Scandinavica, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61416</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61416"/>
		<updated>2019-09-11T20:55:35Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. NeuroImage Clinical, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61415</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61415"/>
		<updated>2019-09-11T20:54:56Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. NeuroImage Clinical, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61392</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61392"/>
		<updated>2019-09-04T21:41:37Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. NeuroImage, Special Issue, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61391</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=61391"/>
		<updated>2019-09-04T18:44:15Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. NeuroImage, Special Issue, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61390</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61390"/>
		<updated>2019-09-04T18:32:56Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. NeuroImage, Special Issue, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61302</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61302"/>
		<updated>2019-07-18T20:32:01Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/ ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61301</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61301"/>
		<updated>2019-07-18T20:30:03Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61296</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=61296"/>
		<updated>2019-07-15T16:38:16Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2019&amp;quot;&amp;gt;Briend F. et al., A new toolbox to compare target localizations for non-invasive brain stimulation: An application of rTMS treatment for auditory hallucinations in schizophrenia. Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=60724</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=60724"/>
		<updated>2019-01-16T20:29:20Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60723</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60723"/>
		<updated>2019-01-16T20:28:40Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60722</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60722"/>
		<updated>2019-01-16T20:28:26Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60721</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60721"/>
		<updated>2019-01-16T20:28:09Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60720</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60720"/>
		<updated>2019-01-16T20:27:31Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60719</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60719"/>
		<updated>2019-01-16T20:27:10Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60718</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60718"/>
		<updated>2019-01-16T20:26:03Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60717</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60717"/>
		<updated>2019-01-16T20:25:05Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Warning |This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60716</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60716"/>
		<updated>2019-01-16T20:21:55Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{|'''This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60715</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60715"/>
		<updated>2019-01-16T20:18:59Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
{{Notice|image=Stop hand nuvola.svg|'''This extension is under the [http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html CeCill license], a copyleft license.}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/nourryan/SlicerGeodesic Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60685</id>
		<title>Documentation/Nightly/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/Nightly/Modules/GeodesicSlicer&amp;diff=60685"/>
		<updated>2019-01-07T18:12:52Z</updated>

		<summary type="html">&lt;p&gt;Frederic: Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt; &amp;lt;!-- ---------------------------- --&amp;gt; {{documentation/{{documentation/version}}/module-header}} &amp;lt;!-- --------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=60684</id>
		<title>Documentation/4.10/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Modules/GeodesicSlicer&amp;diff=60684"/>
		<updated>2019-01-07T18:12:25Z</updated>

		<summary type="html">&lt;p&gt;Frederic: Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt; &amp;lt;!-- ---------------------------- --&amp;gt; {{documentation/{{documentation/version}}/module-header}} &amp;lt;!-- --------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=60683</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=60683"/>
		<updated>2019-01-07T18:12:19Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Brain Stimulation, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=60465</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=60465"/>
		<updated>2018-10-23T18:16:16Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Nicolas Delcroix, Ph.D., UMS 3408.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59247</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59247"/>
		<updated>2018-08-06T16:11:12Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Installation (in progress)}}&lt;br /&gt;
# First, open 3D Slicer&lt;br /&gt;
# Open the Slicer Extensions from the icon on the menu bar&lt;br /&gt;
# Choose &amp;quot;Geodesic Slicer&amp;quot; module from the list of extensions and click &amp;quot;INSTALL&amp;quot; button.&lt;br /&gt;
# Once you restart 3D Slicer, the Geodesic Slicer module should show up on the Modules menu (under Informatics-&amp;gt;Geodesic Slicer) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59243</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59243"/>
		<updated>2018-07-31T15:28:12Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii (by Drag &amp;amp; Drop or the Add Data dialogue).&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59241</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59241"/>
		<updated>2018-07-30T12:01:51Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Schizophrenia Bulletin, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59185</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59185"/>
		<updated>2018-07-05T09:57:46Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Repetitive transcranial magnetic stimulation (rTMS) treatment for auditory hallucinations: personalized or standardized targets? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59080</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59080"/>
		<updated>2018-05-31T13:34:49Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a quick mesh&amp;quot; or &amp;quot;Create a mesh&amp;quot; (with filling holes smoothing, better for the next part but longer).&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59036</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59036"/>
		<updated>2018-05-28T15:15:24Z</updated>

		<summary type="html">&lt;p&gt;Frederic: /* rTMS resting motor threshold- Correction factor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7*(SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDx-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59035</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59035"/>
		<updated>2018-05-28T15:14:26Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3 nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59034</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59034"/>
		<updated>2018-05-28T15:13:40Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement.&lt;br /&gt;
*3D printing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59033</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59033"/>
		<updated>2018-05-28T15:13:15Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site (MRI guided brain stimulation without the use of a neuronavigation System) and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry: MRI guided brain stimulation without the use of a neuronavigation system.&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59032</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59032"/>
		<updated>2018-05-28T15:07:44Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# 4 anatomical landmarks: (Sources Points) The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59031</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59031"/>
		<updated>2018-05-28T15:06:04Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
*Run the Dijkstra's algorithm to '''make the 10-20 system electrode'''.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*'''Project the stimulation site''' on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59030</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59030"/>
		<updated>2018-05-28T15:04:45Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
Run the Dijkstra's algorithm to make the 10-20 system electrode distances.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/ The nasion&lt;br /&gt;
#* 2/ The inion &lt;br /&gt;
#* 3/ The pre auricular to the left ear&lt;br /&gt;
#* 4/ The pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*Project the stimulation site on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59029</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59029"/>
		<updated>2018-05-28T15:02:51Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp stimulation site and correct the rTMS resting motor threshold by correction factor.&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
Run the Dijkstra's algorithm to make the 10-20 system electrode distances.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/the nasion&lt;br /&gt;
#* 2/the inion &lt;br /&gt;
#* 3/the pre auricular to the left ear&lt;br /&gt;
#* 4/the pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*Project the stimulation site on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59028</id>
		<title>Documentation/4.8/Modules/GeodesicSlicer</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Modules/GeodesicSlicer&amp;diff=59028"/>
		<updated>2018-05-28T15:01:15Z</updated>

		<summary type="html">&lt;p&gt;Frederic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
[[File:GeodesicSlicer logo.png|128x128px|thumb|left|GeodesicSlicer logo]]&lt;br /&gt;
[[File:Screen-shot of the GeodesicSlicer program. .png|thumb|right|The users enters 1) the T1-weighted whole-brain anatomical image 2) Place four points: the nasion, the inion, the left tragus and the right tragus. The program make a 3D mesh morphed to the structural MRI data of a participant and calculates the 10-20 system EEG with T3P3, and outputs the distance between the anatomical target and the T3 electrode.]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
: '''Author(s)/Contributor(s):''' Frederic Briend (ISTS EA 7466, UNICAEN), Antoine Nourry (UMS 3408)&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Acknowledgements:''' This work was supported by a Perceneige-Fondamental prize, CHU Caen, Region Normandie and UNICAEN.&amp;lt;br&amp;gt;&lt;br /&gt;
: '''Contact:''' Frederic Briend, &amp;lt;email&amp;gt;briend@cyceron.fr&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The module has been developed based on ideas and feedbacks from the community. We would like to especially thank:&lt;br /&gt;
* Dr. Olivier Etard, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Clément Nathou, M.D., Ph.D., CHU de Caen.&lt;br /&gt;
* Dr. Sonia Dollfus, M.D., Ph.D., CHU de Caen, header of [http://www.ists.cyceron.fr/spip.php?rubrique17 ISTS].&lt;br /&gt;
* Dr. Csaba Pinter, MSc, Queen's University.&lt;br /&gt;
* Dr. Andras Lasso, Ph.D., Queen's University.&lt;br /&gt;
&lt;br /&gt;
''If you use this module, please cite the following article: &amp;lt;ref name=&amp;quot;Briend 2018&amp;quot;&amp;gt;Briend F. et al., Personalized or standardized target for the treatment of auditory hallucinations by rTMS? Biological Psychiatry, submitted&amp;lt;/ref&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module calculates geodesic path in 3D structure. Thanks to this geodesic path, this module can draw an EEG 10-20 system, determine the projected scalp TMS site and correct the rTMS resting motor threshold by correction factor&lt;br /&gt;
&lt;br /&gt;
'''Terminology'''&lt;br /&gt;
*'''''Mesh''''' A mesh or polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.&lt;br /&gt;
*'''''Shortest path''''' In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.&lt;br /&gt;
*'''''10-20 EEG system''''' The International 10-20 system is commonly used for electroencephalogram (EEG) electrode placement and to correlate external skull locations with underlying cortical areas.&amp;lt;ref name=&amp;quot;Jasper 1958&amp;quot;&amp;gt;Jasper, H. (1958). The ten twenty electrode system of the international federation. Electroencephalography and Clinical Neurophysiology, 10, 371‑375.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
The overall goal is to allow users to find the shortest paths between nodes in a graph and via the Dijkstra's algorithm to make  10-20 system.  This module can be used for:&lt;br /&gt;
*Stimulation in psychiatry&lt;br /&gt;
*Surgery measurement&lt;br /&gt;
*3D printing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
==== Create a mesh ====&lt;br /&gt;
[[File:Create mesh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
A typical straightforward Geodesic Slicer workflow for consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
# Load a volume.nii.&lt;br /&gt;
# Enter in the Geodesic Slicer module using either the toolbar or the Modules menu button.&lt;br /&gt;
# Press the button &amp;quot;Create a mesh&amp;quot;.&lt;br /&gt;
#*Wait a moment.&lt;br /&gt;
#If the segmentation is fine, press the button &amp;quot;Use this mesh&amp;quot;.&lt;br /&gt;
#*If your image was named 'T1.nii' the output will be called 'T1.stl', in the same directory of your initial image.&lt;br /&gt;
#Go to '''Parameters to find the shortest path''' or '''Make 10-20 EEG system electrode''' section.&lt;br /&gt;
&lt;br /&gt;
==== Parameters to find the shortest path ====&lt;br /&gt;
[[File:Shortest past.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). &lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
#* Find the shortest path: Calculate in centimeter the geodesic (shortest) path via the Dijkstra's algorithm.&lt;br /&gt;
#* Draw the shortest path: Draw the Dijkstra's algorithm shortest path.&lt;br /&gt;
#** Length (cm): The length of the current curve is shown in centimeter.&lt;br /&gt;
&lt;br /&gt;
====10-20 system electrode====&lt;br /&gt;
Run the Dijkstra's algorithm to make the 10-20 system electrode distances.&lt;br /&gt;
&lt;br /&gt;
[[File:4 landmarks.png|thumb|right|Four anatomical landmarks are used for the essential positioning of the electrodes: the nasion, the inion, the pre auricular to the left ear and the pre auricular to the right ear. ]]&lt;br /&gt;
# Source points: The list of fiducial points on the curve, since the &amp;quot;Create-and-place Fiducial&amp;quot; button (in green in the figure above). Four anatomical landmarks are used for the essential positioning of the electrodes (in this order!):&lt;br /&gt;
#* 1/the nasion&lt;br /&gt;
#* 2/the inion &lt;br /&gt;
#* 3/the pre auricular to the left ear&lt;br /&gt;
#* 4/the pre auricular to the right ear&lt;br /&gt;
# Input STL model: The model you use (after &amp;quot;use this mesh&amp;quot;, the T1.stl created).&lt;br /&gt;
# Press the button &amp;quot;Make 10-20 EEG system electrode&amp;quot; to draw the 10-20 EEG system via the Dijkstra's algorithm.&lt;br /&gt;
#* The traditional T3P3 site according to the International 10–20 system of electroencephalogram was identified.&lt;br /&gt;
&lt;br /&gt;
*Project the stimulation site on the 10-20 system electrode distances and characterize it.&lt;br /&gt;
# Stimulation Site placed: Place on the T1-weighted anatomical image the stimulation point that you want since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'.&lt;br /&gt;
# Press the button &amp;quot;Project the stimulation site&amp;quot; to project the stimulation point on the scalp and find the 3nearest electrodes around it.&lt;br /&gt;
#* Nearest electrode 1: The distance in centimeter between the first nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 2: The distance in centimeter between the second nearest electrode and the projected stimulation site.&lt;br /&gt;
#* Nearest electrode 3: The distance in centimeter between the third nearest electrode and the projected stimulation site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====rTMS resting motor threshold- Correction factor====&lt;br /&gt;
Calculate correction factors to adjust the rTMS dose for the treatment (according to the depth of the stimulation site).&lt;br /&gt;
&lt;br /&gt;
[[File:M1.png|thumb|Localization of the motor hand area via a knob on the precentral gyrus]]&lt;br /&gt;
&lt;br /&gt;
# M1 Point Placed: Place on the T1-weighted anatomical image a point targeting the human [https://en.wikipedia.org/wiki/Motor_cortex|motor motor cortex] since the &amp;quot;Create-and-place Fiducial&amp;quot; button. Once this point given, click on 'Yes'. Help via the [https://pdfs.semanticscholar.org/ba38/045e9f01ec4d128c5fbe5a46dc209fccaac4.pdf Yousry's method].&lt;br /&gt;
# Set the stimulation intensity of the  resting motor threshold.&lt;br /&gt;
# Press the button &amp;quot;Correct the motor threshold&amp;quot; to correct the unadjusted motor threshold (rMT) in % stimulator output.&lt;br /&gt;
#* Two adjusted motor threshold (AdjMT%) in % stimulator output are given where SCDx is the scalp-to-cortex distance between the scalp and and the Stimulation Site, SCDm is the scalp-to-cortex distance between the scalp and M1. &lt;br /&gt;
#* 1/ The first according to Stokes et al. Clin  Neurophysiol 2007 &amp;lt;ref name=&amp;quot;Stokes 2007&amp;quot;&amp;gt;Stokes, M. G., Chambers, C. D., Gould, I. C., English, T., McNaught, E., McDonald, O., &amp;amp; Mattingley, J. B. (2007). Distance-adjusted motor threshold for transcranial magnetic stimulation. Clinical Neurophysiology, 118(7), 1617‑1625.&amp;lt;/ref&amp;gt; , where [AdjMT% = 2,7 x (SCDx - SCDm) + rMT] &lt;br /&gt;
#* 2/ The second according to Hoffman et al. Biol Psychiatry 2013 &amp;lt;ref name=&amp;quot;Hoffman 2013&amp;quot;&amp;gt;Hoffman, R. E., Wu, K., Pittman, B., Cahill, J. D., Hawkins, K. A., Fernandez, T., &amp;amp; Hannestad, J. (2013). Transcranial magnetic stimulation of Wernicke’s and Right homologous sites to curtail « voices »: a randomized trial. Biological Psychiatry, 73(10), 1008‑1014. &amp;lt;/ref&amp;gt; , where [AdjMT% = 0.90*rMT*e0.036*(SCDt-SCDm)] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
The code is available at [https://github.com/FredericBr/GeodesicPathSlicer Github].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frederic</name></author>
		
	</entry>
</feed>