Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

3DeeCellTracker

PyPI PyPI - Downloads GitHub Youtube

3DeeCellTracker is a deep-learning based pipeline for tracking cells in 3D time-lapse images of deforming/moving organs (eLife, 2021).

Updates:

3DeeCellTracker v0.5.1-alpha has been released

  • Updated versions of some packages in requirements.txt and setup.cfg

3DeeCellTracker v0.5.0-alpha has been released

  • Allows you to use StarDist3D for segmentation

  • Reduces the requirements for fine-tuning parameters

  • Decouples the code to facilitate reuse by third-party developers.

  • A computer with an NVIDIA GPU that supports CUDA. We have tested our program on demo data in an NVIDIA GeForce RTX GPU 3080Ti in Ubuntu 20.04.

Installation

To install 3DeeCellTracker, please follow the instructions below:

Prerequisites

  • A computer with an NVIDIA GPU that supports CUDA.
  • Anaconda or Miniconda installed.
  • TensorFlow 2.x installed.

Steps

  1. Create a new conda environment and activate it by running the following commands in your terminal:

    $ conda create -n track python=3.8 pip
    $ conda activate track
    
  2. Install TensorFlow 2.x by following the instructions provided in the TensorFlow installation guide.

  3. Install the 3DeeCellTracker package by running the following command in your terminal:

    $ pip install 3DeeCellTracker==0.5.1a0
    
  4. Once the installation is complete, you can start using 3DeeCellTracker for your 3D cell tracking tasks within the Jupyter notebooks provided in the GitHub repository.

If you encounter any issues or have any questions, please refer to the project's documentation or raise an issue in the GitHub repository.

Quick Start

To learn how to track cells using 3DeeCellTracker, please refer to the following notebooks for examples. We recommend using StarDist for segmentation, as we have optimized the StarDist-based tracking programs for more convenient and quick cell tracking. Users can also use the old way with 3D U-Net.

  1. Train a custom deep neural network for segmenting cells in new optical conditions:

  2. Track cells in deforming organs:

  3. Track cells in freely moving animals:

The data and model files for demonstrating above notebooks can be downloaded here:

Frequently Reported Issue and Solution (for v0.4)

Multiple users have reported encountering a ValueError of shape mismatch when running the tracker.match() function. After investigation, it was found that the issue resulted from an incorrect setting of siz_xyz, which should be set to the dimensions of the 3D image as (height, width, depth).

Video Tutorials (for v0.4)

We have made tutorials explaining how to use our software. See links below (videos in Youtube):

Tutorial 1: Install 3DeeCellTracker and train the 3D U-Net

Tutorial 2: Tracking cells by 3DeeCellTracker

Tutorial 3: Annotate cells for training 3D U-Net

Tutorial 4: Manually correct the cell segmentation

A Text Tutorial (for v0.4)

We have written a tutorial explaining how to install and use 3DeeCellTracker. See Bio-protocol, 2022

How it works

We designed this pipeline for segmenting and tracking cells in 3D + T images in deforming organs. The methods have been explained in Wen et al. bioRxiv 2018 and in Wen et al. eLife, 2021. The original programs used in eLife 2021 was contained in the "Deprecated_programs" folder.

Overall procedures of our method (Wen et al. eLife, 2021–Figure 1)

Examples of tracking results (Wen et al. eLife, 2021–Videos)

Neurons in a ‘straightened’
freely moving worm
Cardiac cells in a zebrafish larva Cells in a 3D tumor spheriod

Citation

If you used this package in your research, please cite our paper:

  • Chentao Wen, Takuya Miura, Venkatakaushik Voleti, Kazushi Yamaguchi, Motosuke Tsutsumi, Kei Yamamoto, Kohei Otomo, Yukako Fujie, Takayuki Teramoto, Takeshi Ishihara, Kazuhiro Aoki, Tomomi Nemoto, Elizabeth MC Hillman, Koutarou D Kimura (2021) 3DeeCellTracker, a deep learning-based pipeline for segmenting and tracking cells in 3D time lapse images eLife 10:e59187

Depending on the segmentation method you used (StarDist3D or U-Net3D), you may also cite either of following papers:

  • Martin Weigert, Uwe Schmidt, Robert Haase, Ko Sugawara, and Gene Myers. Star-convex Polyhedra for 3D Object Detection and Segmentation in Microscopy. The IEEE Winter Conference on Applications of Computer Vision (WACV), Snowmass Village, Colorado, March 2020

  • Çiçek, Ö., Abdulkadir, A., Lienkamp, S.S., Brox, T., Ronneberger, O. (2016). 3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation. In: Ourselin, S., Joskowicz, L., Sabuncu, M., Unal, G., Wells, W. (eds) Medical Image Computing and Computer-Assisted Intervention – MICCAI 2016. MICCAI 2016. Lecture Notes in Computer Science(), vol 9901. Springer, Cham.

Acknowledgements

We wish to thank JetBrains for supporting this project with free open source Pycharm license.

Pycharm Logo Pycharm Logo

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

3DeeCellTracker-0.5.2a0.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

3DeeCellTracker-0.5.2a0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

Details for the file 3DeeCellTracker-0.5.2a0.tar.gz.

File metadata

  • Download URL: 3DeeCellTracker-0.5.2a0.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for 3DeeCellTracker-0.5.2a0.tar.gz
Algorithm Hash digest
SHA256 9d637cdd82da091a9a3f54911fb57757780ce1960b2560a5f459da31c85328ba
MD5 30e32d5268a5ec25a872127c029e1556
BLAKE2b-256 5a5fd065ae280b57a90381c891725d4a2d8afc5eb574530061ed87d251f181d1

See more details on using hashes here.

File details

Details for the file 3DeeCellTracker-0.5.2a0-py3-none-any.whl.

File metadata

File hashes

Hashes for 3DeeCellTracker-0.5.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbfedd98df2bd5ab6ae32df340feb9636b1c6d3770f31ebbfdf9f2511576d22
MD5 bd1711cabc403f82edc8f84bdfaaae3a
BLAKE2b-256 0e6cf0c2c3419252a1d41f4a17c8f86586a9ad32744198d82f1bfeb68da84973

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page