fastrad: Complete, IBSI-Validated GPU Acceleration of the Full PyRadiomics Feature Set.
Erika Sánchez-Femat, José-María Celaya-Padilla, Carlos-Eric Galván-Tejada
Universidad Autonoma de Zacatecas, Zacatecas, Mexico. Electronic address: erika.sanchez.femat@uaz.edu.mx. · Universidad Autonoma de Zacatecas, Zacatecas, Mexico.
Key points
From the paper's conclusion- Within the evaluated feature classes, hardware and settings, fastrad reproduces PyRadiomics feature values to floating-point precision while reducing single-scan extraction time by more than an order of magnitude on the CPU and nearly two orders of magnitude on a consumer GPU, and it exceeds a fully occupied 32-thread CPU in cohort throughput on one GPU. fastrad is openly available on PyPI and GitHub under the Apache 2.0 licence.
Abstract
BACKGROUND AND OBJECTIVE: Radiomic feature extraction is a critical step in quantitative medical imaging pipelines. The reference implementation, PyRadiomics, runs only on the central processing unit, and existing GPU-accelerated alternatives cover at most two of the eight standardised radiomic feature classes without reported numerical validation against PyRadiomics. This work introduces fastrad, a GPU-native Python library implementing all eight PyRadiomics-compatible feature classes in PyTorch, evaluated under a dual-validation design: conformity to Image Biomarker Standardisation Initiative (IBSI) reference values, and feature-level parity with PyRadiomics under matched extraction settings. METHODS: Images and masks are cropped to the region of interest (ROI) before any computation, and all feature classes run on PyTorch tensors on the CPU or a CUDA GPU. Correctness was evaluated against the IBSI Phase 1 digital phantom (107 features, seven classes) and against PyRadiomics on six clinical CT cases from the TCIA NSCLC-Radiomics collection. Single-scan extraction time was measured as one full extraction call per timing (median of 20 runs) on an NVIDIA RTX 4070 and an Intel Core i9-14900KF, against single- and 32-thread PyRadiomics. Cohort throughput was compared between PyRadiomics on 32 CPU processes and fastrad on one GPU with a VRAM-aware number of concurrent workers. Scan-rescan reproducibility was assessed on 10 RIDER Lung CT pairs with ICC(2,1). RESULTS: fastrad met the IBSI Phase 1 criterion for all 107 features (maximum relative deviation 1.46×10-13%) and agreed with PyRadiomics for all 107 features on all six clinical cases (largest absolute difference 3.2×10-9 on the primary case). Exact shape agreement required computing the marching-cubes mesh in PyRadiomics' coordinate frame, because the mesh is not always closed and the volume of an open mesh depends on the origin. On the primary case (56,637 voxels) one extraction took 29.2 ms on the GPU and 0.22 s on one CPU thread, versus 2.72 s for single-thread and 1.83 s for 32-thread PyRadiomics: 62-fold faster than PyRadiomics' fastest configuration. Cohort throughput on one GPU reached 2020 scans/min with 10 concurrent workers, 4.3 times that of 32-process PyRadiomics (468 scans/min). ICC values of the two tools were identical to seven decimal places for all features. CONCLUSIONS: Within the evaluated feature classes, hardware and settings, fastrad reproduces PyRadiomics feature values to floating-point precision while reducing single-scan extraction time by more than an order of magnitude on the CPU and nearly two orders of magnitude on a consumer GPU, and it exceeds a fully occupied 32-thread CPU in cohort throughput on one GPU. fastrad is openly available on PyPI and GitHub under the Apache 2.0 licence.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Flash-Radiomics: A Scalable Hybrid CPU-CUDA Engine for Standardized Scalar Radiomics and Accelerated Spatial MappingarXiv · 2026
- MLX-Radiomics: accelerating standardized regional and voxel-wise radiomics for CT, PET and MRImedRxiv · 2026
- A Stability Atlas for IBSI Radiomics Features Using Synthetic Digital Phantoms, with Proof-of-Concept Physics-Based Normalisation.Journal of imaging · 2026
- PySERA: Open-source standardized python library for automated, scalable, and reproducible handcrafted and deep radiomicsComputer Methods and Programs in Biomedicine · 2026
- Radiomics in Medical Imaging: Methods, Applications, and ChallengesJournal of Imaging · 2026
- QuRad: Radiomics Feature Extraction for QuPath.Computational and structural biotechnology journal · 2026