Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2018 Jan 10.
Published in final edited form as: Proc SPIE Int Soc Opt Eng. 2017 Mar;10137:101370R. doi: 10.1117/12.2254673

CIVILITY: Cloud based Interactive Visualization of Tractography Brain Connectome

Danaële Puechmaille a, Martin Styner a, Juan C Prieto a,
PMCID: PMC5761350  NIHMSID: NIHMS908207  PMID: 29332985

Abstract

Cloud based Interactive Visualization of Tractography Brain Connectome (CIVILITY) is an interactive visualization tool of brain connectome in the cloud. This application submits tasks to remote computing grids were the CIVILITY-tractography pipeline is deployed. The application will list the running tasks for the user and once a task is completed the brain connectome is visualized using Hierarchical Edge Bundling. The analysis pipeline uses FSL tools (bedpostx and probtrackx2) to generate a triangular matrix indicating the connectivity strength between different regions in the brain. This work is motivated by medical applications in which expensive computational tasks such as brain connectivity is needed and to provide a state of the art visualization tool of Brain Connectome.

This work does not contribute any novelty with respect to the visualization methodology, is rather a new resource for the neuroimaging community. This work is submitted to the SPIE Biomedical Applications in Molecular, Structural, and Functional Imaging conference. The source code of this application is available in NITRC*

Keywords: Tractography, connectivity, diffusion tensor imaging, brain connectome, cloud, open source, application

1. INTRODUCTION

Tractography is used to enhance our knowledge of human brain anatomy. Recent studies analyzed pediatric subjects with longitudinal data in order to understand the development trend of fibers in the infant brain.1 Progress has been made to develop visualization tools that will help researches better understand brain connectivity.2 Nevertheless, there is an opportunity to develop new tools for brain connectome visualization. In this paper, we present CIVILITY, an open source web application to visualize the brain connectome. This tool offers researchers the possibility to submit the tractography pipeline to remote computing grids and to visualize the results of the brain connectome in an interactive plot. The tractography pipeline uses the probabilistic method of tractography using surfaces as seeds3.4 This expensive computational task is executed on a remote computing grid and once completed, the brain connectome can be visualized in a circular plot known as Hierarchical Edge Bundling plot implemented using Data Driven Documents (D3.js) CIVILITY uses clusterpost to submit the task to remote computing grids. CIVILITY provides the interface to set the inputs for the brain connectivity pipeline and clusterpost is in charge of submitting the task, monitoring its completion and retrieving the results. Once a taks is completed, CIVILITY provides the option to retrieve the results or visualize them directly in the circular plot or displayed on top of a brain template.

This work does not contribute any novelty with respect to the visualization methodology, is rather a new resource for the community. This work is submitted to the Biomedical Applications in Molecular, Structural, and Functional Imaging conference.

In order to validate this tool, we applied the tractography pipeline to a set of infant brains. The following section explains in detail the methods used in CIVILITY.

2. METHODS

The figure 1 shows the architecture of the application CIVILITY.

Figure 1.

Figure 1

Architecture of the application CIVILITY.

The following section explains the necessary input parameters to start the tractography pipeline.

2.1 Tractography

2.1.1 Input parameters

To start the tractography pipeline, the following parameters are needed: Diffusion Weighted Image (DWI), T1 image, brain mask, a parcellation table and white matter surface. If the white matter surface does not contain information about the brain regions, the gray matter containing labeled regions can be added as well. For a detailed explanation about the input parameters, please visit the main repository of the application.

The following section explains the CIVILITY-tractography pipeline.

2.1.2 CIVILITY-Tractography pipeline

CIVILITY-tractography pipeline uses FSL tools, a comprehensive library of analysis tools for FMRI, MRI and DTI brain imaging data developed by the Analysis group §. The tool uses a Bayesian Estimation of Diffusion Parameters Obtained using Sampling Techniques for modeling Crossing Fibers (bedpostx). This tool builds up distributions on diffusion parameters at each voxel in the image and prepares it to run probabilistic tractography. The utility ExtractLabelSurfaces will extract each surface region and will update a seed list to start the tractography.

Finally, probtrackx2 runs the probabilistic tractography, using the outputs from bedpostx and ExtractLabel-Surfaces. The outputs of this pipeline yields a triangular matrix indicating the strength of connectivity between each brain region. The connectivity values range from 0 or no connectivity to 1 full connectivity.

Next section explains how the resulting triangular matrix is visualized.

2.2 Visualization

CIVILITY-visualization will generate the brain connectome using the results from the pipeline described above. The visualization requires the connectivity matrix and a parcellation table describing the brain atlas in brain surfaces.

The brain connectome is plotted using a circle plot know as Hierarchical Edge Bundling. The visualization offers the possibility to display the minimum, maximum or average between the lower or upper sides of the matrix. A tension value can be set in order to change the shape of the links and facilitate visualization.

The interactive visualization allows the user to threshold the output matrix between two values. The strength of the link between regions is colored using a rainbow gradient.

The following section explains the materials used to compute the tractography.

3. MATERIALS

We apply our tractography pipeline to 19 infants (scanned at 1 year and 2 years approximately). All data passed Quality Control (QC) and was registered in the same physical space of the DWI image. The surface used for this analysis contained label information according to the brain atlas Automated Anatomical Labeling (AAL90). The following section shows the results of this pipeline.

4. RESULTS

We compute the brain connectome of these 19 infants at years 1 and 2. The input surfaces for the tractography overlap with each other. The cerebellum regions are ignored in the brain connectome computation. The number of samples is set to 3000 (number of streamlines per voxel) with a step length of 0.75mm and a seed sphere sampling of 0.5.

4.1 Brain connectome average

The connectivity is computed with the average value between the lower and upper triangles of the connectivity matrix. The resulting matrices from 19 infants are averaged as shown in equation 1.

Ai,j=i=0nMin (1)

Figure 2 shows the average brain connectome for 1 year and 2 year old infants using different thresholds. We threshold the plotting using two ranges, i.e., [ 0.05, 0.5 ] and [0.04, 0.4 ] for better visualization.

Figure 2.

Figure 2

Figures (a) and (b) show the average brain connectome with threshold [0.01 – 0.4] for 1 and 2 years old respectively. Figures (d) and (e) use a threshold [0.05 – 0.5].

These results show a variability pretty constant between 1 and 2 year old, but higher at 2 years old. Figures 3 shows the average brain connectome visualized on a brain template with threshold [0.01 – 0.4].

Figure 3.

Figure 3

Average brain connectome at 1 (a) and 2 (b) year old on brain templates. Threshold : 0.01 – 0.4

The shape of the connectivity is similar at both ages. However, some links are missing in the brain connectome for 1 year old subjects and the connectivity values are lower for 1 year old children when compared to 2 year old children.

4.2 Variability and deviation of the brain connectome

We compute the unbiased sample variance as shown in Equation 2 to show the variability of the brain connectome in a dataset. The resulting matrix is visualized.

Vi,j=1n-1×i=0,j=0n(Mi,j-Ai,j)2 (2)

We also compute the standard deviation of this dataset at 1 and 2 year old (Equation 3).

Di,j=Vi,j (3)

Figure 4 shows the deviation in the brain connectome. We threshold between 0.05 and 0.2 for better visualization. The image shows higher variability for 1 year old infants. The deviation for 2 year old infants is much lower.

Figure 4.

Figure 4

Standard deviation of the brain connectome at 1 (a) and 2 (b) year old on brain templates. Threshold : 0.05 –0.2

5. CONCLUSIONS

We presented CIVILITY, Cloud based Interactive Visualization of Tractography Brain Connectome which is a web application running in the cloud. CIVILITY offers the possibility to the users to launch a tractography pipeline in remote computing grids. Data transfer and task monitoring are handled by the application. Running a brain tractography task in a computing grid is desirable as it may take up to one week to finish processing a single subject. Once completed, the results are made available to the user for visualization.

We have developed an interactive visualization using Hierarchical Edge Bundling, This type of graph facilitates the representation of complex data such as brain connectivity between regions. With this user-friendly tool for brain connectome, we expect to enhance our understanding of brain development during childhood and reduce the time consuming operation when a study requires processing multiple subjects.

This tool does not contribute any novelty with respect to methodology, but is rather a new resource for the community. This work is submitted to the Biomedical Applications in Molecular, Structural, and Functional Imaging conference. The source code of this application is available here||.

Acknowledgments

Thanks to Dr. Guilmore, UNC, for use of his dataset. Grants: UO1MH070890, U54HDO79124, RO1MH091351.

Footnotes

References

  • 1.Yap PT, Fan Y, Chen Y, Gilmore JH, Lin W, Shen D. Development trends of white matter connectivity in the first years of life. PLoS ONE. 2011;6:1–15. doi: 10.1371/journal.pone.0024678. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Xia M, Wang J, He Y. Brainnet viewer: A network visualization tool for human brain connectomics. PLoS ONE. 2013;8:1–15. doi: 10.1371/journal.pone.0068910. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Behrens T, Berg HJ, Jbabdi S, Rushworth M, Woolrich M. Probabilistic diffusion tractography with multiple fibre orientations: What can we gain? Neuro Image. 2007;34(1):144–155. doi: 10.1016/j.neuroimage.2006.09.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Behrens T, Woolrich M, Jenkinson M, Johansen-Berg H, Nunes R, Clare S, Matthews P, Brady J, Smith S. Characterization and propagation of uncertainty in diffusion-weighted mr imaging. Magnetic Resonance in Medicine. 2003;50(5):1077–1088. doi: 10.1002/mrm.10609. [DOI] [PubMed] [Google Scholar]

RESOURCES