A package for interactive slice visualization.
Project description
slicevis
A Python package for interactive slice and segmentation visualization of 3D datasets in Jupyter notebooks.
Axial slice of murine CT scan with multi-class segmentation in SliceWidget.
Easiest way to install slicevis:
pip install slicevis
How to build slicevis yourself (Windows):
- Clone this repository
git clone https://git.rwth-aachen.de/nicholasbook/sce-project-ss22.git
. - (Optional) Create a virtual environment
py -m venv env
and activate itcall env/Scripts/activate.bat
. - Install locally using
pip install -e .
.
Usage
slicevis is meant to be used in combination with Jupyter notebooks. I recommend that you use VSCode with the Python and Jupyter extension installed.
Check out the examples
directory in the repository for test data and prepared notebooks.
Minimal usage:
from slicevis import SliceWidget
data = slicevis.load_image("CT280.gff") # 4D image
widget = slicevis.SliceWidget(data.get_timepoint())
License
The slicevis package is licensed under the terms of the MIT license.
The examples directory of the repository contain data that is licensed under CC-BY-SA 4.0. Please refer to examples/LICENSE.txt
for more details.
Acknowledgements
The slicevis Python package was developed by me, Nicholas Book, as a final project for the course "Sustainable Computational Engineering", held by Dr. Anil Yildiz and Dr. Hu Zhao of the Chair of Methods for Model-based Development in Computational Engineering (MBD). I would like to extend my gratitude to both for their kind support.
Project details
Release history Release notifications | RSS feed
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 slicevis-1.0.0.tar.gz
.
File metadata
- Download URL: slicevis-1.0.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f79057db95f6781a0021dd36f74b0fd459977161c0aa908de2b5c37cdfa54f9 |
|
MD5 | 7715af4a90848a5ddae1adea2316773c |
|
BLAKE2b-256 | 7eeaf55ed8e100dc7fee33b27cf9e46b31f03f5f98734b70e360a0b792de21af |
File details
Details for the file slicevis-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: slicevis-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f899a76d09e33434c9075a75508bb15818084fef7c98a63cb4953a0739dd9122 |
|
MD5 | 9955ec1b42f39a983af712210a5aba07 |
|
BLAKE2b-256 | 0559e77f2df27a03309037881e4107d46b36f6aa202c97b98ec1ee8661f159be |