arXiv:2610.29666cs.SEOct 2026

Manuscript Offprint

arXiv:2610.29666

Reference Manual of MEDiml

Mahdi Ait Lhaj Loutfi, Simon Provost, Élodie Gillard, Moustafa Amine Bezzahi, Alexander Chum, Ben Coull-Nveu, Duran Juan, Mariem Kallel, Hakima Laribi, Oliver Lefebvre, Nicolas Longchamps, Thanh-Tri Nguyen, Steven Ravary, Ouael Nedjem Eddine Sahbi, Jérémy Dana, Martin Vallières

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mahdi Ait Lhaj Loutfi1^{1}, Simon Provost1^{1}, Élodie Gillard2^{2}, Moustafa Amine Bezzahi2^{2}, Alexander Chum1^{1}, Ben Coull-Neveu1^{1}, Juan Duran1^{1}, Mariem Kallel2^{2}, Hakima Laribi2^{2}, Oliver Lefebvre2^{2}, Nicolas Longchamps2^{2}, Thanh-Tri Nguyen1^{1}, Steven Ravary1^{1}, Ouael Nedjem Eddine Sahbi2^{2}, Jérémy Dana3^{3}, Martin Vallières1,2∗^{1,2*}

1^{1}Medical Physics Unit, Department of Oncology, McGill University, Montreal, Canada

2^{2}Department of Computer Science, Faculty of Science, University of Sherbrooke, Sherbrooke, Canada

3^{3}Department of Radiology, Centre de Recherche du Centre Hospitalier de l'Université de Montréal, Montréal, Canada

∗^{*}Corresponding author: martin.vallieres@mcgill.ca

ABSTRACT

Radiomics is the high-throughput extraction of quantitative features (e.g., tumor shape, intensity distributions and texture) from medical images to characterize tissues and uncover disease patterns invisible to the human eye. These features can be evaluated using statistical and machine learning methods as candidate imaging biomarkers for cancer diagnosis, prognosis and classification. However, extracting thousands of candidate features makes it difficult to identify which measurements are most informative for a given clinical task, while implementing an end-to-end workflow can require programming expertise that limits its accessibility to clinical researchers. Hence, we propose MEDiml (MEDical Image analysis with Machine Learning), an open-source radiomics research platform compliant with international standards, which connects feature extraction with predictive modeling and interpretation through complementary graphical and programmatic interfaces.

MEDiml combines a Python package for radiomic feature extraction and predictive modeling (MEDiml-pkg) with a graphical desktop application (MEDiml-app) that enables researchers to configure and conduct experiments without writing code. The two interfaces use the same computational implementation, and code generation exports graphically configured workflows as executable Python code, facilitating inspection, reproducibility, extension, and collaboration between clinical researchers and computational scientists.

A typical MEDiml workflow includes loading medical images and segmentation masks defining the regions of interest, preprocessing and filtering, extracting radiomic features, reducing the feature set, training and evaluating predictive models, and interpreting model behavior using feature importance computations. Feature sets can be grouped into predefined levels of radiomic complexity, including morphological, intensity-based, textural, and filter-based features to support comparisons of predictive performance across these levels and evaluate whether increasingly complex feature groups provide additional predictive value.

This manuscript serves as the official MEDiml Reference Manual. It introduces the relevant radiomics concepts, documents the analysis workflow and the MEDiml-pkg and MEDiml-app components, and describes the software architecture and installation procedures. It also compares MEDiml with existing radiomics tools and demonstrates its complexity-driven workflow through use cases involving five oncological imaging cohorts comprising 2,104 scans. Links to the software distributions, source code, documentation, tutorials, and community-support resources are available at mediml.app.

Keywords software engineering, open-source, radiomics, clinical research, image processing, machine learning, medical image analysis

Contents

1 Introduction 4

2 Resources 5
2.1 Python Package 5
2.2 Desktop Application 6
2.3 Community and Development 6

3 Background: Radiomics 6
3.1 Image Processing 6
3.2 Image Features 7

4 MEDiml radiomics workflow 8
4.1 Radiomics Feature Extraction 9
4.2 Modeling 9
4.3 Results Analysis and Interpretation 11

5 The MEDiml package 12
5.1 Overview 12
5.2 Data Wrangling 12
5.3 Image Processing 12
5.4 Filtering 13
5.5 Biomarker Extraction 13
5.6 Feature Set Reduction: The False Discovery Avoidance (FDA) method 14
5.7 Modeling 14
5.8 Results Analysis and Interpretation 14
5.9 Model Finalization 16

6 The MEDiml application 17
6.1 Overview 17
6.2 Nodes, Pipelines and Scenes 17
6.3 Modules 19

7 System Design 22
7.1 Architecture Overview 22
7.2 Technology Stack 22
7.3 Code Generation 23
7.4 GPU-Accelerated Filtering 24
7.5 Dosiomics Support 24
7.6 IBSI Compliance 24
7.7 How to install MEDiml 25

8 MEDiml Vs. Existing Radiomics Tools 25
9 Use Cases: MEDiml Evaluation 26
9.1 Cohorts 26
9.2 Radiomic Features and Complexity Levels 27
9.3 Statistical analysis 27
9.4 Results 28
10 Discussion 32
10.1 The MEDiml software 32
10.2 Use Cases: MEDiml Evaluation 32
11 Conclusion 33

References (62)