PyRadiomics is a reference implementation of the Image Biomarker Standardisation Initiative (IBSI) guidelines, providing a platform for extracting radiomic features from segmented medical images. It processes DICOM and NIfTI formats, applying a configurable pipeline of filters—including Wavelet and Laplacian of Gaussian (LoG) transforms—before computing first-order statistics, shape descriptors, and texture matrices such as GLCM, GLRLM, GLSZM, and NGTDM.
Glossary
PyRadiomics

What is PyRadiomics?
PyRadiomics is an open-source Python package that implements a standardized, reproducible pipeline for the high-throughput extraction of a large panel of engineered features from medical image data.
Designed for computational reproducibility, PyRadiomics integrates with SimpleITK for image processing and supports both 2D and 3D analysis. The platform enforces critical pre-processing steps like intensity discretization and voxel resampling to ensure feature robustness across different scanners and acquisition protocols, making it a foundational tool for oncological imaging research and radiomic signature development.
Key Features of PyRadiomics
An open-source Python package implementing a standardized pipeline for the extraction of a large panel of engineered features from medical image data.
Frequently Asked Questions
Clear, technical answers to the most common questions about implementing and troubleshooting the PyRadiomics feature extraction pipeline.
PyRadiomics is an open-source Python package that implements a standardized, reproducible pipeline for extracting a large panel of engineered radiomic features from medical image data. It works by ingesting a segmented medical image (e.g., CT, MRI, PET) and a corresponding Region of Interest (ROI) mask, then systematically computing over 100 predefined quantitative features across multiple classes: First-Order Statistics, Shape Features, and texture matrices including GLCM, GLRLM, GLSZM, NGTDM, and GLDM. The platform supports both single-slice 2D and volumetric 3D analysis, with optional application of Wavelet and Laplacian of Gaussian (LoG) filters to extract multi-scale features. All feature definitions comply with the Image Biomarker Standardisation Initiative (IBSI) guidelines, ensuring cross-institutional comparability and scientific rigor.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core concepts and complementary tools that form the foundation of the PyRadiomics feature extraction pipeline.
Intensity Discretization
The process of converting continuous image intensity values into a finite number of discrete bins, a critical pre-processing step for texture matrix calculation. PyRadiomics supports two primary strategies:
- Fixed bin number: Divides the intensity range into a user-specified number of equal-width bins
- Fixed bin width: Uses a constant bin size in Hounsfield Units or original intensity units
Discretization directly impacts GLCM, GLRLM, and GLSZM feature values. Coarse discretization reduces noise but may obscure subtle textural patterns, while fine discretization preserves detail at the cost of increased computational complexity.
Voxel Resampling
The process of interpolating medical image data to create isotropic voxels, ensuring spatial measurements are consistent across all three dimensions. PyRadiomics applies B-spline interpolation to resample images to a user-defined voxel spacing before feature extraction.
Key considerations:
- Anisotropic acquisition: Clinical CT scans often have slice thickness 3-5x larger than in-plane resolution
- Rotation invariance: Isotropic resampling ensures shape and texture features are not biased by acquisition orientation
- Interpolation method: B-spline preserves intensity gradients better than nearest-neighbor or linear methods
Feature Classes in PyRadiomics
PyRadiomics extracts seven distinct feature classes from medical images, each capturing different aspects of tissue characteristics:
- First-Order Statistics (18 features): Histogram-based metrics like entropy, kurtosis, and skewness
- Shape Features (14 features): 3D geometric descriptors including sphericity, surface-to-volume ratio, and maximum 3D diameter
- GLCM (24 features): Second-order texture capturing spatial relationships like homogeneity and contrast
- GLRLM (16 features): Run-length metrics quantifying coarseness and structural directionality
- GLSZM (16 features): Zone-size metrics for regional homogeneity independent of orientation
- NGTDM (5 features): Neighborhood difference metrics for local intensity variation
- GLDM (14 features): Gray-level dependence metrics for connected voxel patterns
Filter-Based Feature Extraction
PyRadiomics applies image filters before feature extraction to capture multi-scale and frequency-domain information not visible in the original spatial domain:
- Wavelet Transform: Decomposes images into 8 frequency sub-bands (LLL, LLH, LHL, LHH, HLL, HLH, HHL, HHH) using high-pass and low-pass filtering along each axis
- Laplacian of Gaussian (LoG): Applies edge-detection at multiple sigma values (e.g., 1.0, 3.0, 5.0 mm) to highlight regions of rapid intensity change
- Square/Squareroot: Simple intensity transformations that alter the dynamic range
- Exponential/Logarithm: Non-linear intensity mappings for contrast adjustment
Filtering dramatically expands the feature space, often yielding 1,000+ features from a single ROI.
Robust Feature Selection
A dimensionality reduction strategy that identifies and retains only radiomic features demonstrating high stability against test-retest and inter-observer variability. PyRadiomics users typically apply this post-extraction using:
- Intraclass Correlation Coefficient (ICC): Measures agreement between repeated measurements; features with ICC > 0.75 are considered robust
- Concordance Correlation Coefficient (CCC): Evaluates reproducibility across scanners or observers
- Coefficient of Variation (CoV): Quantifies relative variability; features with CoV < 10% are retained
This step is essential for building generalizable radiomic signatures that are not artifacts of acquisition noise or segmentation variability.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us