Segment non-star-convex objects with StarDist by merging masks.
Project description
StarDist OPP napari plugin
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
Built Distribution
File details
Details for the file napari-merge-stardist-masks-0.1.0.tar.gz
.
File metadata
- Download URL: napari-merge-stardist-masks-0.1.0.tar.gz
- Upload date:
- Size: 25.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87974fe8f5264bdd725ae5c888810b8fcd41b3783b7b3b5a5f22aaf74cef1298 |
|
MD5 | 9b21d94fb2c60afffa961a14258f3829 |
|
BLAKE2b-256 | c7291cd40ca75b3ff2c30e68b973d081182e75b3f5ca8db668b09b9a32140f8d |
File details
Details for the file napari_merge_stardist_masks-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: napari_merge_stardist_masks-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78682f795d9d6376df3d57746cf510c8d0125835b6758cc79474dcaaaa149af0 |
|
MD5 | 94e77963df47c942de1050e597228a2d |
|
BLAKE2b-256 | 244fdc75d5b744030794d382a05f0dc96c5f403baa17f9e2eb89359b344392df |