Skip to content
Helena-toddPublic

About

A pipeline to easily identify and track cells in timelapse images

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

Dimalis: a new way of analysing your timelapse images fast and efficiently

Dimalis is wrapped in a docker structure, which facilitates its installation on any operating system and allows to perform image denoising, single cell segmentation and cell tracking by running one line of code only!

Note: On this github page, we provided a few images from a timelapse that you can use as test images for Dimalis. In order to find them, scroll up to the top of this page and click on the green "Code" button and on "Download zip". The zipped folder that you will download contains a /test_images subfolder, containing raw phase contrast images.

Here's a user-friendly step-by-step protocol to analyse cells in your images using Dimalis:

Step 1: Install the Docker Desktop App

  • On Mac, Windows and Linux: You will find the download link and instructions on this website: Docker Desktop install

Once you have completed the installation, you can launch the Docker Desktop App

Note: if you encounter issues with Docker Desktop on Windows, consider uninstalling it, restarting your computer, and re-installing Docker Desktop with admin rights, as explained on the docker forum (https://forums.docker.com/t/solved-docker-failed-to-start-docker-desktop-for-windows/106976).![image](https://user-images.githubusercontent.com/17719754/218061342-e727dca7-0ca3-4000-ab8a-615f1b2f1df7.png)

Step 2: Search for the helenatodd/dimalis image from the Docker Desktop App

In the docker Desktop App,
(1) Click on the "Search" bar and type "helenatodd/dimalis"

(1) Then click on "Images" and
(2) click on "Hub images" and
(3) select the "helenatodd/dimalis:v1.2" docker image by clicking on it.
(4) Finally, click on the "Run" button to download Dimalis and launch the interface that will allow you to launch Dimalis on your raw images.

Step 3: Run Dimalis on your images

First, click on the arrow next to "Optional settings" to access the settings of Dimalis (1):

You can now define the Dimalis parameters:
(1) The first box can stay empty, it allows you to give a name to the container that will be launched, but docker will give it a default name if you don't.
(2) By clicking on those three dots, you will be able to browse, on your computer, into the folder containing the raw images on which you wish to apply Dimalis (or into the /test_images folder that we provided)
(3) Type "/home/test_images/" in this box
(4) Type "DENOISING_SD" in this box. This will allow you to define the standard deviation of noise that you wish to attenuate in your images using the BM3D denoising algorithm
(5) Type the standard deviation value you wish to set (typically between 0.0001 for a very light denoising effect and 0.01 to denoise highly noisy images)

(6) Click on the "+" button to enter a second parameter

You can then provide information on the remaining Dimalis parameters:
(1) Type "CELL_DIAM" in this box.
(2) The "CELL_DIAM" parameter allows you to estimate the rough diameter of cells in your images for optimal cell segmentation (as an example, we always set the cell diameter to 29.5 pixels)
(3) Type "MAX_DIST" in this box. This will allow you to define the maximum distance to look for descendance in a cell's surrounding
(4) Type the maximum distance value you wish to set (as an example, we set this maximum distance to 50 pixels)
(5) Type "MAXANGLE" in this box. This will allow you to define the maximum angle allowed for cell division
(6) Type the maximum angle value you wish to set (as an example, we set this maximum angle to 30°)
(7) Type "APPLY_DENOISING" in this box. This will allow you to skip the time-consuming denoising step if your images are of sufficient quality.
(8) Type "0" if you wish to skip denoising or "1" if you wish to apply denoising on your images.
(9) Finally, you can hit the "Run" button to launch Dimalis on your data

Dimalis results

After running Dimalis on your raw images, new subfolders will be generated in the folder where your images are located, that contains the cell denoising, cell segmentation, cell features and cell tracking results.

  • the BM3D subfolder contains the denoised images (or, if you skipped denoising, the raw images copied from your original folder)
  • the Omnipose subfolder contains the cell masks identified during the cell segmentation step, in TIF format.
  • the feature_tables subfolder contains one CSV file per timepoint, in which the cells are represented in rows and their respective features (such as area in pixels, x and y coordinates, ...) are represented in columns.
  • the STrack subfolder contains the tracking results. For each image - 1 (the cells in the 1st image cannot be tracked by definition), STrack returns: 1) a CSV table, that contains the links from cells in the previous to cells in the current image. 2) a PNG image, in which these links are represented as red lines

Dimalis will also return two additional excel formatted files:

  • the "complete_tracking_table" (in the STrack subfolder) contains tracks from all timepoints combined
  • the "final_merged_table" contains information on cells from all timpoints combined

These two last XLSX files can be used to import Dimalis's results into an open source software for visualizing and editing networks. We provide a tutorial on how to import the results of Dimalis into Cytoscape, and how to visualise and/or edit the tracks, here: Cytoscape tutorial

About

A pipeline to easily identify and track cells in timelapse images

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages