q-bio.QMApr 10, 2026

Cluster-First Labelling: An Automated Pipeline for Segmentation and Morphological Clustering in Histology Whole Slide Images

Authors: Muhammad Haseeb Ahmad, Sharmila Rajendran, Damion Young, Jon Mason

Organizations: Department of Engineering Science, University of Oxford, United Kingdom · Department of Physiology, Anatomy and Genetics, University of Oxford, United Kingdom · Medical Sciences Division, University of Oxford, United Kingdom

Abstract

Labelling tissue components in histology whole slide images (WSIs) is prohibitively labour-intensive: a single slide may contain tens of thousands of structures--cells, nuclei, and other morphologically distinct objects--each requiring manual boundary delineation and classification. We present a cloudnative, end-to-end pipeline that automates this process through a cluster-first paradigm. Our system tiles WSIs, filters out tiles deemed unlikely to contain valuable information, segments tissue components with Cellpose-SAM (including cells, nuclei, and other morphologically similar structures), extracts neural embeddings via a pretrained ResNet-50, reduces dimensionality with UMAP, and groups morphologically similar objects using DBSCAN clustering. Under this paradigm, a human annotator labels representative clusters rather than individual objects, reducing annotation effort by orders of magnitude. We evaluate the pipeline on 3,696 tissue components across 13 diverse tissue types from three species (human, rat, rabbit), measuring how well unsupervised clusters align with independent human labels via per-tile Hungarian-algorithm matching. Our system achieves a weighted cluster-label alignment accuracy of 96.8%, with 7 of 13 tissue types reaching perfect agreement. The pipeline, a companion labelling web application, and all evaluation code are released as open-source software.

Figures & tables

Explore similar work

CardsList
  1. Slide-Level Active Learning Reduces Annotation Burden in H&E images

    Jul 10, 2026Mahsa Vali, Zhilong Weng, Noémie Moreaua +2Computational PathologyHistopathology Image Segmentation

  2. SlideMix: Enhancing Whole Slide Image Analysis via Multimodal Shuffling

    Aug 31, 2026Chad Wong, Sicheng Chen, Tianyi Zhang +4Data AugmentationHistopathology Image Classification

  3. Nonparametric Distribution Matching for Self-Supervised Whole-Slide Image Condensation

    Sep 30, 2026Duong M. Nguyen, Trong Nghia Hoang, Hang Thi Nguyen +3Computational PathologyDistribution Matching