PathML: A unified framework for whole-slide image analysis with deep learning
Preprint
- 13 July 2021
- preprint
- Published by Cold Spring Harbor Laboratory in medRxiv
Abstract
The inspection of stained tissue slides by pathologists is essential for the early detection, diagnosis and monitoring of disease. Recently, deep learning methods for the analysis of whole-slide images (WSIs) have shown excellent performance on these tasks, and have the potential to substantially reduce the workload of pathologists. However, successful implementation of deep learning for WSI analysis is complex and requires careful consideration of model hyperparameters, slide and image artefacts, and data augmentation. Here we introduce PathML, a Python library for performing preand post-processing of WSIs, which has been designed to interact with the most widely used deep learning libraries, PyTorch and TensorFlow, thus allowing seamless integration into deep learning workflows. We present the current best practices in deep learning for WSI analysis, and give a step-by-step guide using the PathML framework: from annotating and pre-processing of slides, to implementing neural network architectures, to training and post-processing. PathML provides a unified framework in which deep learning methods for WSI analysis can be developed and applied, thus increasing the accessibility of an important new application of deep learning.Keywords
This publication has 33 references indexed in Scilit:
- AI-based pathology predicts origins for cancers of unknown primaryNature, 2021
- Triage-driven diagnosis of Barrett’s esophagus for early detection of esophageal adenocarcinoma using deep learningNature Medicine, 2021
- Pan-cancer computational histopathology reveals mutations, tumor composition and prognosisNature Cancer, 2020
- Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologyMedical Image Analysis, 2019
- Deep Learning for Whole Slide Image Analysis: An OverviewFrontiers in Medicine, 2019
- DeepSurv: personalized treatment recommender system using a Cox proportional hazards deep neural networkBMC Medical Research Methodology, 2018
- Deep learning for digital pathology image analysis: A comprehensive tutorial with selected use casesJournal of Pathology Informatics, 2016
- OpenSlide: A vendor-neutral software foundation for digital pathologyJournal of Pathology Informatics, 2013
- Patient Safety in Anatomic Pathology: Measuring Discrepancy Frequencies and CausesYearbook of Pathology and Laboratory Medicine, 2006
- Is There a Way for Pathologists to Decrease Interobserver Variability in the Diagnosis of Dysplasia?Archives of Pathology & Laboratory Medicine, 2005