Liver-Quant: Feature-Based Image Analysis Toolkit for Automatic Quantification of Metabolic Dysfunction-Associated Steatotic Liver Disease
Preprint
Abstract
Introduction: The histological assessment of liver biopsies by pathologists serves as the gold standard for diagnosing metabolic dysfunction-associated steatotic liver disease (MASLD) and staging disease progression. Various machine learning and image analysis tools have been reported to automate the quantification of fatty liver and enhance patient risk stratification. However, the current software is either not open-source or not directly applicable to the whole slide images (WSIs). Methods: In this paper, we introduce “ Liver-Quant ,” an open-source Python package designed for quantifying fat and fibrosis in liver WSIs. Employing colour and morphological features, Liver-Quant measures the Steatosis Proportionate Area (SPA) and Collagen Proportionate Area (CPA). The method’s accuracy and robustness were evaluated using an internal dataset of 424 WSIs from adult patients collected retrospectively from the archives at Leeds Teaching Hospitals NHS Trust between 2016 and 2022 and an external public dataset of 109 WSIs. For each slide, semi-quantitative scores were automatically extracted from free-text pathological reports. Furthermore, we investigated the impact of three different staining dyes including Van Gieson (VG), Picro Sirius Red (PSR), and Masson’s Trichrome (MTC) on fibrosis quantification. Results: The Spearman rank coefficient (ρ) was calculated to assess the correlation between the computed SPA/CPA values and the semi-quantitative pathologist scores. For steatosis quantification, we observed a substantial correlation (ρ=0.92), while fibrosis quantification exhibited a moderate correlation with human scores (ρ=0.51). To assess stain variation on CPA measurement, we collected N=18 cases and applied the three stains. Employing stain normalisation, an excellent agreement was observed in CPA measurements among the three stains using Bland-Altman plots. However, without stain normalisation, PSR emerged as the most effective dye due to its enhanced contrast in the Hue channel, displaying a strong correlation with human scores (ρ=0.9), followed by VG (ρ=0.8) and MTC (ρ=0.59). Additionally, we explored the impact of the apparent magnification on SPA and CPA. High resolution images collected at 0.25 microns per pixel (MPP) [apparent magnification = 40x] or 0.50 MPP [apparent magnification = 20x] were found to be essential for accurate SPA measurement, whereas for CPA measurement, low resolution images collected at 10 MPP [apparent magnification = 1x] were sufficient. Conclusion: The Liver-Quant package offers an open-source solution for rapid and precise liver quantification in WSIs applicable to multiple histological stains.Keywords
All Related Versions
- Published version: Computers in Biology and Medicine, 190, 110049.
This publication has 38 references indexed in Scilit:
- Banff consensus recommendations for steatosis assessment in donor liversHepatology, 2021
- A Machine Learning Approach Enables Quantitative Measurement of Liver Histology and Disease Monitoring in NASHHepatology, 2021
- Deep learning quantification of percent steatosis in donor liver biopsy frozen sectionsEBioMedicine, 2020
- High-Throughput, Machine Learning–Based Quantification of Steatosis, Inflammation, Ballooning, and Fibrosis in Biopsies From Patients With Nonalcoholic Fatty Liver DiseaseClinical Gastroenterology and Hepatology, 2020
- Automated quantification and architectural pattern detection of hepatic fibrosis in NAFLDAnnals of Diagnostic Pathology, 2020
- Fast and accurate identification of fat droplets in histological imagesComputer Methods and Programs in Biomedicine, 2015
- Role of special stains in diagnostic liver pathologyClinical Liver Disease, 2013
- Computer-assisted image analysis of liver collagen: Relationship to Ishak scoring and hepatic venous pressure gradient #Hepatology, 2009
- Design and validation of a histological scoring system for nonalcoholic fatty liver disease†Hepatology, 2005
- Intraobserver and interobserver variations in liver biopsy interpretation in patients with chronic hepatitis CHepatology, 1994