Cellpose as a reliable method for single-cell segmentation of autofluorescence microscopy images

Jeremiah Riendeau, Amani A. Gillette, Emmanuel Contreras Guzman, Mário Costa Cruz, Aleksander Kralovec, Shirsa Udgata, Alexa Schmitz, Dustin A. Deming, Beth A. Cimini, Melissa C. Skala

Abstract

Autofluorescence microscopy uses intrinsic sources of molecular contrast to provide cellular-level information without extrinsic labels. However, traditional cell segmentation tools are often optimized for high signal-to-noise ratio (SNR) images and perform poorly on low SNR autofluorescence images. This study validates Cellpose for autofluorescence imaging, specifically using multiphoton intensity images of NAD(P)H. An autofluorescence-trained model (ATM) was developed and applied to PANC-1 cells and patient-derived cancer organoids. Results show that ATM masks are more reproducible than manual segmentation (p < 0.0001) and maintain high correlation (R² > 0.9) with manual masks for metabolic parameters like the optical redox ratio (ORR) and fluorescence lifetimes. The Cellpose ATM provides a fast, reliable, and accurate method for single-cell segmentation in autofluorescence microscopy.

Introduction

Autofluorescence microscopy is a powerful label-free technique for studying cellular metabolism by imaging intrinsic molecules like NAD(P)H and FAD. However, segmentation remains a major bottleneck due to the low signal-to-noise ratio (SNR) of these images. Traditional watershed algorithms and generalist AI models often struggle with blurry cell boundaries and subtle contrast. Consequently, researchers frequently rely on manual segmentation, which is slow, subjective, and prone to fatigue. This study addresses these challenges by adapting the Cellpose deep-learning framework for autofluorescence data.

Methods and Materials

The researchers utilized Cellpose to develop a custom Autofluorescence-Trained Model (ATM). The model was trained using manually annotated NAD(P)H intensity images from 3D cell cultures. Validation involved comparing ATM-generated masks against manual masks using the Dice Similarity Coefficient (DSC) and assessing the preservation of biological data, including Fluorescence Lifetime Imaging Microscopy (FLIM) parameters and the Optical Redox Ratio (ORR).

The model was evaluated on two datasets:

  • 2D Cell Lines: PANC-1 pancreatic cancer cells treated with metabolic inhibitors (sodium cyanide and 2-deoxy-glucose).
  • 3D Patient-Derived Cancer Organoids (PDCOs): Rectal cancer organoids from 9 patients, encompassing various morphologies (circular/irregular, dense/void).

Results

The ATM demonstrated significant improvements in both speed and reproducibility. While a human expert requires approximately 11 minutes to segment 100 nuclei, the ATM completes the task in under one second.

Visual comparison of NAD(P)H intensity images, manual masks, ATM masks, and their overlap across different treatment conditions.

Reproducibility and Accuracy

A key finding was the "reproducibility paradox": human segmentations of the same (but rotated) image were inconsistent, whereas the ATM achieved significantly higher consistency.

Cytoplasm Mask Dice scores comparing manual-to-ATM (M1-ATM1), manual-to-manual (M1-M2), and ATM-to-ATM (ATM1-ATM2) reproducibility.

As shown in the Dice score analysis, the reproducibility between repeated ATM masks (ATM1-ATM2) was significantly higher than between repeated manual masks (M1-M2) (p < 0.0001). Despite not being a perfect pixel-for-pixel match with manual masks, the ATM preserved the underlying biological distributions. High correlations (R² > 0.9) were observed between ATM and manual masks for critical metabolic endpoints, such as mean NAD(P)H and FAD lifetimes.

Biological Consistency

Importantly, the effect sizes of drug treatments remained consistent between manual and AI-driven analyses. The ATM achieved high correlation with manual segmentation for critical metabolic endpoints, with R² = 0.984 for NAD(P)H lifetime and R² = 0.964 for ORR in 2D cultures. This ensures that the use of automated segmentation leads to the same scientific conclusions as manual methods while eliminating inter-human bias.

Discussion

While the ATM is highly effective, some limitations remain. The model occasionally struggles with necrotic cores in organoids or over-segmentation in dense clusters. Future work could involve incorporating fluorescence lifetime data as an additional training channel to improve contrast at cell boundaries. Overall, the Cellpose ATM offers a robust, scalable solution for high-throughput single-cell analysis in label-free microscopy, bridging the gap between complex imaging data and reliable biological insights.

Summary updated

BibTeX
@inproceedings{riendeau2025cellpose,
  author = {Jeremiah Riendeau and Amani A. Gillette and Emmanuel Contreras Guzman and Mário Costa Cruz and Aleksander Kralovec and Shirsa Udgata and Alexa Schmitz and Dustin A. Deming and Beth A. Cimini and Melissa C. Skala},
  title = {{Cellpose as a reliable method for single-cell segmentation of autofluorescence microscopy images}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-024-82639-6},
}
Figure