Metadata-Version: 2.4
Name: mitk-python
Version: 2026.6.dev2
Summary: Python bindings for the Medical Imaging Interaction Toolkit (MITK)
Author: German Cancer Research Center (DKFZ)
License: BSD-3-Clause
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.12
Requires-Dist: numpy>=2.0
Project-URL: Homepage, https://www.mitk.org
Project-URL: Documentation, https://docs.mitk.org/python/latest/
Project-URL: Repository, https://github.com/MITK/MITK
Description-Content-Type: text/markdown

# mitk: Python bindings for MITK

The `mitk` package exposes the data structures and core utilities of the
[Medical Imaging Interaction Toolkit (MITK)](https://www.mitk.org) 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

```python
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/](https://docs.mitk.org/python/latest/).

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

## License

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