Cell Segmenter: A General Framework for Multi-modality Cell Segmentation

Kaiwen Hu, Shengxuming Zhang, Zhijie Jia, Lechao Cheng, Zunlei FengCell Segmentation Challenge @ NeurIPS 2022

Cell segmentation is often considered the "Hello World" of bioinformatics, yet it remains notoriously difficult to master across diverse datasets. Presented at NeurIPS 2022, Cell Segmenter (CS) is a hybrid framework designed to tackle the "one-size-fits-all" problem in biomedical image analysis. By combining anchor-based detection with morphology-independent flow tracking, the authors created a system capable of segmenting cells across vastly different imaging modalities and shapes.

The Challenge of Multi-Modality

The primary bottleneck to a truly general-purpose segmentation tool is morphological complexity. A single dataset might contain round nuclei, rod-like bacteria, and highly irregular mutant cells, all captured via different microscopy techniques (e.g., brightfield vs. fluorescence).

Existing deep learning models often struggle with this diversity. Contour-aware models fail when cells touch, and marker-based watershed methods often over-segment complex shapes. The authors identified that the sheer variety of cell shapes requires a more adaptable, multi-faceted approach.

A Dual-Branch Methodology

The core innovation of Cell Segmenter is its dual-branch architecture paired with a "referee" system to decide which branch's output to trust for any given image.

Dual-branch architecture of Cell Segmenter

Instead of forcing one mathematical representation to fit every cell, the framework automatically chooses the best segmentation strategy using a confidence-based quality estimator.

1. Anchor-based Watershed Framework (AWF)

The AWF branch is designed for "well-behaved" convex cells, such as round or oval shapes. It utilizes a modified YOLOv5-small backbone integrated into a U-Net-like structure.

Architecture of the Anchor-based Watershed Framework

This branch predicts two key elements: a foreground mask and a "watershed energy map." By using object detection anchors to find cell centers, it avoids the common pitfall of traditional watershed algorithms that easily get lost in noisy backgrounds. To further reduce over-segmentation (splitting one cell into two), the authors implemented a two-step watershed post-processing step that uses predicted bounding boxes as initial markers.

2. Omnipose Branch

For "difficult" cases—such as elongated, non-convex, or thin cells—the framework relies on Omnipose. This established method uses gradient flow fields to track pixels to a central skeleton. The authors integrated a modified version of Omnipose to handle these complex morphologies where detection-based methods typically fail.

3. The Quality Estimator (The "Referee")

At inference time, the system processes an image through both branches. A confidence-based estimator calculates the average foreground probability for each result. If the AWF branch is uncertain (confidence < 0.8) or if Omnipose is significantly more confident, the system automatically selects the Omnipose output. This allows the framework to be "self-aware," evaluating which of its internal strategies worked better for a specific image.

Key Insights and Results

Developed for the NeurIPS 2022 Cell Segmentation Challenge, the model was trained on challenge data alongside public datasets like Cellpose and Omnipose to improve shape generalization.

  • Quantitative Performance: The "best of both worlds" approach earned a top-tier F1-score of 0.8537 on the challenge's TuningSet and 0.6216 on the final hidden TestSet.
  • Modality Strengths: The model performed exceptionally well on Brightfield images (Median F1: 0.9009) and Phase Contrast images (Median F1: 0.8901).
  • Scale-Invariant Energy Maps: During pre-processing, the team normalized the watershed energy maps by the median distance within each cell. This ensured the model treated tiny cells and giant cells with the same numerical importance.

Limitations and Future Work

While highly effective, the authors noted several hurdles. The model performed poorly on fluorescence images (F1: 0.1983), likely due to a lack of representative training data or modality-specific bugs. Additionally, while Omnipose excels at thin cells, it struggles with very large cells, and the Non-Maximum Suppression (NMS) used for bounding boxes can occasionally cause under-segmentation for overlapping mutant cells.

Moving forward, the team aims to develop "morphology-independent marker synthesis." The ultimate goal is to create a single, unified branch capable of handling any shape without needing a secondary fallback branch, further streamlining the segmentation pipeline.

Summary updated

BibTeX
@inproceedings{hu2022cell,
  author = {Kaiwen Hu and Shengxuming Zhang and Zhijie Jia and Lechao Cheng and Zunlei Feng},
  title = {{Cell Segmenter: A General Framework for Multi-modality Cell Segmentation}},
  booktitle = {Cell Segmentation Challenge @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=LKIWxSuUFCE},
}
Figure