Skip to main content

Segment non-star-convex objects with StarDist by merging masks.

Project description

StarDist OPP napari plugin

License BSD-3 PyPI Python Version tests codecov napari hub

This is the napari plugin for StarDist OPP. Checkout our paper for more information.


Usage

Read the tutorial and download pre-trained models from our Zenodo repository.

In PowerShell, when you do not have sufficient GPU support, run napari without CUDA support, i.e.,:

$env:CUDA_VISIBLE_DEVICES=-1; napari

Installation

You can install napari-merge-stardist-masks via pip:

pip install napari-merge-stardist-masks

To install latest development version :

pip install git+https://github.com/gatoniel/napari-merge-stardist-masks.git

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-merge-stardist-masks" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

How to cite

@article{https://doi.org/10.1111/mmi.15064,
author = {Jelli, Eric and Ohmura, Takuya and Netter, Niklas and Abt, Martin and Jiménez-Siebert, Eva and Neuhaus, Konstantin and Rode, Daniel K. H. and Nadell, Carey D. and Drescher, Knut},
title = {Single-cell segmentation in bacterial biofilms with an optimized deep learning method enables tracking of cell lineages and measurements of growth rates},
journal = {Molecular Microbiology},
volume = {n/a},
number = {n/a},
pages = {},
keywords = {3D segmentation, biofilm, deep learning, image analysis, image cytometry, Vibrio cholerae},
doi = {https://doi.org/10.1111/mmi.15064},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/mmi.15064},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1111/mmi.15064},
abstract = {Abstract Bacteria often grow into matrix-encased three-dimensional (3D) biofilm communities, which can be imaged at cellular resolution using confocal microscopy. From these 3D images, measurements of single-cell properties with high spatiotemporal resolution are required to investigate cellular heterogeneity and dynamical processes inside biofilms. However, the required measurements rely on the automated segmentation of bacterial cells in 3D images, which is a technical challenge. To improve the accuracy of single-cell segmentation in 3D biofilms, we first evaluated recent classical and deep learning segmentation algorithms. We then extended StarDist, a state-of-the-art deep learning algorithm, by optimizing the post-processing for bacteria, which resulted in the most accurate segmentation results for biofilms among all investigated algorithms. To generate the large 3D training dataset required for deep learning, we developed an iterative process of automated segmentation followed by semi-manual correction, resulting in >18,000 annotated Vibrio cholerae cells in 3D images. We demonstrate that this large training dataset and the neural network with optimized post-processing yield accurate segmentation results for biofilms of different species and on biofilm images from different microscopes. Finally, we used the accurate single-cell segmentation results to track cell lineages in biofilms and to perform spatiotemporal measurements of single-cell growth rates during biofilm development.}
}

Credits

This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Project details


Download files

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

Source Distribution

napari-merge-stardist-masks-0.1.1.tar.gz (25.5 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file napari-merge-stardist-masks-0.1.1.tar.gz.

File metadata

File hashes

Hashes for napari-merge-stardist-masks-0.1.1.tar.gz
Algorithm Hash digest
SHA256 311e17c5481f0b2c5733ae8167f773c5149759b25d2b2854647cf1491669e47d
MD5 d2adc3f2ee7c78166b9d9a90e2eff031
BLAKE2b-256 1b8c87fbfc79b6a03f09b9bd9535987e14fb14215c1dd2c6a8014f4fcc3500e7

See more details on using hashes here.

File details

Details for the file napari_merge_stardist_masks-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_merge_stardist_masks-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 958a12ba3863f5f45cc3133ab984fa88fbc7c8efa18797b43a63bc4450047e3e
MD5 5884597e7b7366ad13b7405e486884ee
BLAKE2b-256 54c192ca5236bd55b1fa0077f8f226a8b7bb1cae287153ef17d7720443fce134

See more details on using hashes here.

Supported by

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