Introduction
In the field of digital pathology, deep learning holds immense promise for automating tasks such as cell counting. However, the performance of these models is strictly limited by the availability of massive, high-quality datasets annotated by experts. Creating such datasets is challenging: whole-slide images (WSIs) are gargantuan (often gigapixel-scale), pathologists have limited time, and inter-observer variance is high.
SlideRunner is an open-source tool designed to address these hurdles by streamlining the path to "big data" in histopathology. It optimizes the labeling process through specialized workflows, including blinded multi-expert reviews and algorithmic guided screening.
Methodology
SlideRunner is developed in Python and utilizes the OpenSlide library to support various WSI formats. The tool's design focuses on efficiency and data quality through several key features:
- Annotation Flexibility: Users can perform rapid "single-click" center annotations for counting or detailed polygon outlines for segmentation.
- Blinded Multi-Labeling: To minimize bias, the tool allows a second expert to see the location of a previous annotation without revealing the original label. This facilitates independent verification and the identification of ambiguous cases.
- Discovery and Guided Screening: Beyond a standard "Discovery Mode" that jumps to random unclassified sections, SlideRunner introduces a Guided Screening process. This mode uses a simple algorithmic chain—Grayscale conversion, Otsu Thresholding, and Morphological Closing—to identify tissue regions. It then guides the pathologist through a grid of tiles at maximum zoom to ensure 100% coverage.
Results and Insights
The tool was evaluated using a database of canine mast cell tumor slides, resulting in over 71,000 labels. Key findings include:
- Discovery Power: Traditional manual searching is prone to human fatigue. When using the Guided Screening mode, pathologists identified over 4,200 mitotic events on a slide where manual screening had only uncovered ~2,250—a nearly 2x increase in feature discovery.
- Efficiency Gains: While initial annotations took approximately 6.5 seconds per event, the blinded second-rater workflow reduced this time to just 2.0–2.6 seconds per annotation by removing the bottleneck of finding the cell.
- Reliability: The system achieved a Cohen’s kappa of 0.815, indicating strong inter-rater agreement. The ability to isolate "ambiguous" cases where experts disagree provides valuable data for advanced machine learning techniques like curriculum learning.
Discussion and Conclusion
SlideRunner demonstrates that specialized workflows can significantly mitigate the "human fatigue" factor in medical image annotation. While the current guided screening relies on basic image processing, future iterations could integrate machine learning to pre-annotate slides, further shifting the human role toward verification.
By providing a dedicated environment for high-throughput, multi-expert annotation, SlideRunner offers a powerful alternative to general-purpose tools for researchers building the next generation of histopathology datasets.
Summary updated