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

TL;DR

Researchers have successfully adapted Cellpose, a generalist deep learning algorithm, to automate the segmentation of low-signal autofluorescence microscopy images. The AI-driven approach is not only orders of magnitude faster than manual segmentation but also more reproducible, accurately preserving critical metabolic data in both 2D cell lines and complex 3D patient-derived organoids.

What Problem Does This Paper Address?

Autofluorescence microscopy is a powerful "label-free" tool that allows researchers to peek into the metabolic health of cells using their natural light-emitting molecules (like NAD(P)H and FAD). Because it doesn't require toxic dyes or genetic modifications, it is ideal for studying live cells in their natural state.

The catch? Autofluorescence signals are notoriously dim, resulting in a low signal-to-noise ratio (SNR). Traditional image analysis tools, which are usually optimized for bright, high-contrast fluorescent stains, often fail to distinguish cell boundaries in these "noisy" images. Consequently, researchers often resort to manual segmentation—a grueling, slow process prone to human fatigue and subjective bias. This paper investigates whether deep learning can finally break this bottleneck.

Methods

The authors utilized Cellpose, a deep learning framework known for its ability to generalize across different cell types.

  1. Model Training: Since the "out-of-the-box" Cellpose models struggled with low SNR, the team trained a custom model. They used a "human-in-the-loop" approach, providing the network with manually annotated nuclear masks from 3D cell culture images.
  2. Validation: They compared the AI’s performance against expert manual segmentation using two main metrics:
  3. Dice Similarity Coefficient (DSC): To measure spatial overlap.
  4. Metabolic Correlation: They extracted functional data—specifically Fluorescence Lifetime Imaging Microscopy (FLIM) parameters and the Optical Redox Ratio (ORR)—to see if the AI-generated masks yielded the same biological conclusions as manual ones.
  5. Reproducibility Test: They rotated images 90 degrees and had both the human and the AI segment them again to see who was more consistent.

Datasets

The study utilized two primary datasets to test the model's generalizability:

  • 2D PANC-1 Cells: A pancreatic cancer cell line treated with metabolic inhibitors (sodium cyanide and 2-deoxy-glucose) to induce known functional changes.
  • 3D Patient-Derived Cancer Organoids (PDCOs): Complex structures from 9 different patients with varying morphologies (circular vs. irregular, dense vs. hollow). These were treated with standard chemotherapies (5FU and FOLFOX).

Key Insights and Ideas

  • AI is More Consistent Than You: The most striking finding was that Cellpose was more reproducible than a human expert. When presented with the same image rotated, the human's masks varied significantly, while Cellpose remained highly consistent ($p < 0.0001$).
  • Preservation of Biological Signal: Segmentation isn't just about drawing pretty lines; it's about the data inside. The study proved that even if the AI's mask isn't a perfect spatial match for a human's, the resulting metabolic data (lifetimes and redox ratios) is nearly identical ($R^2 > 0.9$).
  • Morphology Matters (But Not Too Much): While Cellpose performed best on 2D cells, it remained robust across four distinct 3D organoid shapes, proving it can handle the "messier" geometry of real-world clinical samples.

Key Results

  • Speed: Cellpose segmented 100 nuclei in less than a second, whereas an expert took roughly 11 minutes for the same task.
  • Accuracy: In 2D cultures, the correlation between manual and Cellpose-derived metabolic parameters was exceptionally high ($R^2$ between 0.96 and 0.98).
  • Reproducibility: Cellpose achieved a Dice score of 0.87 on rotated images, significantly higher than the human score of 0.78.
  • Treatment Response: The "effect size" (the measurable impact of a drug on cell metabolism) remained consistent regardless of whether manual or automated segmentation was used, meaning the AI didn't "wash out" the biological results.

Limitations and Future Work

While highly effective, the authors noted a few "AI hallucinations." Occasionally, Cellpose would segment the necrotic core (dead center) of an organoid as a cell or "over-segment" multiple cells into one large blob.

Future work could involve:

  • Refining the "Human-in-the-Loop": Further training to help the model distinguish between viable cells and debris or necrotic tissue.
  • Expansion to Other Intrinsic Signals: Testing the model on other autofluorescent structures like collagen or lipids.
  • Clinical Integration: Using this high-throughput pipeline to speed up drug-sensitivity testing for cancer patients using their own organoids.

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