-
Notifications
You must be signed in to change notification settings - Fork 0
Deep Learning‐based Image Analysis Pipeline
This repository contains the documentation for a deep learning-based image analysis pipeline designed for processing videos of circulating cells attaching to endothelial monolayers. The entire process is encapsulated within a Google Colab notebook, which provides a straightforward, accessible platform for conducting the analysis.
This pipeline is based on and combines multiple notebooks from the ZeroCostDL4Mic project, a collection of Jupyter notebooks aimed at enabling users to apply deep learning models to their microscopy images without any cost.
The pipeline leverages multiple deep-learning models to process raw microscopy videos, segmenting circulating cells and identifying endothelial cell nuclei and junctions. It utilizes state-of-the-art models like StarDist for segmentation and pix2pix for artificial labeling.
The processed data offer insights into cell attachment dynamics, facilitating advanced biological research.
Important Consideration: Due to the substantial size of the dataset discussed in the paper, reanalysis using the free version of Google Colab may be constrained by memory and processing limitations.
A comprehensive list of deep learning models and the training dataset utilized in this pipeline can be found here:
-
Video Pre-processing:
- The raw microscopy videos are manually cropped into 2-minute segments, each containing 2500 frames.
-
Cell Segmentation:
- Circulating cells are segmented from the brightfield images at every frame using dedicated StarDist models.
-
Frame Selection:
- Brightfield frames are scored to identify those with the best contrast.
- The top 25% of frames are selected for further processing.
-
Artificial Labeling:
- The selected frames undergo artificial labeling to predict nuclei (simulating Dapi staining) and junctions (simulating PECAM-1 staining) using dedicated pix2pix models.
-
Image Summation:
- Predictions from all frames are summed to generate a single image for each video segment.
-
Nuclei Segmentation:
- From the artificially labeled nuclei images, the nuclei of endothelial cells are segmented using a dedicated StarDist Model.
-
Endothelial Cell Segmentation:
- The fake nuclei and junction images are merged and used to segment endothelial cells with the Cellpose (Cyto2 model).
-
Outline Generation:
- The outlines of endothelial cells are generated from the predicted masks. This step is performed using pyclesperanto
To use this pipeline, follow the instructions in the Google Colab notebook. The notebook guides you through the process, from video pre-processing to the final segmentation and analysis.
If you need any more help or questions, please open an issue in this repository.
Contributions to improve the pipeline or extend its capabilities are welcome. Please submit a pull request or open an issue to discuss potential changes or additions.
This project is licensed under the MIT License - see the LICENSE file for details.
We thank all contributors to the deep learning models and software used in this pipeline, including the developers of StarDist, pix2pix, and Cellpose. Special thanks to the ZeroCostDL4Mic team for providing an accessible platform to integrate deep learning into microscopy image analysis. Their work has significantly advanced the field of image analysis.