Skip to main content

slicevis

A Python package for interactive slice and segmentation visualization of 3D datasets in Jupyter notebooks.

Axial slice visualization.

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):

  1. Clone this repository git clone https://git.rwth-aachen.de/nicholasbook/sce-project-ss22.git.
  2. (Optional) Create a virtual environment py -m venv env and activate it call env/Scripts/activate.bat.
  3. 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.

Release files for slicevis 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slicevis 1.0.0
File Size Uploaded
slicevis-1.0.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slicevis 1.0.0
File Interpreter ABI Platform
slicevis-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / slicevis-1.0.0.tar.gz

Download URL slicevis-1.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9f79057db95f6781a0021dd36f74b0fd459977161c0aa908de2b5c37cdfa54f9
BLAKE2b-256 checksum
How to use checksums
7eeaf55ed8e100dc7fee33b27cf9e46b31f03f5f98734b70e360a0b792de21af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / slicevis-1.0.0-py3-none-any.whl

Download URL slicevis-1.0.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f899a76d09e33434c9075a75508bb15818084fef7c98a63cb4953a0739dd9122
BLAKE2b-256 checksum
How to use checksums
0559e77f2df27a03309037881e4107d46b36f6aa202c97b98ec1ee8661f159be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page