Related Experiment Video
Updated: Feb 7, 2026

Isolation, Culture, and Imaging of Human Fetal Pancreatic Cell Clusters
Published on: May 18, 2014
StainStyleSampler: clustering-based sampling of whole slide image appearances
Maya Maya Barbosa Silva1, Sabine Leh1,2, Hrafn Weishaupt3
1Department of Pathology, Haukeland University Hospital, Bergen, 5021, Norway.
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 modelling 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 modelling 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 colour features and deconvolved stain components, visualization of such features directly or after dimensionality reduction, modelling 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 substantially aid in both the exploration and sampling of stain variation across whole slide images.
Related Concept Videos
Cluster Sampling Method
To choose a cluster sample, divide the population into clusters (groups) and then randomly select some of the clusters. All the members from these clusters are in the cluster sample. For example, if you randomly sample four departments from your...
Brick Durability, Strength, and Appearance
Impression Management Techniques I: Managing Appearances
Design Example: Designing Water Slide
Bernoulli's principle determines the water's velocity along the slide....
Vesicular Tubular Clusters
With the help of motor proteins such...
Imaging Biological Samples with Optical Microscopy
In optical microscopy, the specimen to be viewed is placed on a glass slide and clipped on the stage...

