Diagnostic PathologyPathologyPeer-reviewed journal article
StainStyleSampler: Clustering-based sampling of whole slide image appearances
Maya Maya Barbosa Silva, Sabine Maria LehiD, Hrafn WeishauptiD
Abstract
The appearance of whole slide biopsy images is greatly affected by various factors such as laboratory procedures or the choice of digital slide scanners. The resulting variations in image styles within and across batches of histological images represent one of the major obstacles to the development of generalizable machine learning algorithms. To overcome this challenge, a lot of research has focused on stain normalization and stain augmentation techniques. While such approaches provide effective strategies to reduce stain variation or increase stain invariance, respectively, they typically involve only limited modeling or sampling of the underlying stain style distribution. Tools for a streamlined sampling of different aspects of such a distribution, which would be crucial e.g. for explicitly evaluating machine learning robustness across or with respect to major stain styles, remain largely missing. Here, we present the StainStyleSampler, a toolkit for (i) the exploration and modeling of stain style variations, and (ii) the automated sampling of images or styles capturing the core components of this variation. The tool enables the extraction of various color features and deconvolved stain components, visualization of such features directly or after dimensionality reduction, modeling of style distributions using binning, clustering, and density mapping, and automated sampling of the most representative reference images. We believe that this software will equip pathologists and computer-scientists with a more versatile set of tools that can aid substantially in both the exploration and sampling of stain variation across whole slide images.
- Citations
- 1
- FWCI
- 0.00
- Field percentile
- 7th percentile
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- stainlib: a python library for augmentation and normalization of histopathology H&E images
Sebastian Otálora, Niccolò Marini, … Manfredo Atzori·bioRxiv·May 17, 2022
- StainX: GPU-accelerated batch stain normalization for computational pathology at scale
Samir Moustafa, Yimin Zheng, André F. Rendeiro·bioRxiv·Aug 7, 2026
- Stain Normalisation Does Not Consistently Improve Matched-Location Retrieval with Pathology Foundation Models
Yang Meng, Binghao Chai, Tapabrata Chakraborti·bioRxiv·Oct 19, 2026
- FalseColor-Python: a rapid intensity-leveling and digital-staining package for fluorescence-based slide-free digital pathology
R. Serafin, W. Xie, … J. T. C. Liu·bioRxiv·May 3, 2020
- General stain deconvolution of histopathology images with physics-guided deep learning
Jianan Chen, Lydia Liu, … Anne Louise Martel·bioRxiv·Dec 6, 2022
- SAMPLER: Empirical distribution representations for rapid analysis of whole slide tissue images
Patience Mukashyaka, Todd Sheridan, … Jeffrey H. Chuang·bioRxiv·Aug 1, 2023