Assessing the Influence of Preprocessing on the Agreement of Image Quality Metrics with Radiological Evaluation in the Presence of Motion
Currently under review | Preprint available here.
We were invited to present our work on image quality evaluation at the MR Educational Series of the
British and Irish Chapter of the ISMRM on April 4th, 2025. You can find the corresponding slides Motion_in_MRI.pdf
in this repository. The recording is available on the British and Irish Chapter's website.
Hannah Eichhorn*, Elisa Marchetto*, Daniel Gallichan, Julia A. Schnabel, Melanie Ganz
Digital Poster Video available in the main folder (file name: digital_poster_ismrm25.mp4).
-
Motivation: Reliable image quality assessment is essential for improving motion correction methods. However, common image quality metrics (IQMs) often show inconsistent agreement with radiological evaluations and lack standardization in preprocessing techniques.
-
Goal(s): Evaluating the correlation of ten common IQMs with radiological assessments and investigating how preprocessing steps affect these correlations.
-
Approach: We compare the IQMs on two brain imaging datasets with real motion artifacts and analyze the effects of preprocessing choices like normalization, region-of-interest masking and slice reduction.
-
Results: Reference-based IQMs exhibit stronger, more consistent correlations with radiological assessments than reference-free IQMs. Preprocessing steps, particularly normalization and brain masking, significantly influence the correlation.
-
Impact: This study underscores the critical role of preprocessing choices for reliable image quality evaluation. We strongly recommend documenting all preprocessing steps in future studies. Our results further demonstrate that reference-based metrics correlate more reliably with radiological assessments than reference-free metrics.
Overview of the five reference-based and five reference-free IQMs used in this study. From left to right: full name of the metric, mathematical definition, whether values increase or decrease with increasing image quality, and whether the input image is expected to be in a certain intensity range. For further details we refer the reader to each metric’s reference.
Illustration of preprocessing steps required for calculating the IQMs. The brain mask can either be neglected (“None”), used to mask the metric values (“Mask”) or multiplied to the image before calculating IQMs (“Multiply”). For normalization, we tested “None”, “Min-max”, “Mean-std” and “Percentile” normalization, using the 1st and 99.9th as lower and upper percentiles p and P. The metric value for the whole volume can be calculated by either reducing to the mean over all slices or taking the worst slice (min / max depending on IQM).
-
Clone this repository and navigate to the project directory in your terminal.
-
Create the Conda environment from the
environment.yaml
file:
conda env create -f environment.yml
- Activate the Conda environment:
conda activate dev_iqm
-
For installing FSL (to use BET and FLIRT tools for brain mask extraction and registration), follow these instructions: https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation
-
You're all set! You can now run the scripts in this project.
- Download and preprocess the data with:
conda activate dev_iqm
nohup python -u preprocessingData.py > preprocess_data.log &
- Calculate the image quality metrics for all subjects with:
conda activate dev_iqm
nohup python -u process_all_subjects.py > Results/log.txt &
One can set specific preprocessing settings for normalisation
,
mask_metric_values
, reduction
, apply_brainmask
as input arguments.
run_process_all_subjects.sh
is a bash script to run different settings sequentially.
-
Analyse the correlation between the image quality metrics and the observer scores with the script
analysis_scripts/correlation_analysis.py
. -
Compare correlations between different preprocessing settings with
analysis_scripts/compare_preprocessing.py
and between different datasets withanalysis_scripts/compare_datasets.py
.