--- id: itk-filtering version: "5.4.7" 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) license_treatment: permissive maintenance: active --- # itk-filtering — ITK is an open-source toolkit for multidimensional image analysis License: permissive · Maintenance: active · Downloads: 233.1K/mo ## What it is and what it does itk-filtering is a Python module that wraps ITK's filtering algorithms for N-dimensional scientific image processing. It is part of the Insight Toolkit ecosystem and provides access to image filtering operations commonly used in medical imaging workflows, such as smoothing, edge detection, and morphological operations. The package is distributed as pre-built binary wheels, making installation straightforward across Windows, macOS, and Linux platforms. The module depends on itk-numerics for numerical operations and is designed for developers and researchers working with medical images from CT, MRI, and other imaging modalities. It integrates with ITK's broader image processing pipeline, allowing you to chain filtering operations with segmentation and registration tasks. The toolkit supports modern Python versions (3.8+) and is actively maintained by the Insight Software Consortium, a non-profit entity sponsored by NumFOCUS. Use it for: - Preprocessing medical images (CT/MRI scans) with noise reduction filters before segmentation or registration. - Applying morphological operations (erosion, dilation) to binary or labeled images in medical image analysis workflows. - Implementing edge detection and gradient-based filters for feature extraction in scientific imaging applications. - Batch processing of multidimensional image datasets with consistent filtering pipelines across research studies. - Building image analysis tools that require ITK's filtering capabilities without installing the full toolkit. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. itk-filtering provides Python bindings for ITK's N-dimensional image filtering algorithms, enabling medical image processing operations like smoothing, edge detection, and morphological transformations. Yes. itk-filtering is actively maintained, permissively licensed, has no known vulnerabilities, and provides stable access to ITK's filtering algorithms with minimal dependencies. Install it if you need ITK filtering operations in Python; the binary wheels reduce friction. The only caveat is verifying whether your workflow requires the full itk package or whether itk-filtering alone suffices for your use case. ## Install pip install itk-filtering uv add itk-filtering poetry add itk-filtering ## Installing itk-filtering Before you install: Medium install friction due to binary wheel distribution across multiple platforms and Python versions. The package is actively maintained with a release 7 days old and depends only on itk-numerics, keeping the dependency chain minimal. License in practice: Licensed under Apache 2.0, a permissive license allowing both commercial and non-commercial use with minimal restrictions. You may use, modify, and redistribute the package freely provided you include license and attribution notices. Quickstart: pip install itk-filtering import itk # Load and filter an image image = itk.imread('input.mha') filtered = itk.median_image_filter(image, radius=2) itk.imwrite(filtered, 'output.mha') Requires Python 3.8 or later; binary wheels are available for Linux (x86_64, aarch64), macOS (x86_64, arm64), and Windows (x86_64). Verify before relying: - Whether itk-filtering is installable as a standalone package or requires the full itk metapackage for practical use. - Performance characteristics and memory overhead for large N-dimensional image datasets. - Specific filtering algorithms and image types supported beyond the general description. ## 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_current - Install friction: medium - Maintenance: active - Downloads: 233.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags image filtering medical imaging, N-dimensional image processing, ITK filtering algorithms, medical image segmentation preprocessing, scientific image analysis, morphological image operations, medical imaging toolkit, medical-imaging, image-processing, scientific-computing [View on SkillFed](https://skillfed.io/packages/itk-filtering) · [View on PyPI](https://pypi.org/project/itk-filtering/)