The Diffusion Visualization Explorer (DiVE) Tool
Project description
Table of Contents
Built With
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.
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
UI Interaction
- 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.
- Change View: Click on the buttons to change the view to Sagittal/Coronal/Axial view.
- Choose Slice: Change the brain slice value based on the selected view (a brain_2d file is required to use this)
- Change Opacity (Streamlines, Mask, Mesh, Slice): Use the sliders to change the opacity of the file for a selected file.
- Add Button: To add more items, click the add button and choose the type of file you want to add.
- Remove Button: To remove a specific file, select it using the Choose type and then click this button.
USAGE CLI
Here are few example of how to use the code for specific features.
Rendering Tract/Mask/Mesh :
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
Contact
Lobes - Siddharth Narula, Iyad Ba Gari, Neda Janahshad
Acknowledgments
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929024a718dab4a90a10b20090c6343859f8f41f54880f8c8996461af9e71b3b |
|
MD5 | edb569dbf485344fb8ed90a355b489ff |
|
BLAKE2b-256 | 473ace52ae3d0285c19f96f5a29eefd5971e70a0712ed256ce7ced934e64e105 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a475bb9cd71a390ad310bee029e56861e87ce5e98b3c30f5eaca2ae77d0a4cc |
|
MD5 | edb5c0aa02d3ac34e065ca630d793a6c |
|
BLAKE2b-256 | 82ea3e3eeded6503cd88580bea0b5be0acc9207d54abd14a3f7e1ca7b7ae43c9 |