Skip to main content
QUICK REVIEW

[Paper Review] Using Deep Learning for Segmentation and Counting within Microscopy Data

Carlos X. Hernández, Mohammad M. Sultan|arXiv (Cornell University)|Feb 28, 2018
Cell Image Analysis TechniquesBiochemistry, Genetics and Molecular Biology16 references30 citations
TL;DR

This paper proposes a two-stage deep learning approach using a feature pyramid network (FPN) combined with a VGG-style backbone to segment and count cells in microscopy images. It achieves accurate cell counting with uncertainty estimation via aleatoric loss, improving reliability and identifying failure cases through confidence intervals.

ABSTRACT

Cell counting is a ubiquitous, yet tedious task that would greatly benefit from automation. From basic biological questions to clinical trials, cell counts provide key quantitative feedback that drive research. Unfortunately, cell counting is most commonly a manual task and can be time-intensive. The task is made even more difficult due to overlapping cells, existence of multiple focal planes, and poor imaging quality, among other factors. Here, we describe a convolutional neural network approach, using a recently described feature pyramid network combined with a VGG-style neural network, for segmenting and subsequent counting of cells in a given microscopy image.

Motivation & Objective

  • Automate the time-consuming and error-prone manual cell counting process in microscopy.
  • Address limitations of existing tools, such as high cost, closed-source nature, and lack of uncertainty quantification.
  • Develop a model that provides not only cell counts but also confidence intervals to improve scientific reliability.
  • Investigate model interpretability and failure cases to guide future data collection and model improvements.
  • Enable broader scientific use through open-source code and potential integration into mobile or web applications.

Proposed method

  • Use a feature pyramid network (FPN) to generate multi-scale feature maps from input microscopy images for improved segmentation.
  • Employ a VGG-style convolutional neural network as the backbone for feature extraction in the FPN architecture.
  • Train the model to predict foreground masks using binary cross-entropy loss on annotated cell masks.
  • Estimate aleatoric uncertainty by modifying the L² loss function to include a learnable uncertainty parameter σ, enabling confidence intervals for predictions.
  • Apply the uncertainty-aware model to detect failure cases where ground truth falls outside predicted tolerance intervals.
  • Use ensemble prediction from cropped image patches to robustly estimate cell density, inspired by prior density map methods.

Experimental results

Research questions

  • RQ1Can a deep learning model achieve accurate and reliable cell segmentation and counting in microscopy images with minimal human intervention?
  • RQ2How can uncertainty quantification via aleatoric loss improve model reliability and help identify failure cases in cell counting?
  • RQ3To what extent does the model's performance depend on training data quality, particularly for challenging cases like overlapping cells or out-of-focus images?
  • RQ4How does the model's performance compare to human experts, and can it be improved with better or more diverse training data?
  • RQ5Can the integration of uncertainty estimation enhance statistical power and support better-informed biological hypotheses?

Key findings

  • The proposed FPN-based model achieves reliable cell segmentation and counting with high accuracy on the BBBC005 benchmark dataset.
  • Incorporating aleatoric uncertainty estimation enables the model to identify failure cases where the ground truth lies outside the predicted confidence interval.
  • The model's uncertainty predictions provide insights into data gaps, highlighting instances where additional training examples—especially for overlapping or out-of-focus cells—could improve performance.
  • Failure cases persist for overlapping cells and poor image quality, suggesting limitations in current training data, particularly the lack of foreground masks for out-of-focus images in BBBC005.
  • The model's performance is sensitive to data quality, and future improvements may come from more diverse or realistic training data, including human-annotated examples.
  • The source code is publicly available under the MIT license, enabling community contributions and integration into open-source microscopy platforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.