Skip to main content
MethodsX logoLink to MethodsX
. 2021 Jan 12;8:101228. doi: 10.1016/j.mex.2021.101228

Fractal dimension analysis: A new tool for analyzing colony-forming units

Gisele Alborghetti Nai a,, Cesar Alberto TALAvera Martelli b, Denis Aloísio Lopes Medina b, Mayla Silva Cayres de Oliveira c, Isadora Delfino Caldeira d, Bruno Carvalho Henriques d, Maria Júlia Schadeck Portelinha d, Lizziane Kretli Winkelstroter Eller e, Mariângela Esther Alencar Marques f
PMCID: PMC8374233  PMID: 34434751

Abstract

The gold standard for quantifying bacteria both in routine diagnostics and in research is plating followed by count of colony-forming units (CFU). But, manual CFU counting on plates is time-consuming and subjective. We evaluated fractal dimension as a new methodology for evaluating CFU. Twenty fragments of expanded polytetrafluoroethylene (ePTFE) synthetic vascular prosthesis and 20 silicone prostheses were embedded in bacterial suspensions and incubated. The prostheses were then sown in solid culture medium and incubated for 48 h. Petri dishes were photographed and analyzed by fractal dimension. There was correlation between the number of CFU in manual counting and the fractal dimension analysis (p = 0.0001). We demonstrated that fractal dimension is a useful method for microbiological analyses in researches. It makes CFU analysis easier and faster and can be used regardless of the culture medium.

  • Petri dishes with different bacterial colonies were photographed with a digital camera under natural light.

  • The images were binarized and analyzed with ImageJ's “fractal dimension” tool.

  • Fractal dimension analysis showed to be a good tool for evaluating the amount of colony-forming unit.

Keywords: Prostheses and implants, Microbial colony count, Image processing, Computer-assisted

Graphical abstract

Image, graphical abstract


Specifications Table

Subject Area Microbiology
More specific subject area Bacteriology
Method name Colony-forming units counting (CFU)
Name and reference of original method N. Stolze, C. Bader, C. Henning, J. Mastin, A.E. Holmes, A.L. Sutlief, Automated image analysis with ImageJ of yeast colony forming units from cannabis flowers, J Microbiol Methods. 164 (2019) 105,681. doi: 10.1016/j.mimet.2019.105681.
Resource availability Example image files provided as supplementary material

Method details

Bacterial culture and counting procedure

Bacterial strains and culture condition

The bacterial strains (Microbiologics, Inc., St. Cloud, Minnesota, USA) used were Escherichia coli ATCC 25,922™, Proteus mirabilis ATCC 25,933™, Staphylococcus aureus subspecies aureus ATCC 25,923™, Staphylococcus epidermidis ATCC 12,228™ and Enterococcus faecalis ATCC 29,212™.

About 50µL of bacterial frozen stocks samples (108 CFU/ml) were inoculated in BHI (brain heart infusion) and incubated at 37 °C for 24 h.

Prostheses colonization

Twenty fragments of the Exxcel Soft expanded polytetrafluoroethylene (ePTFE) synthetic vascular prosthesis (Maquet Cardiovascular LLC, Wayne, NJ, USA) measuring 1 cm each and 20 silicone prostheses measuring 2 cm diameter (Model Forma Malhas Compressivas e Produtos Hospitalares Ltda. - EPP, São Caetano do Sul, Brazil) were used. Both prostheses were soaked in suspensions in 1 ml of TSB (Tryptic Soy Broth) with the microorganisms. The suspensions with the microorganisms were adjusted to the turbidity corresponding to McFarland scale tube 0.5 which represents 1,5 × 108 CFU/ml . Later, the prostheses were incubated in sterile flasks in an oven at 37 °C for one week. One milliliter of TBS was added to each flask every 2 days during the incubation. The analysis was performed in quadruplicate for each bacterium and prostheses.

After incubation, the prostheses were seeded by rolling in 15 × 150 mm Petri dishes containing 40 ml of CLED (Electrolyte Deficient Cystine Lactose Agar) for evaluation of P. mirabilis and 40 ml of blood agar for evaluation of other bacteria. The plates were incubated at 37 °C for 48 h.

Digital acquisition of image

After incubation, the Petri dishes were photographed with a digital camera (Cyber Shot W830 20.1MP, Sony, Japan) at a distance of 15 cm.

Fractal dimension analysis

The images were analyzed with ImageJ software (http://rsbweb.nih.gov/ij/) [1].

First, the original images (Fig. 1) were transformed into 8-bit length, using the “image type” tool (Fig. 2). Subsequently, they are binarized into black and white, using the “make binary” tool (Fig. 3), because fractal analysis measures the black area of the image.

Fig. 1.

Fig 1

Original image of Petri dishes inoculated with ePTFE prostheses contaminated with Staphylococcus aureus. Culture medium: Blood agar.

Fig. 2.

Fig 2

(a) “Image type” tool of ImageJ and (b) original image transformed into 8-bit length.

Fig. 3.

Fig 3

Binarization of the image: (a) the windows of ImageJ for binarization and (b) the binarized image.

Fractal dimension analysis was performed by the box-counting method, using the “fractal box-counter” tool (Fig. 4). During the analysis, the program considers two dimensions, allowing the quantification of the pixel distribution in this space, not considering the texture of the image. The calculated fractal dimension is always between 0 and 2. The results are expressed in a spreadsheet and a boxplot (Fig. 5).

Fig. 4.

Fig 4

The windows of ImageJ for “analyze” tool: (a) “Fractal box-counter” tool and (b) and the beginning of image analysis.

Fig. 5.

Fig 5

Results of fractal dimension analysis: (a) data spreadsheet and (b) the box-counting.

Colony-forming units manual counting

Colony-forming units (CFU) were counted manually by the naked eye in the original image using the “multi-point” tool of ImageJ software.

The CFU count ranged from 0 to 2893 on Petri dishes seeded with silicone prostheses and ranged from 0 to 3038 on Petri dishes seeded with ePTFE prostheses.

Comparison between the CFU manual counting and the fractal dimension analysis

To check the appropriateness of using the fractal dimension to estimate the CFU, Pearson's correlation coefficient was used. Differences were considered statistically significant when p <0.05. The tests were performed with SPSS v. 23.0.

There was correlation between the number of CFU and the fractal dimension analysis of silicone prostheses (r = 0.995, p = 0.0001) (Fig. 6A) and ePTFE prostheses (r = 0.998, p = 0.0001) (Fig. 6B) for all the evaluated bacteria, regardless of their morphological characteristics.

Fig. 6.

Fig 6

Correlation between the mean number of colony-forming units (CFU) counted manually and the analysis by fractal dimension for all bacteria evaluated: (a) of silicone prostheses (p = 0.0001) and (b) of ePTFE prostheses (p = 0.0001).

Additional information

Background

The gold standard for quantifying bacteria both in routine diagnostics and in research is plating in a culture medium, incubation and later, the counting of colony-forming units (CFU) [2]. In addition to being a laborious method, manual CFU counting on plates is time-consuming and subjective [2,3]. The quantification of bacteria is very important for the characterization of both pathogen-host interactions and pathogenic factors involved [2].

Establishing a standardized procedure allows simplifying the process, making it easier and faster, in addition to decreasing the variability between analyzers [3], and it is necessary to obtain high performance analyzes [2].

Some high-throughput methods have been suggested for CFU counting, such as fluorescent labeling, genome probing microarrays, quantitative PCR, but these methods require specific equipment and a very detailed protocol with a lot of inputs [4]. Some artificial intelligence tools, more specifically machine learning, have been proposed to improve the performance of the CFU count, such as the Convolutional Neural Network proposed by Ferrari et al. [5]. However, this method is not suitable for high bacterial loads [4]. Thus, other machine learning methods that can evaluate a large number of colonies were also carried out, such as Transfer Learning that was first designed to count objects in a crowded scene [4]. But even machine learning requires complex data analysis.

The term fractal dimension was coined by the mathematician Mandelbrot in 1975, who stated that any set can have a fractal dimension [6]. The fractal dimension represents the degree of occupation of a geometric figure in space, i.e., it indicates the irregularity of the analyzed figure [6].

In medicine, fractal dimension analysis has been used in cardiovascular analysis [7], neurosciences [8] and pulmonary carcinoma analysis [9]. Fractal analysis for pathogen assessment was used in some studies previously [10], [11], [12], [13], but ours is the first to use the tool available by the software ImageJ.

The ImageJ software is free and easy to use, which makes the analysis proposed in our study widely usable. Other studies propose software analyzes, but these require the use of more sophisticated equipment to capture the image and a software that often have a high cost. We propose the use of tools that are easily available to all researchers, are easily performed and interpreted and that are inexpensive.

Fractal dimension analysis is able to identify a small number of colonies and even small colonies (see Supplementary Figs. 1 and 3). As the fractal dimension evaluates tissue irregularity, even a small number of colonies will show changes in its value. Also, the fractal dimension was able to identify bacterial colonies in different culture media (see Supplementary figures). Regardless, we used plates seeded with contaminated prostheses in our study; fractal dimension analysis can be used in any context of CFU counting, because the analyses are made of the CFU on the Petri dishes with agar.

For the proper execution of the method, some care must be taken. The Petri dishes must all be photographed from the same distance and the size of the analyzed area must also be the same for all plates. Ideally, the camera should be attached to a support so that the distance is always the same and there is no image shake. The plates must be photographed on a flat surface, at a 90° angle to the floor, under white light. The projection of shadow on the plates prevents proper binarization of the images, making fractal analysis unfeasible.

The study also evaluated five different species of microorganism (E. coli ATCC 25,922™, Proteus mirabilis ATCC 25,933™, Staphylococcus aureus subspecies aureus ATCC 25,923™, Staphylococcus epidermidis ATCC 12,228™ and Enterococcus faecalis ATCC 29,212™) and tested in two different culture media: CLED and blood agar. This confirms the relevant application of the method in different conditions. However, further studies evaluating different numbers and sizes of CFU, using other culture media and even other microorganisms, such as fungi, may better show the applicability of the fractal dimension analysis in microbiology.

The fractal dimension analysis showed an excellent correlation with the CFU manual count, showing that this can be a good tool for this type of evaluation, particularly in researches. As well as, the tool provided by the ImageJ software made this analysis easier to perform than the methods previously described.

Author contribution

Each author presented relevant contribution to elaboration of the present manuscript as follows:

Gisele Alborghetti Nai: coordinated the study, writer of the manuscript, performed prostheses analyses, and interpreted the results.

Cesar Alberto Talavera Martelli: co-writer of the manuscript and performed prostheses analyses.

Denis Aloísio Lopes Medina: co-writer of the manuscript and performed prostheses analyses.

Mayla Silva Cayres de Oliveira: performed prostheses analyses, and contributed reagents, materials, analysis tools or data and interpreted the results.

Isadora Delfino Caldeira: performed prostheses analyses.

Bruno Carvalho Henriques: performed prostheses analyses.

Maria Júlia Schadeck Portelinha: performed prostheses analyses.

Lizziane Kretli Winkelstroter Eller: co-writer of the manuscript, interpreted the results and contributed reagents, materials, analysis tools or data.

Mariângela Esther Alencar Marques: coordinated the study, revised the manuscript.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgments

This work was financed by research funds from the Universidade do Oeste Paulista (UNOESTE). The authors acknowledge Ligia Maria Delfino Caldeira and Denise Lopes da Costa from the Laboratory of Clinical Analysis of Universidade do Oeste Paulista for their support during this research.

Footnotes

Supplementary material associated with this article can be found, in the online version, at doi:10.1016/j.mex.2021.101228.

Appendix. Supplementary materials

mmc1.docx (1.8MB, docx)

References

  • 1.Schneider C.A., Rasband W.S., Eliceiri K.W. NIH image to ImageJ: 25 years of image analysis. Nat. Methods. 2012;9:671–675. doi: 10.1038/nmeth.2089. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Hoffmann S., Walter S., Blume A.K., Fuchs S., Schmidt C., Scholz A., Gerlach R.G. High-throughput quantification of bacterial-cell interactions using virtual colony counts. Front. Cell. Infect. Microbiol. 2018;8:43. doi: 10.3389/fcimb.2018.00043. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Stolze N., Bader C., Henning C., Mastin J., Holmes A.E., Sutlief A.L. Automated image analysis with ImageJ of yeast colony forming units from cannabis flowers. J. Microbiol. Methods. 2019;164 doi: 10.1016/j.mimet.2019.105681. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Albaradei S.A., Napolitano F., Uludag M., Thafar M., Napolitano S., Essack M., Bajic V.B., Gao X. Automated counting of colony forming units using deep transfer learning from a model for congested scenes analysis. IEEE Access. 2020;8:164340–164346. doi: 10.1109/ACCESS.2020.3021656. [DOI] [Google Scholar]
  • 5.Ferrari A., Lombardi S., Signoroni A. Bacterial colony counting with convolutional neural networks in digital microbiology imaging. Pattern Recognit. 2017;61:629–640. doi: 10.1016/j.patcog.2016.07.016. [DOI] [Google Scholar]
  • 6.Ostwald M.J. The fractal analysis of architecture: calibrating the box-counting method using scaling coefficient and grid disposition variables. Environ. Plan. B Plan. Des. 2013;40:644–663. doi: 10.1068/b38124. [DOI] [Google Scholar]
  • 7.Pacagnelli F.L., Sabela A.K., Mariano T.B., Ozaki G.A., Castoldi R.C., Carmo E.M., Carvalho R.F., Tomasi L.C., Okoshi K., Vanderlei C. Fractal dimension in quantifying experimental-pulmonary-hypertension-induced cardiac dysfunction in rats. Arq. Bras. Cardiol. 2016;107:33–39. doi: 10.5935/abc.20160083. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Puškaš N., Zaletel I., Stefanović B.D., Ristanović D. Fractal dimension of apical dendritic arborization differs in the superficial and the deep pyramidal neurons of the rat cerebral neocortex. Neurosci. Lett. 2015;589:88–91. doi: 10.1016/j.neulet.2015.01.044. [DOI] [PubMed] [Google Scholar]
  • 9.Lee L.H., Tambasco M., Otsuka S., Wright A., Klimowicz A., Petrillo S., Morris D., Magliocco A., Bebb D.G. Digital differentiation of non-small cell carcinomas of the lung by the fractal dimension of their epithelial architecture. Micron. 2014;67:125–131. doi: 10.1016/j.micron.2014.07.005. [DOI] [PubMed] [Google Scholar]
  • 10.Matsuyama T., Matsushita M. Self-similar colony morphogenesis by gram-negative rods as the experimental model of fractal growth by a cell population. Appl. Environ. Microbiol. 1992;58:1227–1232. doi: 10.1128/aem.58.4.1227-1232.1992. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Kawasaki K., Mochizuki A., Matsushita M., Umeda T., Shigesada N. Modeling spatio-temporal patterns generated by Bacillus subtilis. J. Theor. Biol. 1997;188:177–185. doi: 10.1006/jtbi.1997.0462. [DOI] [PubMed] [Google Scholar]
  • 12.Morris B.A., Sadana A. A fractal analysis of pathogen detection by biosensors. Biophys. Chem. 2005;113:67–81. doi: 10.1016/j.bpc.2004.07.041. [DOI] [PubMed] [Google Scholar]
  • 13.Roy M.K., Banerjee P., Sengupta T.K., Dattagupta S. Glucose induced fractal colony pattern of Bacillus thuringiensis. J. Theor. Biol. 2010;265:389–395. doi: 10.1016/j.jtbi.2010.05.016. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

mmc1.docx (1.8MB, docx)

Articles from MethodsX are provided here courtesy of Elsevier

RESOURCES