Difference between revisions of "Documentation/Labs/Slicer Visualization module"

From Slicer Wiki
Jump to: navigation, search
(Created page with "<big>'''<big>Overview</big>'''</big> This is a page introducing the Slicer Connectome Visualization project for adding new visualization extensions into 3DSlicer. '''''What...")
 
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<big>'''<big>Overview</big>'''</big>
+
{{TOC right}}
 +
 
 +
==Overview==
  
 
This is a page introducing the Slicer Connectome Visualization project for adding new visualization extensions into 3DSlicer.
 
This is a page introducing the Slicer Connectome Visualization project for adding new visualization extensions into 3DSlicer.
  
 
'''''What do we want to visualize?''' <br />''
 
'''''What do we want to visualize?''' <br />''
Visualizations are based on matrices with connectivity values that may be obtained from diffusion connectivity or resting state connectivity studies (region-to-region values).<br />
+
Visualizations are based on symmetric and normalized matrices (AAL or Destrieux) with connectivity values that may be obtained from diffusion connectivity or resting state connectivity studies (region-to-region values).<br />
 
The matrices represent a graph, where the edges are the connectivity values and the nodes are brain regions.   
 
The matrices represent a graph, where the edges are the connectivity values and the nodes are brain regions.   
  
 
'''''What do we mean by connectome?''' <br />''
 
'''''What do we mean by connectome?''' <br />''
The mapping of all neural connections within the brain is what we call a connectome.  
+
The mapping of all neural connections within the brain is what we call a connectome.<br />
 +
Each connection is defined by its strength (visually it represents the thickness of the connection between two nodes) and this value is found in the matrices (edge files).
 +
 
 +
==Goal==
 +
 
 +
Implement two different modules into Slicer:
 +
*2D circle visualization of brain connectome
 +
*3D volume visualization of brain connectome
 +
[[File:Civility.png|border|700px]]
 +
                                               
 +
 
 +
==Details==
  
<big>'''<big>Goal</big>'''</big><br />
+
The user will have the choice between the 2D and the 3D visualization module.
 +
First we will focus on the 3D module and then on the 2D module. 
  
Implement fast 2D and 3D brain connectome visualization into Slicer.
+
'''''User Inputs (3 ASCII files):'''''
 +
*Volume file
 +
*Node file (and maybe add and option for the user to be able to edit the node characterization ;for example with labels)
 +
*Edge file (could be binary, but we will not impose any constraints on the range)
 +
The Node file and the Edge file will have to be adaptable formats, that is the reason why we want to use ASCII files.
 +
The Node file should include information about where the node is located. <br />
 +
The file extension could either be a Landmark Registration format (existing module in Slicer) or a Jason file (including a node description file (x,y,z coordinates and node color index) and a node magnitude file(with just the size of a node)).  
  
<big>'''<big>Details</big>'''</big><br />
+
'''''Features 3D module:'''''
 +
* Python module (using VTK) and maybe C++
 +
* Implement a 3D visualization tool that is faster than BrainNetViewer and CIVILITY (based on Matlab).
 +
* For each node we could sum the connections and generate 2 files. One disk file (how do I save them on a disk?) and one data structure file (how do I store data in memory?)
 +
* The 3D visualization module should offer the possibility to rotate around the connectome, add data cursor and zoom for more precision.
 +
* Impose a minimum strength on the connectome connections
  
* Python and C++ module (using VTK)
+
'''''Features 2D module:'''''
* Implement a 2D spherical graph visualization, using matrices
+
* Use as much Python as we can (VTK) otherwise C++
* Custom graph view representing the associated matrix <br />
+
* Implement a 2D spherical graph visualization (may apply Hierarchical Edge Bundling), using matrices<br />
(possible options: vtkMRMLGraphMarkupNode,vtkSlicerGraphRepresentation3D and associated widget (looking at vtkMRMLMarkupsCurveNode, vtkSlicerCurveRepresentation and vtkSlicerCurveWidget))
+
(possible options: vtkMRMLGraphMarkupNode,vtkSlicerGraphRepresentation3D and associated widget (looking at vtkMRMLMarkupsCurveNode, vtkSlicerCurveRepresentation and vtkSlicerCurveWidget))  
* Implement a 3D visualization tool that is faster than the BrainNetViewer (based on Matlab).
+
* Custom graph view representing the associated matrix and define the connection strength by the opacity of the color <br />
* The 3D visualization module should offer the possibility to rotate around the connectome and zoom for more precision.
 

Latest revision as of 21:33, 21 August 2019

Home < Documentation < Labs < Slicer Visualization module

Overview

This is a page introducing the Slicer Connectome Visualization project for adding new visualization extensions into 3DSlicer.

What do we want to visualize?
Visualizations are based on symmetric and normalized matrices (AAL or Destrieux) with connectivity values that may be obtained from diffusion connectivity or resting state connectivity studies (region-to-region values).
The matrices represent a graph, where the edges are the connectivity values and the nodes are brain regions.

What do we mean by connectome?
The mapping of all neural connections within the brain is what we call a connectome.
Each connection is defined by its strength (visually it represents the thickness of the connection between two nodes) and this value is found in the matrices (edge files).

Goal

Implement two different modules into Slicer:

  • 2D circle visualization of brain connectome
  • 3D volume visualization of brain connectome

Civility.png


Details

The user will have the choice between the 2D and the 3D visualization module. First we will focus on the 3D module and then on the 2D module.

User Inputs (3 ASCII files):

  • Volume file
  • Node file (and maybe add and option for the user to be able to edit the node characterization ;for example with labels)
  • Edge file (could be binary, but we will not impose any constraints on the range)

The Node file and the Edge file will have to be adaptable formats, that is the reason why we want to use ASCII files. The Node file should include information about where the node is located.
The file extension could either be a Landmark Registration format (existing module in Slicer) or a Jason file (including a node description file (x,y,z coordinates and node color index) and a node magnitude file(with just the size of a node)).

Features 3D module:

  • Python module (using VTK) and maybe C++
  • Implement a 3D visualization tool that is faster than BrainNetViewer and CIVILITY (based on Matlab).
  • For each node we could sum the connections and generate 2 files. One disk file (how do I save them on a disk?) and one data structure file (how do I store data in memory?)
  • The 3D visualization module should offer the possibility to rotate around the connectome, add data cursor and zoom for more precision.
  • Impose a minimum strength on the connectome connections

Features 2D module:

  • Use as much Python as we can (VTK) otherwise C++
  • Implement a 2D spherical graph visualization (may apply Hierarchical Edge Bundling), using matrices

(possible options: vtkMRMLGraphMarkupNode,vtkSlicerGraphRepresentation3D and associated widget (looking at vtkMRMLMarkupsCurveNode, vtkSlicerCurveRepresentation and vtkSlicerCurveWidget))

  • Custom graph view representing the associated matrix and define the connection strength by the opacity of the color