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 mitk-python.readthedocs.io/en/2026.06/.

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

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.06-cp312-cp312-win_amd64.whl (44.7 MB view details)

Uploaded CPython 3.12Windows x86-64

mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl (86.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl (73.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl (63.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

File details

Details for the file mitk_python-2026.06-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.06-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 34916fef80fd083e481d03d8ff717bdce64d01d271581bc9347d3d5e7aa3a702
MD5 ffad36a8cc16a15811f9acb86f5d6e93
BLAKE2b-256 ef61620a4beb1d287fae1fd55dac8b73fb0c1d19b5d9e429d73fae8949005054

See more details on using hashes here.

File details

Details for the file mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a9051cebd1595b42146fb213306846483a38f6717bc1b7977834ecdd9ec9f997
MD5 0f3cf37a2c45ef2a169f2113d38d25cd
BLAKE2b-256 58c308972cd196c8f032c1fec19cf09b43c89e6c49d35dfd0fb69f45623b04eb

See more details on using hashes here.

File details

Details for the file mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 481c474f2fb4fda8da8c946d853decf9fd24a8bda9177a0c6acc7abaeea328fa
MD5 ce063deec6d975310470b365554973a6
BLAKE2b-256 7be312e6c4f49e59d039266d8d3107c98eba5101c3c3ca8b31c3a62635db99ec

See more details on using hashes here.

File details

Details for the file mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 25065836ab446c897518ffdd470e8c3b72548a7426cf57edc4c382f496a2e32a
MD5 3690f2853bdabd3e1289c43279387e9f
BLAKE2b-256 75fb4af2f797c27d50cb07a10e50921e5787161d30a0046f9cf656cf1100582b

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