ITKIT: Feasible Medical Image Operation based on SimpleITK API
ITKIT is a comprehensive toolkit for medical image preprocessing and analysis, providing command-line tools, a GUI application, and deep learning framework integrations for CT and MRI image processing.
✨ Core Features
- 🔧 Preprocessing Tools: Check, resample, orient, patch, augment, and convert medical images
- 🖥️ GUI Application: User-friendly PyQt6 interface for all operations
- 🧠 Neural Networks: 16+ state-of-the-art segmentation models (SegFormer, MedNeXt, VMamba, etc.)
- 🔌 Framework Support: Integration with OpenMMLab, MONAI, TorchIO, and PyTorch Lightning
- 🏥 3D Slicer Extension: Native extension for running inference directly in 3D Slicer
- 📊 Dataset Conversion: Scripts for 12+ popular medical imaging datasets
- ⚡ High Performance: Multiprocessing support for faster batch processing
🚀 Quick Start
Installation
pip install itkit
# Optional: Install GUI support
pip install "itkit[gui]"
We also provide a docker image:
docker pull mgam1009/itkit:latest
[!NOTE] ITKIT experiences BC in v4. The previous version is
v3.6.0rc0.
Basic Usage
# Check dataset integrity
itk_check check /path/to/dataset --min-spacing 0.5 0.5 0.5
# Resample images to uniform spacing
itk_resample dataset /path/to/source /path/to/output --spacing 1.0 1.0 1.0 --mp
# Launch GUI application
itkit-app
📚 Documentation
Full documentation is available at docs
You can also find the docs on readthedocs.
Quick Links
- Installation Guide - Detailed installation instructions
- Quick Start Tutorial - Get started in 5 minutes
- Dataset Structure - Required dataset format
- Preprocessing Tools - Complete command reference
- Framework Integration - OpenMMLab, MONAI, TorchIO
- 3D Slicer Integration - Run inference in 3D Slicer
- Neural Network Models - Available segmentation models
- Supported Datasets - Dataset conversion scripts
- FAQ & Troubleshooting - Common issues and solutions
- Contributing Guide - How to contribute
🛠️ Command-Line Tools
ITKIT provides several preprocessing commands:
| Command | Description |
|---|---|
itk_check |
Validate dataset integrity (spacing, size, pairing) |
itk_resample |
Resample images to target spacing or size |
itk_orient |
Orient images to standard directions (LPI, RAS, etc.) |
itk_patch |
Extract patches for training |
itk_aug |
Data augmentation with random rotations |
itk_extract |
Extract specific classes from segmentation maps |
itk_convert |
Convert between formats (MHA, NIfTI, NRRD) and frameworks (MONAI, TorchIO) |
itkit-app |
Launch graphical user interface |
itk_slicer |
Start ITKIT inference server for 3D Slicer integration |
mmrun |
Run OpenMMLab experiments |
Use --help with any command for detailed usage information.
🖼️ GUI Application
Install GUI support and launch:
pip install "itkit[gui]"
itkit-app
# Adjust DPI if needed
QT_SCALE_FACTOR=2 itkit-app
📦 Optional Features
ITKIT provides optional dependency groups:
pip install "itkit[gui]" # GUI application (PyQt6)
pip install "itkit[advanced]" # Deep learning frameworks (OpenMMLab)
pip install "itkit[dev]" # Development tools (pytest, black, mypy)
pip install "itkit[pathology]" # Pathology image processing
pip install "itkit[onnx]" # Model deployment (ONNX, TensorRT)
📖 Citation
If you use ITKIT in your research, please cite:
@misc{ITKIT,
author = {Yiqin Zhang},
title = {ITKIT: Feasible Medical Image Operation based on SimpleITK API},
year = {2025},
url = {https://github.com/MGAMZ/ITKIT}
}
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for:
- Development setup
- Code style guidelines
- Testing requirements
- Pull request process
📄 License
ITKIT is released under the MIT License.
📧 Contact
For questions or suggestions, reach out at: 312065559@qq.com
🌟 Acknowledgments
ITKIT builds upon:
- SimpleITK - Medical image processing
- OpenMMLab - Deep learning framework
- MONAI - Medical imaging AI
- TorchIO - Medical image preprocessing
⭐ Star us on GitHub if you find ITKIT useful!
Metadata
Release files for itkit 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| itkit-4.0.0.tar.gz | 261.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itkit-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 580.0 kB
Release files / itkit-4.0.0.tar.gz
| Download URL | itkit-4.0.0.tar.gz |
|---|---|
| Size | 261.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1755c760eb95d09a8926bbb493713588f01e865347ead131f3e6b169ae3c7b29
|
|
BLAKE2b-256 checksum How to use checksums |
16d26bd95c28a0371b4337b7021dd29d3992fbe57acb44399495d1b66fdf36b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency logRelease files / itkit-4.0.0-py3-none-any.whl
| Download URL | itkit-4.0.0-py3-none-any.whl |
|---|---|
| Size | 319.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6f24b92c1c386b42b314a1d8bedf4f3db7b60cb5ee3c0a0a9fcfd78b8c28b32
|
|
BLAKE2b-256 checksum How to use checksums |
7e173c7c7b763a914f5df7ffd3da043d337c190b93e20b8073df37e382b1f83b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency log