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

@misc{kiechle2025tomographview3dmedicalimage,
      title={TomoGraphView: 3D Medical Image Classification with Omnidirectional Slice Representations and Graph Neural Networks}, 
      author={Johannes Kiechle and Stefan M. Fischer and Daniel M. Lang and Cosmin I. Bercea and Matthew J. Nyflot and Lina Felsner and Julia A. Schnabel and Jan C. Peeken},
      year={2025},
      eprint={2511.09605},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2511.09605}, 
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnislicer-0.0.9.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omnislicer-0.0.9-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file omnislicer-0.0.9.tar.gz.

File metadata

  • Download URL: omnislicer-0.0.9.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for omnislicer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 cc5214cc9009c7973edd2a7b1d5713c158a9a389915bb1c89c4a16a3b0cc1550
MD5 5b1b661b7d7aff92105328392aedff11
BLAKE2b-256 5b845953afb6823012dc88e309a5798c5aaefa84d9702bebd043f18e47e09dec

See more details on using hashes here.

File details

Details for the file omnislicer-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: omnislicer-0.0.9-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

Hashes for omnislicer-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 022e552066ec3f81227503d2e7d3bca3ae027571c98862a7be11dc64564ce7e0
MD5 1b6593400d1ad3f9a3573f9fb87f6dbb
BLAKE2b-256 b55048710cc8a79db85c545f4a4270ff2925701e50468b107f66f1de3c928721

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.10

2 files

This release

0.0.9 This release

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 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