Skip to main content

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".

Comparison of OmniSlicer against traditional methods

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.encode_volumes(
  volume_list=[volume_path],   # you can pass a list of several image paths here
  mask_list=[mask_path],       # you can pass a list of several segmentation mask paths here
  output_dir=output_dir,
  n_views=n_views,
  model_name="facebook/dinov3-vits16-pretrain-lvd1689m"
)

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
transformers 5.21.0

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}
}

Metadata

Release files for OmniSlicer 0.0.11

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

Source distribution (sdist)

Source distribution for OmniSlicer 0.0.11
File Size Uploaded Provenance Actions
omnislicer-0.0.11.tar.gz 12.9 kB Without provenance Details for omnislicer-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for OmniSlicer 0.0.11
File Interpreter ABI Platform Actions
omnislicer-0.0.11-py3-none-any.whl Python 3 none any Details for omnislicer-0.0.11-py3-none-any.whl

Total release size: 24.9 kB

Release files / omnislicer-0.0.11.tar.gz

Download URL omnislicer-0.0.11.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c5ee226f92b5e0c733abb979508e0e4b94f9acd1c6ab944bad4f07dc599c6c6c
BLAKE2b-256 checksum
How to use checksums
85ca968be5da3698e4342c09f31c61516038748e2e3bf6aeb79ed9791cc686c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / omnislicer-0.0.11-py3-none-any.whl

Download URL omnislicer-0.0.11-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f17b1988fc26a33623e4efd9b1ce2d395a3418b4914638aa6ad0d576b8df444
BLAKE2b-256 checksum
How to use checksums
9388a7da3500414a7857622a18dc074ae3a8118f152bf114379069fa398c565b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for OmniSlicer 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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