itk-segmentation
ITK is an open-source toolkit for multidimensional image analysis
What it is and what it does
itk-segmentation is a Python wrapper around the Insight Toolkit's segmentation module, part of ITK's broader ecosystem for medical image analysis. It provides access to segmentation algorithms designed for N-dimensional scientific images, particularly medical scans from CT and MRI instruments. The package depends on itk-filtering for core image processing operations.
Typical use involves loading a medical image, applying segmentation algorithms to identify and classify structures of interest (tumors, organs, tissues), and extracting the resulting labeled regions. The package is maintained by the Insight Software Consortium and NumFOCUS, with active development and broad platform support.
Use it for:
- Segment organs or tumors from CT/MRI scans for clinical analysis or surgical planning
- Classify tissue types in volumetric medical images for research studies
- Preprocess medical imaging datasets for machine learning model training
- Align or register segmented structures across multiple patient scans
- Extract quantitative measurements from segmented anatomical regions
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings for ITK's segmentation algorithms, enabling N-dimensional medical image segmentation and classification on cross-platform systems.
Yes, if you need production-grade medical image segmentation with established academic credibility. The Apache 2.0 license is permissive, maintenance is active, and pre-built wheels eliminate compilation friction. Install if your workflow involves ITK-based medical imaging; otherwise evaluate whether a specialized segmentation library (deep learning–based or domain-specific) better fits your task.
Install
itk-segmentation on PyPI
pip
pip install itk-segmentationuv
uv add itk-segmentationpoetry
poetry add itk-segmentationInstalling itk-segmentation
Before you install
Medium install friction due to compiled binary wheels. Released 7 days ago with active maintenance (last commit 2026-08-14). Supports Python 3.8+ across Linux, macOS (including Apple Silicon), and Windows with pre-built wheels.
License in practice
Apache License 2.0 permits both non-commercial and commercial use with permissive terms. Derivative works must include attribution and license notices, but no copyleft obligations apply.
Quickstart
pip install itk-segmentation
import itk
# Load image and apply segmentation algorithm
image = itk.imread('scan.mha')
# Segmentation methods available via itk namespace
Requires itk-filtering as a runtime dependency; compiled wheels available for Python 3.8+ on Linux, macOS, Windows.
Verify before relying
- Whether itk-filtering is a separate install or bundled; exact segmentation algorithm coverage
- Performance characteristics for large 3D/4D medical datasets
- Integration maturity with common medical imaging workflows (DICOM, NIfTI)
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — itk-filtering |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 214,316/month — #9,419 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: itk_segmentation-5.4.7-cp310-cp310-macosx_10_9_x86_64.whl; itk_segmentation-5.4.7-cp310-cp310-macosx_11_0_arm64.whl; itk_segmentation-5.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; itk_segmentation-5.4.7-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; itk_segmentation-5.4.7-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; itk_segmentation-5.4.7-cp310-cp310-win_amd64.whl; itk_segmentation-5.4.7-cp311-abi3-macosx_10_9_x86_64.whl; itk_segmentation-5.4.7-cp311-abi3-macosx_11_0_arm64.whl; itk_segmentation-5.4.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; itk_segmentation-5.4.7-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; itk_segmentation-5.4.7-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; itk_segmentation-5.4.7-cp311-abi3-win_amd64.whl; itk_segmentation-5.4.7-cp39-cp39-macosx_10_9_x86_64.whl; itk_segmentation-5.4.7-cp39-cp39-macosx_11_0_arm64.whl; itk_segmentation-5.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; itk_segmentation-5.4.7-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; itk_segmentation-5.4.7-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; itk_segmentation-5.4.7-cp39-cp39-win_amd64.whl
Keywords: ITK, InsightToolkit, scientific, medical, image, imaging
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
itkITK provides N-dimensional scientific image…
permissive · top 15,000 on PyPI
itk-coreitk-core provides Python bindings to the…
permissive · top 15,000 on PyPI
itk-numericsitk-numerics provides Python bindings for ITK's…
permissive · top 15,000 on PyPI
itk-filteringitk-filtering provides Python bindings for…
permissive · top 15,000 on PyPI
simpleitkSimpleITK provides a simplified Python…
permissive · top 5,000 on PyPI
itkwasmProvides a Python interface to run itk-wasm…
permissive · top 15,000 on PyPI
itk-ioitk-io provides Python bindings for reading and…
permissive · top 15,000 on PyPI
itk-registrationitk-registration provides Python bindings for…
permissive · top 15,000 on PyPI
TotalSegmentatorAutomated segmentation of anatomical structures…
permissive · top 15,000 on PyPI
nnunetv2nnU-Net is a semantic segmentation framework…
permissive · top 15,000 on PyPI