Skip to main content

Omnidirectional Volume Slicing Package for 3D Medical Image Analysis

Project description

Omnidirectional Volume Slicer - OmniSlicer

Implementation of the omnidirectional volume slicer package in Python and PyTorch for 3D medical image analysis, from our 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}, 
}

Project details


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.8.tar.gz (11.9 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.8-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for omnislicer-0.0.8.tar.gz
Algorithm Hash digest
SHA256 9bbd68289e45e5f145b920409776ea484d781c3003e8becb382e9aeadd92410e
MD5 c30fe47341348ebe70d6901ca21f464c
BLAKE2b-256 cf0838f1f6801b4f8e98a1400d0f558c93169ef5b255d2c8028d5126d261bf74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnislicer-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7cb13804b3f2268de333be4aeef6f033a4a8318bc5cf7ad29e5ca871f99b3dec
MD5 aad356798dea5e44270162e04655dc3e
BLAKE2b-256 ebaf63722c241aca1c16d95e0a7396d8c15e9a9aad188e0ecc407e4a97783e57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page