Microscopy Image Segmentation via Point and Shape Regularized Data Synthesis

Shijie Li, Mengwei Ren, Thomas Ach, Guido Gerig

TL;DR

Training deep learning models for microscopy image segmentation typically requires tedious, pixel-precise manual outlines. This paper introduces a novel pipeline that generates highly realistic microscopy images and dense segmentation masks using only cheap point annotations (centroids). The resulting synthetic dataset allows standard segmentation models to achieve performance nearly identical to those trained on labor-intensive, manually annotated real data.

What Problem Does This Paper Address?

Deep learning models excel at instance segmentation (e.g., identifying individual cell nuclei), but they are notoriously data-hungry. Manually tracing the exact boundaries of hundreds of clustered cells in microscopy images requires immense time and domain expertise.

While "point annotation"—simply clicking the center of a cell—is vastly faster to collect, training models directly on sparse points usually leads to poor boundary accuracy. Synthesizing data using generative adversarial networks (GANs) is a promising alternative, but standard unpaired image-to-image translation tools (like CycleGAN) often suffer from "mode collapse" (producing repetitive, non-diverse textures) or introduce severe artifacts, such as flipping the colors and contrasts of the foreground and background.

Methods

The authors propose a three-stage pipeline called Points2Image:

  1. Shape-Regularized Mask Sampling: Given sparse point annotations (centroids), the system uses shape distribution priors to procedurally generate stochastic elliptical masks. It dynamically adjusts the size of each ellipse based on local object density to prevent overlapping in crowded regions.
  2. Point-Regularized Mask-to-Image Synthesis: An unpaired GAN (utilizing the OASIS architecture) translates these abstract masks into realistic microscopy images. To ensure texture diversity, 3D noise is injected into every layer of the generator. Crucially, to prevent the model from hallucinating or inverting colors, they introduce a point-consistency loss and an instance-consistency loss using a reverse image-to-mask network ($F$).
  3. Segmentation Training: The generated pairs of synthetic images and dense masks are then used to train a standard segmentation network (such as HoverNet) in a fully supervised manner.
Overview of the Points2Image synthesis and segmentation pipeline.

Datasets

The method was evaluated on the public MoNuSeg (Multi-Organ Nucleus Segmentation) dataset, which contains 2D microscopy images from 9 different organs. The dataset consists of 37 training images (size $1000 \times 1000$) and 14 held-out testing images used exclusively for evaluation.

Key Insights and Ideas

  • The One-to-Many Dilemma: Mapping a simple binary mask to a complex texture is a one-to-many problem. Standard CycleGAN forces a strict one-to-one mapping, leading to zero background diversity. Injecting noise fixes this but makes the model unstable.
  • Points as Anchors: By forcing the generated images to respect the original point annotations via a point-consistency loss, the authors solved the common GAN issue of contrast/color inversion (where cells turn white and the background turns dark, or vice versa).
  • Infinite Data Scaling: Because the pipeline only needs points, researchers can procedurally generate entirely synthetic point maps based on empirical cell distributions, effectively creating an infinite stream of high-quality training data without any human annotation.
Comparison of different synthesis configurations showing how point regularization fixes contrast inversion.

Key Results

  • When training a HoverNet segmentation backbone, the proposed method achieved a pixel-level Intersection over Union (IoU) of 0.636 and an Average Jaccard Index (AJI) of 0.569.
  • This drastically outperformed standard pseudo-labeling methods (IoU: 0.538, AJI: 0.472) and naive CycleGAN synthesis (IoU: 0.483, AJI: 0.413).
  • Remarkably, it approached the performance of the Upper Bound—a model trained on authentic images with full, labor-intensive manual annotations (IoU: 0.644, AJI: 0.572).
  • Furthermore, by scaling up the training set to 92 fully synthetic image pairs, the model actually outperformed the real-data upper bound in object-level metrics.

Limitations and Future Work

  • Offline Synthesis: Currently, data synthesis happens offline as a separate preprocessing step before training the segmentation model. Integrating this into an online, on-the-fly data augmentation loop remains an open area of exploration.
  • Complex Tissue Priors: The shape priors are currently simplified (ellipses). Future work aims to incorporate more complex anatomical priors to better capture the diverse and irregular morphologies found across different tissue types.

Summary updated

BibTeX
@inproceedings{li2023microscopy,
  author = {Shijie Li and Mengwei Ren and Thomas Ach and Guido Gerig},
  title = {{Microscopy Image Segmentation via Point and Shape Regularized Data Synthesis}},
  booktitle = {DALI @ MICCAI},
  year = {2023},
  url = {https://openreview.net/forum?id=EOglE6zvVF},
}
Figure