3deecelltracker

A python algorithm for tracking cells in 3D time lapse images.

https://github.com/wenchentao/3deecelltracker

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 11 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords

cell-tracking deep-learning ffn training-3d-unet
Last synced: 6 months ago · JSON representation

Repository

A python algorithm for tracking cells in 3D time lapse images.

Basic Info
  • Host: GitHub
  • Owner: WenChentao
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 151 MB
Statistics
  • Stars: 61
  • Watchers: 4
  • Forks: 10
  • Open Issues: 3
  • Releases: 0
Topics
cell-tracking deep-learning ffn training-3d-unet
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

3DeeCellTracker

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 v1.0.0 has been released - Fixed some bugs in v0.5

Installation

To install 3DeeCellTracker, please follow the instructions below:

Note: We have tested the installation and the tracking programs in two environments: 1. (Local) Ubuntu 20.04; NVIDIA GeForce RTX 3080Ti; Tensorflow 2.5.0 2. (Google Colab) Tensorflow 2.12.0 (You need to upload your data for tracking)

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:

console $ conda create -n track python=3.8 pip $ conda activate track

  1. Install TensorFlow 2.x by following the instructions provided in the TensorFlow installation guide.

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

console $ pip install 3DeeCellTracker==1.0.0 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

  • Important: Please use the notebooks here if you installed version 1.0.0 from PyPI. If you installed from the source code available at this repository, use the notebooks provided below.

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: - Train 3D StarDist (notebook with results) - Train 3D U-Net (clear notebook) - Train 3D U-Net (results)

  1. Track cells in deforming organs:

  2. Track cells in freely moving animals:

  3. (Optional) Train FFN with custom data:

The data and model files for demonstrating above notebooks can be downloaded here: - Data for StarDist-based notebooks. - Data for UNet-based notebooks.

Protocols

Here are two protocols for using 3DeeCellTracker: 1. Version 1.0.0

Wen, C. (2024). Deep Learning-Based Cell Tracking in Deforming Organs and Moving Animals. In: Wuelfing, C., Murphy, R.F. (eds) Imaging Cell Signaling. Methods in Molecular Biology, vol 2800. Humana, New York, NY. DOI: 10.1007/978-1-0716-3834-7_14 2. Version 0.4

Wen, C. and Kimura, K.D. (2022). Tracking Moving Cells in 3D Time Lapse Images Using 3DeeCellTracker. Bio-protocol 12(4): e4319. DOI: 10.21769/BioProtoc.4319

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

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

GitHub Events

Total
  • Issues event: 10
  • Watch event: 10
  • Issue comment event: 13
  • Push event: 5
  • Create event: 1
Last Year
  • Issues event: 10
  • Watch event: 10
  • Issue comment event: 13
  • Push event: 5
  • Create event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 240
  • Total Committers: 1
  • Avg Commits per committer: 240.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 42
  • Committers: 1
  • Avg Commits per committer: 42.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
WenChentao c****n@g****m 240

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 14
  • Total pull requests: 5
  • Average time to close issues: 3 months
  • Average time to close pull requests: 5 months
  • Total issue authors: 11
  • Total pull request authors: 1
  • Average comments per issue: 4.43
  • Average comments per pull request: 0.8
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 3
  • Pull requests: 1
  • Average time to close issues: 2 days
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 4.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • ss8319 (3)
  • jackyko1991 (1)
  • clarenzheng (1)
  • mto17017 (1)
  • jichen12 (1)
  • haesleinhuepf (1)
  • orena1 (1)
  • raeesahhayatudin (1)
  • hase-go (1)
  • Aseem139 (1)
  • mayaw9 (1)
  • Sambrog (1)
Pull Request Authors
  • dependabot[bot] (7)
Top Labels
Issue Labels
question (1)
Pull Request Labels
dependencies (7)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 251 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 12
  • Total maintainers: 1
pypi.org: 3deecelltracker

A package for tracking cells in 3D time lapse images in deforming organs or moving animals

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 251 Last month
Rankings
Dependent packages count: 10.0%
Stargazers count: 10.2%
Forks count: 11.4%
Average: 13.6%
Downloads: 14.5%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago