Synthetic Micrographs of Bacteria (SyMBac) allows accurate segmentation of bacterial cells using deep neural networks
- PMID: 36447211
- PMCID: PMC9710168
- DOI: 10.1186/s12915-022-01453-6
Synthetic Micrographs of Bacteria (SyMBac) allows accurate segmentation of bacterial cells using deep neural networks
Abstract
Background: Deep-learning-based image segmentation models are required for accurate processing of high-throughput timelapse imaging data of bacterial cells. However, the performance of any such model strictly depends on the quality and quantity of training data, which is difficult to generate for bacterial cell images. Here, we present a novel method of bacterial image segmentation using machine learning models trained with Synthetic Micrographs of Bacteria (SyMBac).
Results: We have developed SyMBac, a tool that allows for rapid, automatic creation of arbitrary amounts of training data, combining detailed models of cell growth, physical interactions, and microscope optics to create synthetic images which closely resemble real micrographs, and is capable of training accurate image segmentation models. The major advantages of our approach are as follows: (1) synthetic training data can be generated virtually instantly and on demand; (2) these synthetic images are accompanied by perfect ground truth positions of cells, meaning no data curation is required; (3) different biological conditions, imaging platforms, and imaging modalities can be rapidly simulated, meaning any change in one's experimental setup no longer requires the laborious process of manually generating new training data for each change. Deep-learning models trained with SyMBac data are capable of analysing data from various imaging platforms and are robust to drastic changes in cell size and morphology. Our benchmarking results demonstrate that models trained on SyMBac data generate more accurate cell identifications and precise cell masks than those trained on human-annotated data, because the model learns the true position of the cell irrespective of imaging artefacts. We illustrate the approach by analysing the growth and size regulation of bacterial cells during entry and exit from dormancy, which revealed novel insights about the physiological dynamics of cells under various growth conditions.
Conclusions: The SyMBac approach will help to adapt and improve the performance of deep-learning-based image segmentation models for accurate processing of high-throughput timelapse image data.
Keywords: Bacterial cell imaging; Cell segmentation; Deep-learning; High-throughput imaging; Image analysis; Microfluidics; Synthetic images; Timelapse microscopy.
© 2022. The Author(s).
Conflict of interest statement
The authors declare that they have no competing interests.
Figures
Similar articles
-
Image generation by GAN and style transfer for agar plate image segmentation.Comput Methods Programs Biomed. 2020 Feb;184:105268. doi: 10.1016/j.cmpb.2019.105268. Epub 2019 Dec 17. Comput Methods Programs Biomed. 2020. PMID: 31891902
-
The effects of different levels of realism on the training of CNNs with only synthetic images for the semantic segmentation of robotic instruments in a head phantom.Int J Comput Assist Radiol Surg. 2020 Aug;15(8):1257-1265. doi: 10.1007/s11548-020-02185-0. Epub 2020 May 22. Int J Comput Assist Radiol Surg. 2020. PMID: 32445129
-
Bi-channel image registration and deep-learning segmentation (BIRDS) for efficient, versatile 3D mapping of mouse brain.Elife. 2021 Jan 18;10:e63455. doi: 10.7554/eLife.63455. Elife. 2021. PMID: 33459255 Free PMC article.
-
Deep learning-based automatic segmentation of images in cardiac radiography: A promising challenge.Comput Methods Programs Biomed. 2022 Jun;220:106821. doi: 10.1016/j.cmpb.2022.106821. Epub 2022 Apr 19. Comput Methods Programs Biomed. 2022. PMID: 35487181 Review.
-
Machine learning in microscopy - insights, opportunities and challenges.J Cell Sci. 2024 Oct 15;137(20):jcs262095. doi: 10.1242/jcs.262095. Epub 2024 Oct 28. J Cell Sci. 2024. PMID: 39465533 Review.
Cited by
-
Quantitative microbiology with widefield microscopy: navigating optical artefacts for accurate interpretations.Npj Imaging. 2024;2(1):26. doi: 10.1038/s44303-024-00024-4. Epub 2024 Sep 2. Npj Imaging. 2024. PMID: 39234390 Free PMC article.
-
A general algorithm for consensus 3D cell segmentation from 2D segmented stacks.bioRxiv [Preprint]. 2024 May 6:2024.05.03.592249. doi: 10.1101/2024.05.03.592249. bioRxiv. 2024. PMID: 38766074 Free PMC article. Preprint.
-
Structural and functional analyses of nematode-derived antimicrobial peptides support the occurrence of direct mechanisms of worm-microbiota interactions.Comput Struct Biotechnol J. 2024 Apr 10;23:1522-1533. doi: 10.1016/j.csbj.2024.04.019. eCollection 2024 Dec. Comput Struct Biotechnol J. 2024. PMID: 38633385 Free PMC article.
-
Tools and methods for high-throughput single-cell imaging with the mother machine.bioRxiv [Preprint]. 2024 Feb 5:2023.03.27.534286. doi: 10.1101/2023.03.27.534286. bioRxiv. 2024. Update in: Elife. 2024 Apr 18;12:RP88463. doi: 10.7554/eLife.88463 PMID: 37066401 Free PMC article. Updated. Preprint.
-
Tools and methods for high-throughput single-cell imaging with the mother machine.Elife. 2024 Apr 18;12:RP88463. doi: 10.7554/eLife.88463. Elife. 2024. PMID: 38634855 Free PMC article.
References
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
