English

PySlyde: A Lightweight, Open-Source Toolkit for Pathology Preprocessing

Quantitative Methods 2025-11-10 v1 Computer Vision and Pattern Recognition Image and Video Processing

Abstract

The integration of artificial intelligence (AI) into pathology is advancing precision medicine by improving diagnosis, treatment planning, and patient outcomes. Digitised whole-slide images (WSIs) capture rich spatial and morphological information vital for understanding disease biology, yet their gigapixel scale and variability pose major challenges for standardisation and analysis. Robust preprocessing, covering tissue detection, tessellation, stain normalisation, and annotation parsing is critical but often limited by fragmented and inconsistent workflows. We present PySlyde, a lightweight, open-source Python toolkit built on OpenSlide to simplify and standardise WSI preprocessing. PySlyde provides an intuitive API for slide loading, annotation management, tissue detection, tiling, and feature extraction, compatible with modern pathology foundation models. By unifying these processes, it streamlines WSI preprocessing, enhances reproducibility, and accelerates the generation of AI-ready datasets, enabling researchers to focus on model development and downstream analysis.

Keywords

Cite

@article{arxiv.2511.05183,
  title  = {PySlyde: A Lightweight, Open-Source Toolkit for Pathology Preprocessing},
  author = {Gregory Verghese and Anthony Baptista and Chima Eke and Holly Rafique and Mengyuan Li and Fathima Mohamed and Ananya Bhalla and Lucy Ryan and Michael Pitcher and Enrico Parisini and Concetta Piazzese and Liz Ing-Simmons and Anita Grigoriadis},
  journal= {arXiv preprint arXiv:2511.05183},
  year   = {2025}
}
R2 v1 2026-07-01T07:26:01.275Z