DOI: 10.5281/zenodo.5551009
title: DeepBacs – Mixed segmentation dataset and StarDist model

description: Mixed training and test images of <em>S. aureus</em>, <em>E. coli</em> and <em>B. subtilis </em>for cell segmentation using StarDist, as well as the trained StarDist model. Additional information can be found on this github wiki. <strong>Data type</strong>: Paired bright field / fluorescence and segmented mask images <strong>Microscopy data type</strong>: 2D widefield images; DIC and fluorescence for <em>S. aureus</em>, bright field images for <em>E. coli</em>, and fluorescence images for <em>B. subtilis</em> <strong>Microscopes</strong>: <em>S. aureus</em>: GE HealthCare Deltavision OMX system (with temperature and humidity control, 37°C) equipped with an Olympus 60x 1.42NA Oil immersion objective and 2 PCO Edge 5.5 sCMOS cameras (one for DIC, one for fluorescence) <em>E.coli</em>: Nikon Eclipse Ti-E equipped with an Apo TIRF 1.49NA 100x oil immersion objective <em>B. subtilis</em>: Custom-built 100x inverted microscope bearing a 100x TIRF objective (Nikon CFI Apochromat TIRF 100XC Oil); images were captured on a Prime BSI sCMOS camera (Teledyne Photometrics) <strong>Cell types</strong>: <em>S. aureus</em> strain JE2, <em>E. coli </em>MG1655 (CGSC #6300) and <em>B. subtilis</em> strain SH130; all grown under agarose pads <strong>File format</strong>: .tif (8-bit and 16-bit) <strong>Image size</strong>: 512 x 512 px² @ 80 nm pixel size (S. aureus); 1024 x 1024 px² @ 79 nm pixel size (E. coli); 1024 x 1024 px² @ 65 nm pixel size (B. subtilis) <strong>Image preprocessing</strong>: <em>S. aureus:</em> Raw images were manually annotated by drawing ellipses in the NR fluorescence image and segmented images were created using the LOCI plugin (“ROI Map”). For training, images and masks were quartered into four 256 x 256 px² patches. <em>E. coli:</em> Raw images were recorded in 16-bit mode (image size 512x512 px² @ 158 nm/px). Images were upscaled with a factor of 2 (no interpolation) to enable generation of higher-quality segmentation masks. <em>B. subtilis</em>: Images were denoised using PureDenoise and resulting 32-bit images were converted into 8-bit images after normalizing to 1% and 99.98% percentiles. Images were manually annotated using the Labkit Fiji plugin <strong>StarDist model:</strong> The StarDist 2D model was generated using the ZeroCostDL4Mic platform (Chamier et al., 2021). It was trained from scratch for 200 epochs (120 steps/epoch) on 155 paired image patches (image dimensions: (1024, 1024), patch size: (256,256)) with a batch size of 4, 10% validation data, 64 rays on grid 2, a learning rate of 0.0003 and a mae loss function, using the StarDist 2D ZeroCostDL4Mic notebook (v 1.12.2). Key python packages used include tensorflow (v 0.1.12), Keras (v 2.3.1), csbdeep (v 0.6.1), numpy (v 1.19.5), cuda (v 11.0.221). The training was accelerated using a Tesla P100GPU. The dataset was augmented by a factor of 3. The model weights can be used in the ZeroCostDL4Mic StarDist 2D notebook, the StarDist Fiji plugin or the TrackMate Fiji plugin (v7+). <strong>Author(s)</strong>: Christoph Spahn<sup>1,2</sup>, Mike Heilemann<sup>1,3</sup>, Mia Conduit<sup>4</sup>, Séamus Holden<sup>4,5</sup>, Pedro Matos Pereira<sup>6,7</sup>, Mariana Pinho<sup>6,8</sup> <strong>Contact email</strong>: christoph.spahn@mpi-marburg.mpg.de, Seamus.Holden@newcastle.ac.uk, pmatos@itqb.unl.pt and mgpinho@itqb.unl.pt <strong>Affiliation(s)</strong>: 1) Institute of Physical and Theoretical Chemistry, Max-von-Laue Str. 7, Goethe-University Frankfurt, 60439 Frankfurt, Germany 2) ORCID: 0000-0001-9886-2263 3) ORCID: 0000-0002-9821-3578 4) Centre for Bacterial Cell Biology, Biosciences Institute, Newcastle University, NE2 4AX UK 5) ORCID: 0000-0002-7169-907X 6) Bacterial Cell Biology, Instituto de Tecnologia Química e Biológica António Xavier, Universidade Nova de Lisboa, Oeiras, Portugal 7) ORCID: 0000-0002-1426-9540 8) ORCID: 0000-0002-7132-8842