Omnidirectional Volume Slicer - OmniSlicer
Implementation of the omnidirectional volume slicer package in Python and PyTorch for 3D medical image analysis, from our Medical Image Analysis publication "TomoGraphView: 3D Medical Image Classification with Omnidirectional Slice Representations and Graph Neural Networks".
Example Usage
from OmniSlicer import OmniSlicer
volume_path = "path_to_volume.nii.gz"
mask_path = "path_to_mask.nii.gz"
output_dir = "output_dir"
n_views = N
OmniSlicer.extract_slices(volume_path=volume_path,
mask_path=mask_path,
output_dir=output_dir,
n_views=n_views)
Tested Dependencies
The functionality of OmniSlicer has been successfully validated using the following dependency versions. These represent the environment in which the package has been developed and tested:
| Dependency | Version Tested |
|---|---|
python |
3.11.14 |
torch |
2.6.0+cu124 |
torchvision |
0.21.0+cu124 |
trimesh |
4.6.8 |
numpy |
2.2.6 |
pyvista |
0.45.0 |
torchio |
0.20.7 |
tqdm |
4.67.1 |
These versions are defined in the project’s installation requirements and are automatically resolved when installing OmniSlicer via pip. While other combinations may work, the dependency set above is the configuration against which all core features have been verified. Please make sure that you install torch with CUDA.
Citation
@article{kiechle2026tomographview,
title={TomoGraphView: 3D medical image classification with omnidirectional slice representations and graph neural networks},
author={Kiechle, Johannes and Fischer, Stefan M and Lang, Daniel M and Bercea, Cosmin I and Nyflot, Matthew J and Felsner, Lina and Schnabel, Julia A and Peeken, Jan C},
journal={Medical Image Analysis},
pages={104174},
year={2026},
publisher={Elsevier}
}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omnislicer-0.0.10.tar.gz.
File metadata
- Download URL: omnislicer-0.0.10.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28acb284c74789dbbded19ce92daa7f1d26d2dc7c8611c50bd4c487a173c4318
|
|
| MD5 |
98da2112db64130c86db91b301a2906b
|
|
| BLAKE2b-256 |
a5cc3f41d28fed7b090098267c69ebb0115b0d7a585819cae7f0f6e81ab3d6b0
|
File details
Details for the file omnislicer-0.0.10-py3-none-any.whl.
File metadata
- Download URL: omnislicer-0.0.10-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22c133cad8390e36f9e66f8d0228e4f0b6e3acf05c860bbe214b666969590e39
|
|
| MD5 |
a458f88f418685e721c58da70d72f026
|
|
| BLAKE2b-256 |
e0e9365f119b596c1767b4760d328cc668a97138dc5e9c75837a256422bc0e3d
|