Skip to content

This repository contains code for detecting c-Fos protein expression in images using a deep learning approach.

Notifications You must be signed in to change notification settings

amirhyous/c-Fos_Detection_Brain

Repository files navigation

c-Fos Detection Code

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.

Overview

The main images contain different colors and channels:

Alt text The code utilizes three channels from the main images:

  • Alexa Fluor 488
  • Alexa Fluor 594

Alt text

  • DAPI

The workflow includes the following steps:

  1. Image Preprocessing:

    • High-resolution images are divided into smaller tiles of size 100x100 pixels for efficient processing.

      Alt text

  2. Model Training:

    • The U-Net model is trained on these smaller image tiles, using the corresponding ground truth annotations for accurate segmentation.
  3. Testing:

    • The trained model is tested using smaller chunks of images to evaluate performance.

      Alt text

  4. Image Assembly:

    • After segmentation, the smaller tiles are assembled back into a larger image for comprehensive analysis.

    Alt text

Requirements

  • Python 3.10.12
  • torch
  • cv2
  • torchvision

About

This repository contains code for detecting c-Fos protein expression in images using a deep learning approach.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published