itk
ITK is an open-source toolkit for multidimensional image analysis
Decision gist · record as of 2026-08-14
Yes. ITK is a mature, actively maintained toolkit with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need production-grade medical or scientific image processing with segmentation and registration. Medium install friction is acceptable given the precompiled wheels and modular design. Not recommended if you only need lightweight 2D image manipulation—consider lighter alternatives for that use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires numpy and the itk-* subpackages (itk-core, itk-numerics, itk-io, itk-filtering, itk-registration, itk-segmentation); Python 3.8 or later.
- Medium install friction due to precompiled wheels for multiple platforms and Python versions (3.9–3.11+), but depends on 7 runtime packages including itk-core, itk-numerics, itk-io, itk-filtering, itk-registration, itk-segmentation, and numpy.
- Active maintenance with a release 7 days old.
License · maintenance · safety
permissive license (permissive) — Apache License 2.0 permits both non-commercial and commercial use with attribution and modification notice requirements. No restrictions on derivative works or proprietary applications.
last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 1,643 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 222,638 downloads/mo, #9,259 on PyPI
Alternatives
Verify before relying
pip install itk
import itk
# Load and process an image
image = itk.imread('input.mha')
filtered = itk.median_image_filter(image, radius=2)
itk.imwrite(filtered, 'output.mha')- Specific API surface and available filters beyond the core segmentation and registration functions mentioned.
- Performance characteristics and scalability limits for very large or high-dimensional images.
- Integration patterns with other scientific Python libraries (scipy, scikit-image, etc.).
What it is and what it does
ITK (Insight Toolkit) is an open-source, cross-platform C++ library with Python bindings for N-dimensional scientific image processing. It specializes in medical imaging workflows—segmentation (identifying and classifying structures in digitally sampled images from CT or MRI scanners) and registration (aligning or establishing correspondences between datasets, such as overlaying a CT scan with an MRI scan). The Python package bundles precompiled binaries and depends on modular subpackages (itk-core, itk-numerics, itk-io, itk-filtering, itk-registration, itk-segmentation) plus numpy, making it suitable for research and clinical applications that require reproducible, open-source image analysis.
The toolkit is maintained by the Insight Software Consortium under NumFOCUS fiscal sponsorship, with active development and broad platform support (Linux, macOS including Apple Silicon, Windows, Android). It is distributed under the permissive Apache License 2.0, enabling both non-commercial research and commercial product development.
Use it for
- Align and register medical images (e.g., overlay CT and MRI scans for combined diagnostic analysis).
- Segment anatomical structures or lesions in 3D medical imaging datasets for surgical planning.
- Preprocess and filter scientific images (median filtering, morphological operations) before analysis.
- Develop reproducible image analysis pipelines for research publications and clinical workflows.
- Extract quantitative features from segmented regions for radiomics or computer-aided diagnosis.
- Process multi-dimensional scientific data beyond 2D (e.g., time-series volumetric imaging).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
ITK is a mature, actively maintained toolkit with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need production-grade medical or scientific image processing with segmentation and registration. Medium install friction is acceptable given the precompiled wheels and modular design. Not recommended if you only need lightweight 2D image manipulation—consider lighter alternatives for that use case.
Install
itk on PyPI
Before you install
Medium install friction due to precompiled wheels for multiple platforms and Python versions (3.9–3.11+), but depends on 7 runtime packages including itk-core, itk-numerics, itk-io, itk-filtering, itk-registration, itk-segmentation, and numpy. Active maintenance with a release 7 days old.
Requires numpy and the itk-* subpackages (itk-core, itk-numerics, itk-io, itk-filtering, itk-registration, itk-segmentation); Python 3.8 or later.
License in practice
Apache License 2.0 permits both non-commercial and commercial use with attribution and modification notice requirements. No restrictions on derivative works or proprietary applications.
Quickstart
pip install itk
import itk
# Load and process an image
image = itk.imread('input.mha')
filtered = itk.median_image_filter(image, radius=2)
itk.imwrite(filtered, 'output.mha')
Verify before relying
- Specific API surface and available filters beyond the core segmentation and registration functions mentioned.
- Performance characteristics and scalability limits for very large or high-dimensional images.
- Integration patterns with other scientific Python libraries (scipy, scikit-image, etc.).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 7 packagesitk-coreitk-numericsitk-ioitk-filteringitk-registrationitk-segmentationnumpy |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 222,638 / month, #9,259 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Healthcare IndustryIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: AndroidOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Information AnalysisTopic :: Scientific/Engineering :: Medical Science Apps.Topic :: Software Development :: Libraries |
Evidence: itk-5.4.7-cp310-cp310-macosx_10_9_x86_64.whl; itk-5.4.7-cp310-cp310-macosx_11_0_arm64.whl; itk-5.4.7-cp310-cp310-manylinux2014_x86_64.whl; itk-5.4.7-cp310-cp310-manylinux_2_28_aarch64.whl; itk-5.4.7-cp310-cp310-manylinux_2_28_x86_64.whl; itk-5.4.7-cp310-cp310-win_amd64.whl; itk-5.4.7-cp311-abi3-macosx_10_9_x86_64.whl; itk-5.4.7-cp311-abi3-macosx_11_0_arm64.whl; itk-5.4.7-cp311-abi3-manylinux2014_x86_64.whl; itk-5.4.7-cp311-abi3-manylinux_2_28_aarch64.whl; itk-5.4.7-cp311-abi3-manylinux_2_28_x86_64.whl; itk-5.4.7-cp311-abi3-win_amd64.whl; itk-5.4.7-cp39-cp39-macosx_10_9_x86_64.whl; itk-5.4.7-cp39-cp39-macosx_11_0_arm64.whl; itk-5.4.7-cp39-cp39-manylinux2014_x86_64.whl; itk-5.4.7-cp39-cp39-manylinux_2_28_aarch64.whl; itk-5.4.7-cp39-cp39-manylinux_2_28_x86_64.whl; itk-5.4.7-cp39-cp39-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “CT MRI image processing”
- itkITK provides N-dimensional scientific image processing, segmentation,…
- itk-segmentationProvides Python bindings for ITK's segmentation algorithms, enabling…
- itk-coreitk-core provides Python bindings to the Insight Toolkit's core image…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also itk-core · itk-filtering · itk-registration · itk-segmentation · simpleitk · itk-io · itk-numerics · itkwasm · dipy · TotalSegmentator