This repository contains code for detecting c-Fos protein expression in images using a deep learning approach. The implementation employs a U-Net model to process multi-channel fluorescence images and segment c-Fos-positive cells.
The main images contain different colors and channels:
The code utilizes three channels from the main images:
- Alexa Fluor 488
- Alexa Fluor 594
- DAPI
The workflow includes the following steps:
-
Image Preprocessing:
-
Model Training:
- The U-Net model is trained on these smaller image tiles, using the corresponding ground truth annotations for accurate segmentation.
-
Testing:
-
Image Assembly:
- After segmentation, the smaller tiles are assembled back into a larger image for comprehensive analysis.
- Python 3.10.12
- torch
- cv2
- torchvision