Visualisation of 3D mitral valve
Project description
Echoviz
Visualization of (3D) echocardiograms in various ways using plotly
. This does not include pre-processing of the data from DICOMs to voxel grid.
Installation
$ pip install echoviz-malou
This will automatically install needed dependencies.
Usage
All functions allow you to plot inputs, with annotations and/or predictions if you want to. You can show and / or save the produced figure except sliced_sequence
and sliced_volume
which can only save it.
Several functions are available:
animated_3d
: Interactive 3D plot for all frames in a sequence, saved as HTMLinteractive_3d
: Interactive 3D of a voxel grid, saved as HTMLplot_slice
: 2D slice of a voxel grid, saved as PNGsliced_sequence
: 2D slice for all frames in a sequence, saved as GIFsliced_volume
: All 2D slices in one voxel grid, saved as GIFstatic_3d
: Screenshot of the interactive 3D plot in default view, saved as PNG
All functions expect to receive inputs, annotations/labels and predictions as either VoxelGrid
or list/dictionary of VoxelGrid
.
Examples
See tests/test.py
and tests/test.ipynb
.
NB: To run the test script and notebook, you'll need to install the aditional packages: h5py
, jupyterlab
, jupyter-dash
.
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
Hashes for echoviz_MALOU-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af06667aa07e1dfa2758d901ad1be2bfec8e59aa2ac88448ff3bdac2c19866f8 |
|
MD5 | a02d8c96241d8410128c75c95c121f21 |
|
BLAKE2b-256 | 632a5240e6b116928ca85fcd0755f565a6fc11aa04d9daa6738149e36291a389 |