Skip to main content

Python bindings for the Medical Imaging Interaction Toolkit (MITK)

Project description

mitk: Python bindings for MITK

The mitk package exposes the data structures and core utilities of the Medical Imaging Interaction Toolkit (MITK) to Python. It ships as a self-contained wheel that bundles the compiled MITK runtime together with its native dependencies like ITK, VTK, and DCMTK, so you can pip install it and start working with medical images without building MITK from source.

Installation

pip install mitk-python

The PyPI distribution is named mitk-python; the import name is mitk.

Quick start

import mitk
import numpy as np

img = mitk.Image(np.zeros((64, 64, 64), dtype=np.float32), spacing=(1.0, 1.0, 2.5))
img.save("output.nrrd")

loaded = mitk.Image("output.nrrd")
print(loaded.shape, loaded.spacing, loaded.origin)

Documentation

The Python API (classes, functions, NumPy interop, file I/O, geometry, properties) is documented at docs.mitk.org/python/latest/.

The wider MITK stack (C++ modules, plugins, the application framework) is documented at docs.mitk.org/latest/.

License

MITK is available under a 3-clause BSD license. Copyright (c) German Cancer Research Center (DKFZ). All rights reserved.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mitk_python-2026.6.dev2-cp312-cp312-win_amd64.whl (48.2 MB view details)

Uploaded CPython 3.12Windows x86-64

mitk_python-2026.6.dev2-cp312-cp312-manylinux_2_35_x86_64.whl (89.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

mitk_python-2026.6.dev2-cp312-cp312-macosx_26_0_arm64.whl (63.5 MB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

mitk_python-2026.6.dev2-cp312-cp312-macosx_13_0_x86_64.whl (73.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

File details

Details for the file mitk_python-2026.6.dev2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.6.dev2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4ea966fef07f11a2220d2d295b04f99f2c925be850ea1afbc07042e67be171fa
MD5 9e684972424d6d9aeab05526ccec9860
BLAKE2b-256 64debcf7dfb435cecaf5bafbb15330f5333792462ce28813c2fcb3d75bf68942

See more details on using hashes here.

File details

Details for the file mitk_python-2026.6.dev2-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.6.dev2-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 bea5ef93f953f7a49eafc280eb6dca688b0d55f97a1e68bf50640f19560fec48
MD5 48df6498abf608c4346b1f0571effeb3
BLAKE2b-256 7be49a0ee6284c113a2815cf601a582a7d2af0159dd3514c0bcb9bf5fdfd904f

See more details on using hashes here.

File details

Details for the file mitk_python-2026.6.dev2-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.6.dev2-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 4ae42ff021984fc751da65476759eab3471e132f064f0ed913855f2348eadff0
MD5 b9b689a5cd6cfa24ed1e4d0f4ab75bb5
BLAKE2b-256 938190cb4ad727ff0cf8dbe6c8bd8f2852be38c1a5cc5d8e8f619af6220bcb7a

See more details on using hashes here.

File details

Details for the file mitk_python-2026.6.dev2-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.6.dev2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a7aa798ec78fde2e3936e69ebe3eea32a69562d70632b7836b459cc29a708c8
MD5 0e9bfab89d23f00164c0c5bff1c98070
BLAKE2b-256 d01dea59034c8d451501683dde83e25255f0996dc4b5623ea4a06f003b9dca1e

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