Introduction

For a quick understanding of what SyMBac is, without reading the preprint, then read this page.

What is it?

SyMBac is a tool to generate synthetic phase contrast or fluorescence images of bacteria. Currently the tool only supports bacteria growing in the mother machine, we also have preliminary support for bacteria growing in 2D monolayers on agar pads (again, both in fluorescence and phase contrast).

_images/syn_mother_machine.png _images/syn_agar_pad.png _images/syn_turbedostat.png

Why would I want to generate synthetic images?

Because you’re sick of generating your own training data by hand! Synthetic images provide an instant source of high quality and unlimited training data for machine learning image segmentation algorithms!

The images are tuned to perfectly replicate your experimental setup, no matter what your microscope’s objective is (we have tested 20x air all the way to 100x oil), no matter your imaging modality (phase contrast/fluorescence), and no matter the geometry of your microfluidic device.

Additionally:

  • SyMBac is very fast at generating training data compared to humans:

    _images/human_speed_comparison.png
  • The image generation process uses a rigid body physics model to simulate bacterial growth, 3D cell geometry to calculate the light’s optical path, and a model of the phase contrast/fluorescence optics (point spread function), with some post-rendering optimisation to match image similarity:

    _images/simulation.png

How do I use these synthetic images?

That is up to you. SyMBac is not a machine learning tool. It is a tool to generate unlimited free training data which accurately represents your experiment. It is up to you to train a machine learning network on these synthetic images. We do however provide example notebooks for how to train a U-net (as implemented by DeLTA), and for training Omnipose.

_images/training.png