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

(back to top)

Contact

Lobes - Siddharth Narula, Iyad Ba Gari, Neda Janahshad

(back to top)

Acknowledgments

(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.4.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

dive_mri-1.0.4-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file dive_mri-1.0.4.tar.gz.

File metadata

  • Download URL: dive_mri-1.0.4.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for dive_mri-1.0.4.tar.gz
Algorithm Hash digest
SHA256 929024a718dab4a90a10b20090c6343859f8f41f54880f8c8996461af9e71b3b
MD5 edb569dbf485344fb8ed90a355b489ff
BLAKE2b-256 473ace52ae3d0285c19f96f5a29eefd5971e70a0712ed256ce7ced934e64e105

See more details on using hashes here.

File details

Details for the file dive_mri-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: dive_mri-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for dive_mri-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5a475bb9cd71a390ad310bee029e56861e87ce5e98b3c30f5eaca2ae77d0a4cc
MD5 edb5c0aa02d3ac34e065ca630d793a6c
BLAKE2b-256 82ea3e3eeded6503cd88580bea0b5be0acc9207d54abd14a3f7e1ca7b7ae43c9

See more details on using hashes here.

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