Quantify nuclei

This project would aid the researchers in evaluating the DNA damage of cells under stress. Helps to dentifying and quantifying the nuclei (cell).

Prerequisites

Setup

Clone the repository, install the dependencies and get started right away.

$ git clone git@github.com:aishstha/Quantify-nuclei.git
$ cd Quantify-nuclei
$ ./segment_script.py <Input-image-file-path> 

Example :

$ ./segment_script.py  "Data/IXMtest_C05_s7_w1F71963FB-8F29-41CB-A5F5-07CB9584BBC5.tif"

Usage

You can manually Install packages mentioned above (cv2, numpy, matplotlib, pandas, sys, skimage).

OR

Use the conda environment file of this project. For more information, check environment.yml

Conda Environment

Use the terminal or an Anaconda Prompt for the following steps:

  1. Create the environment from the environment.yml file:
$ conda env create -f environment.yml
  1. Activate the new environment: conda activate segmentation

  2. Verify that the new environment was installed correctly:

$ conda env list

Output

After running the script, check data_to_excel.xlsx file for stats and output.jpg for visual result. The output.jpg file has the labeling in the cells, the information about each cell is according to the label in excel file.

Input Output
Input Output