Skip to main content

The Diffusion Visualization Explorer (DiVE) Tool

Project description


Logo

DiVE

Diffusion Visualization and Explorer
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. Built With
  2. About The Project
  3. Getting Started
  4. UI Interaction
  5. Usage CLI
  6. Contributing
  7. Contact
  8. Acknowledgments

Built With

Fury OpenGL distinctipy pypi

(back to top)

About The Project

Diffusion Visualization and Explorer (DiVE) is a tool designed for visualizing medical imaging data. It allows users to visualize tractography in various formats (TRK, TCK, TRX, VTK), binary masks in NIfTI format, and meshes in VTK format. Users also have the flexibility to load multiple Regions of Interest (ROIs) in different combinations, whether they are exclusively of one type (mesh, mask, or tract) or a combination of types. Additionally, users can toggle between 3D visualization and saving the output by specifying a designated path.

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

pip install dive-mri

(back to top)

UI Interaction

  1. Choose Type: Use the type of ROI type (Mask/Mesh/Tract/Brain) to open the drop down having the names of all the files of that type, to select that required ROI.
  2. Change View: Click on the buttons to change the view to Sagittal/Coronal/Axial view.
  3. Choose Slice: Change the brain slice value based on the selected view (a brain_2d file is required to use this)
  4. Change Opacity (Streamlines, Mask, Mesh, Slice): Use the sliders to change the opacity of the file for a selected file.
  5. Add Button: To add more items, click the add button and choose the type of file you want to add.
  6. Remove Button: To remove a specific file, select it using the Choose type and then click this button.

Image

USAGE CLI

Here are few example of how to use the code for specific features.

Rendering Tract/Mask/Mesh : Image

The user can give a 3D region of interest label image in NIFTI format and the tool will render it as a set of 3D contours (Figure A). Tract rendering can be conducted across all common formats (trk, tck, trx, vtk), with user defined coloring options, as well as available defaults (Figure B). Each fiber tract is displayed as tubes with a user-defined width. The tool applies either the color specified by the user or a random color for single labeled masks and chooses a set of distinct colors for multi-labeled masks using “distinctipy” or uses the colormap specified by the user (Figure C). DiVE also allows for the overlay of NIFTI masks and surface meshes on the fiber tracts, which can map scalar values to color or opacity, providing insights into tissue microstructure. The tool supports backgrounds using either a 3D glass brain or 2D slices. Visualization can be done in any stereotaxic space.

Note: Specific Use cases can be found in open Examples

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contact

Lobes - njahansh@usc.edu, narulas@usc.edu, bagari@usc.edu

(back to top)

Acknowledgments

  • Siddharth Narula, Iyad Ba Gari, Shruti P. Gadewar, Sunanda Somu, Neda Jahanshad, "Diffusion Visualization Explorer (DiVE) Organization for Human Brain Mapping (OHBM 2024) June 26,2024 https://ww6.aievolution.com/hbm2401/index.cfm?do=abs.viewAbstract&style=1&abstractID=2661"

  • Iyad Ba Gari, Shayan Javid, Alyssa H. Zhu, Shruti P. Gadewar, Siddharth Narula, Abhinaav Ramesh, Sophia I. Thomopoulos et al. "Along-Tract Parameterization of White Matter Microstructure using Medial Tractography Analysis (MeTA)." In 2023 19th International Symposium on Medical Information Processing and Analysis (SIPAIM), pp. 1-5. IEEE, 2023. doi: 10.1109/SIPAIM56729.2023.10373540.

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dive_mri-1.0.3.tar.gz (66.9 kB view hashes)

Uploaded Source

Built Distribution

dive_mri-1.0.3-py3-none-any.whl (63.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page