DefaceQA - automated quality assessment of brain MRI defacing software

BMC Med Imaging. 2026 Feb 7;26(1):109. doi: 10.1186/s12880-026-02207-4.

Abstract

Defacing of brain magnetic resonance imaging (MRI) scans by removing identifiable facial features is essential for protecting patient privacy, yet assessing defacing quality remains challenging. While deep learning methods offer solutions, they require large labeled datasets, limiting their practical applicability. This study presents DefaceQA, a machine learning (ML) approach for automated defacing quality assessment using quantitative image features. A dataset of 200 MRI scans from the Leukodystrophy Registry at the Leipzig University Medical Center was processed using four defacing algorithms: PyDeface, QuickShear, FSL-Deface, and MRI-Deface. Image features extracted from original and defaced scans were used to classify defacing efficacy. The ML classifiers achieved an AUROC of 0.84 and an accuracy of 0.85 under a lenient criterion for successful/unsuccessful defacing, with the Feature Similarity Index Measure (FSIM) emerging as a key predictor. The findings demonstrate ML’s potential for defacing evaluation while highlighting challenges related to dataset limitations and generalizability.

Keywords: Brain MRI; Defacing software; Machine learning; Patient privacy.