Hostname: page-component-546b4f848f-bvkm5 Total loading time: 0 Render date: 2023-06-02T00:09:52.368Z Has data issue: false Feature Flags: { "useRatesEcommerce": true } hasContentIssue false

DSeg: A Dynamic Image Segmentation Program to Extract Backbone Patterns for Filamentous Bacteria and Hyphae Structures

Published online by Cambridge University Press:  21 March 2019

Hanqing Zhang
Department of Physics, Umeå University, 901 87 Umeå, Sweden
Niklas Söderholm
Department of Molecular Biology, Umeå University, 901 87 Umeå, Sweden
Linda Sandblad
Department of Molecular Biology, Umeå University, 901 87 Umeå, Sweden
Krister Wiklund
Department of Physics, Umeå University, 901 87 Umeå, Sweden
Magnus Andersson*
Department of Physics, Umeå University, 901 87 Umeå, Sweden
*Author for correspondence: Magnus Andersson, E-mail:
Get access


Analysis of numerous filamentous structures in an image is often limited by the ability of algorithms to accurately segment complex structures or structures within a dense population. It is even more problematic if these structures continuously grow when recording a time-series of images. To overcome these issues we present DSeg; an image analysis program designed to process time-series image data, as well as single images, to segment filamentous structures. The program includes a robust binary level-set algorithm modified to use size constraints, edge intensity, and past information. We verify our algorithms using synthetic data, differential interference contrast images of filamentous prokaryotes, and transmission electron microscopy images of bacterial adhesion fimbriae. DSeg includes automatic segmentation, tools for analysis, and drift correction, and outputs statistical data such as persistence length, growth rate, and growth direction. The program is available at Sourceforge.

Software and Instrumentation
Copyright © Microscopy Society of America 2019 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)


Bagchi, S, Tomenius, H, Belova, LM & Ausmees, N (2008). Intermediate filament-like proteins in bacteria and a cytoskeletal function in Streptomyces. Mol Microbiol 70, 10371050.Google Scholar
Barry, D & Williams, G (2011). Microscopic characterisation of filamentous microbes: Towards fully automated morphological quantification through image analysis. J Microsc 244, 120. Available at ScholarPubMed
Bradley, D & Roth, G (2007). Adaptive thresholding using the integral image. J Graph Tools 12, 1321. Available at Scholar
Brown, JW, Badahdah, A, Iticovici, M, Vickers, TJ, Alvarado, DM, Helmerhorst, EJ, Oppenheim, FG, Mills, JC, Ciorba, MA, Fleckenstein, JM & Bullitt, E (2018). A role for salivary peptides in the innate defense against enterotoxigenic Escherichia coli. J Infect Dis 217, 14351441. Available at; ScholarPubMed
Dahlberg, T, Stangner, T, Zhang, H, Wiklund, K, Lundberg, P, Edman, L & Andersson, M (2018). 3D printed water-soluble scaffolds for rapid production of PDMS micro-fluidic flow chambers. Sci Rep 8, 3372. Available at ScholarPubMed
Dias, PA, Dunkel, T, Fajado, DAS, Gallegos, EDL, Denecke, M, Wiedemann, P, Schneider, FK & Suhr, H (2016). Image processing for identification and quantification of filamentous bacteria in in situ acquired images. Biomed Eng Online 15, 64. Available at ScholarPubMed
Dimopoulos, S, Mayer, CE, Rudolf, F & Stelling, J (2014). Accurate cell segmentation in microscopy images using membrane patterns. Bioinformatics 30, 26442651. Available at ScholarPubMed
Fällman, E, Schedin, S, Jass, J, Andersson, M, Uhlin, BE & Axner, O (2004). Optical tweezers based force measurement system for quantitating binding interactions: System design and application for the study of bacterial adhesion. Biosens Bioelectron 19, 14291437. Available at Scholar
Flärdh, K, Richards, DM, Hempel, AM, Howard, M & Buttner, MJ (2012). Regulation of apical growth and hyphal branching in Streptomyces. Curr Opin Microbiol 15, 737743. Available at ScholarPubMed
Fuchino, K, Flärdh, K, Dyson, P & Ausmees, N (2017). Cell-biological studies of osmotic shock response in Streptomyces spp. J Bacteriol 199, 114. Available at ScholarPubMed
Heller, D, Hoppe, A, Restrepo, S, Gatti, L, Tournier, AL, Tapon, N, Basler, K & Mao, Y (2016) Epitools: An open-source image analysis toolkit for quantifying epithelial growth dynamics. Dev Cell 36, 103116. Available at ScholarPubMed
Hodneland, E, Kögel, T, Frei, D, Gerdes, HH & Lundervold, A (2013). CellSegm—a MATLAB toolbox for high-throughput 3D cell segmentation. Source Code Biol Med 8, 16. Available at ScholarPubMed
Jones, TR, Kang, I, Wheeler, DB, Lindquist, RA, Papallo, A, Sabatini, DM, Golland, P & Carpenter, AE (2008). Cellprofiler Analyst: Data exploration and analysis software for complex image-based screens. BMC Bioinf 9, 482. Available at ScholarPubMed
Khan, MB, Nisar, H, Ng, CA, Yeap, KH & Lai, KC (2017). Segmentation approach towards phase-contrast microscopic images of activated sludge to monitor the wastewater treatment. Microsc Microanal 23, 11301142. Available at{_}article.10.1017/S1431927617012673CrossRefGoogle ScholarPubMed
Klein, J, Leupold, S, Biegler, I, Biedendieck, R, Munch, R & Jahn, D (2012). TLM-Tracker: Software for cell segmentation, tracking and lineage analysis in time-lapse microscopy movies. Bioinformatics 28, 22762277. Available at ScholarPubMed
Lamour, G, Kirkegaard, JB, Li, H, Knowles, TP & Gsponer, J (2014). Easyworm: An open-source software tool to determine the mechanical properties of worm-like chains. Source Code Biol Med 9, 16. Available at ScholarPubMed
Latychevskaia, T & Fink, HW (2015). Practical algorithms for simulation and reconstruction of digital in-line holograms. Appl Opt 54, 2424. Available at; ScholarPubMed
Mcquin, C, Goodman, A, Chernyshev, V, Kamentsky, L, Cimini, BA, Karhohs, KW, Doan, M, Ding, L, Rafelski, SM, Thirstrup, D, Wiegraebe, W, Singh, S, Becker, T, Caicedo, JC & Carpenter, AE (2018). Cellprofiler 3.0: Next-generation image processing for biology. PLoS Biol 16, e2005970. Available at ScholarPubMed
Meyer, F (1994). Topographic distance and watershed lines. Signal Processing 38, 113125. Available at Scholar
Mortezaei, N, Epler, CR, Shao, PP, Shirdel, M, Singh, B, Mcveigh, A, Uhlin, BE, Savarino, SJ, Andersson, M & Bullitt, E (2015). Structure and function of enterotoxigenic Escherichia coli fimbriae from differing assembly pathways. Mol Microbiol 95, 116126. Available at ScholarPubMed
Mortezaei, N, Singh, B, Bullitt, E, Uhlin, BE & Andersson, M (2013). P-fimbriae in the presence of anti-PapA antibodies: New insight of antibodies action against pathogens. Sci Rep 3, 3393. Available at{&}tool=pmcentrez{&}rendertype=abstract;;; ScholarPubMed
Otsu, N (1979). A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9, 6266. Available at Scholar
Riquelme, M, Aguirre, J, Bartnicki-García, S, Braus, GH, Feldbrügge, M, Fleig, U, Hansberg, W, Herrera-Estrella, A, Kämper, J, Kück, U, Mouriño-Pérez, RR, Takeshita, N & Fischer, R (2018). Fungal morphogenesis, from the polarized growth of hyphae to complex reproduction and infection structures. Microbiol Mol Biol Rev 82, e0006817. Available at; ScholarPubMed
Rueden, CT, Schindelin, J, Hiner, MC, Dezonia, BE, Walter, AE, Arena, ET & Eliceiri, KW (2017). Imagej2: ImageJ for the next generation of scientific image data. BMC Bioinf 18, 529. Available at ScholarPubMed
Schvartz, T, Aloush, N, Goliand, I, Segal, I, Nachmias, D, Arbely, E & Elia, N (2017). Direct fluorescent-dye labeling of α-tubulin in mammalian cells for live cell and superresolution imaging. Mol Biol Cell 28, 27472756. Available at ScholarPubMed
Sethian, JA (1999). Level Set Methods and Fast Marching Methods: Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science, vol. 3. Cambridge, UK: Cambridge University Press.Google Scholar
Silverman, PM & Clarke, MB (2010). New insights into F-pilus structure, dynamics, and function. Integr Biol 2, 2531. Available at ScholarPubMed
Stangner, T, Zhang, H, Dahlberg, T, Wiklund, K & Andersson, M (2017). A step-by-step guide to reduce spatial coherence of laser light using a rotating ground glass diffuser. Appl Opt 56, 17. Available at; ScholarPubMed
Strisciuglio, N & Petkov, N (2017). Delineation of line patterns in images using B-COSFIRE filters. 2017 International Conference and Workshop on Bioinspired Intelligence (IWOBI). pp. 16. Available at Scholar
Takeshita, N & Fischer, R (2011). On the role of microtubules, cell end markers, and septal microtubule organizing centres on site selection for polar growth in Aspergillus nidulans. Fungal Biol 115, 506517. Available at ScholarPubMed
Wiesmann, V, Franz, D, Held, C, Münzenmayer, C, Palmisano, R & Wittenberg, T (2015). Review of free software tools for image analysis of fluorescence cell micrographs. J Microsc 257, 3953. Available at Scholar
Zhang, H, Stangner, T, Wiklund, K, Rodriguez, A & Andersson, M (2017). UmUTracker: A versatile MATLAB program for automated particle tracking of 2D light microscopy or 3D digital holography data. Comput Phys Commun 219, 390399. Available at; Scholar
Zhang, K, Zhang, L, Song, H & Zhou, W (2010). Active contours with selective local or global segmentation: A new formulation and level set method. Image Vis Comput 28, 668676. Available at Scholar
Supplementary material: File

Zhang et al. supplementary material

Zhang et al. supplementary material 1

Download Zhang et al. supplementary material(File)
File 67 MB