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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b6e1ac0681e1884d1179168a365d3971822deb970b487fe93b220cd07ef3357 |
|
MD5 | 0d381579aa1e2294ee72c04773782ded |
|
BLAKE2b-256 | 92905866fe697f75e62b8287560d90c81d94a8936fbf906489c37ed4295dd42c |