Slideflow: Deep Learning for Digital Histopathology with Real-Time Whole-Slide Visualization

James M. Dolezal, Sara Kochanny, Emma Dyer, Andrew Srisuwananukorn, Matteo Sacco +4 more
4/9/2023
q-bio.QMcs.CVeess.IV

No official code found. Best implementation: slideflow/slideflow (374 stars, Apache-2.0, last commit 2025-11-13).

Abstract

Deep learning methods have emerged as powerful tools for analyzing histopathological images, but current methods are often specialized for specific domains and software environments, and few open-source options exist for deploying models in an interactive interface. Experimenting with different deep learning approaches typically requires switching software libraries and reprocessing data, reducing the feasibility and practicality of experimenting with new architectures. We developed a flexible deep learning library for histopathology called Slideflow, a package which supports a broad array of deep learning methods for digital pathology and includes a fast whole-slide interface for deploying trained models. Slideflow includes unique tools for whole-slide image data processing, efficient stain normalization and augmentation, weakly-supervised whole-slide classification, uncertainty quantification, feature generation, feature space analysis, and explainability. Whole-slide image processing is highly optimized, enabling whole-slide tile extraction at 40X magnification in 2.5 seconds per slide. The framework-agnostic data processing pipeline enables rapid experimentation with new methods built with either Tensorflow or PyTorch, and the graphical user interface supports real-time visualization of slides, predictions, heatmaps, and feature space characteristics on a variety of hardware devices, including ARM-based devices such as the Raspberry Pi.

View on arXivView PDF

Code Implementations(1)

slideflow/slideflowCommunity100%
Apache-2.0

Powerful, open-source AI tools for digital pathology.

37466CSS, HTMLSep 13, 201911 months agoApache-2.0
computational-pathologydeep-learninghistologyhistopathologymachine-learning+3 more

Similar Papers

Cite this paper

@article{dolezal2023slideflow,
  title  = {Slideflow: Deep Learning for Digital Histopathology with Real-Time Whole-Slide Visualization},
  author = {James M. Dolezal and Sara Kochanny and Emma Dyer and Andrew Srisuwananukorn and Matteo Sacco and Frederick M. Howard and Anran Li and Prajval Mohan and Alexander T. Pearson},
  year   = {2023},
  eprint = {2304.04142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04142v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.04142.svg)](https://codeofpaper.com/paper/2304.04142)

Discussion