Bio-Induced Healing of Cement Mortars in Demineralized and Danube Water: CNN Model for Image Classiﬁcation

: Reducing the costs of repairing concrete structures damaged due to the appearance of cracks and reducing the number of people involved in the process of their repair is the subject of a multitude of experimental studies. Special emphasis should be placed on research involving industrial by-products, the disposal of which has a negative environmental impact, as is the case in the research presented in this paper. The basic idea was to prepare a mortar with added granulated blast furnace slag from Smederevo Steel Mill and then treat artiﬁcially produced cracks with a Sporosarcina pasteurii DSM 33 suspension under the conditions of both sterile demineralized water and water from the Danube river in order to simulate natural conditions. The results show a bio-stimulated healing efﬁciency of 32.02% in sterile demineralized water and 42.74% in Danube river water already after 14 days. The SEM images clearly show calcium carbonate crystals as the main compound that has started to ﬁll the crack, and the crystals are much more developed under the Danube river water conditions. As a special type of research, microscopic images of cracks were classiﬁed into those with and without the presence of bacterial culture. By applying convolutional neural networks (ResNet 50), the classiﬁcation success rate was 91.55%.


Introduction
Concrete is formed by a mixture of cement, coarse, and fine aggregate with water. Cement in this mixture plays an essential role by connecting aggregates, filling the space between them [1]. No building can be imagined without the use of concrete, and for this reason, concrete is the most widely used building material. Good concrete properties are primarily reflected in extremely high compressive strength, market availability, pourability into various forms, price, etc. However, despite its good properties, this material has high cracking sensitivity due to its limited tensile strength. For this reason, it is often combined with steel reinforcement, which allows it to bear certain tensile loads. However, steel reinforcement cannot prevent crack formation but can only limit crack width. Cracks that appear over time are the result of various environmental influences to which building structures are exposed. Various aggressive liquids and gases can penetrate the cement matrix through these cracks. In the worst-case scenario, when the steel reinforcement is exposed to environmental influences, it can corrode and get severely damaged at the crack site. Such severe damages to building structures require repairs, which makes maintenance even more expensive. According to available data for Great Britain, the annual costs of the spores germinate and transform into active bacteria and their metabolic products can fill the free crack space [6,19].
In recent years, a special approach to research through connecting experiments with numerical simulations and modeling has attracted a lot of attention from researchers, whether it is classical or artificial intelligence methods (such as forming mathematical equations that describe the trend of crack healing, predicting the effectiveness of crack healing based on their dimensions, the classification of data based on the appearance of samples, etc.) [8,10,20,21].
Considering that there are bridges of exceptional cultural, historical, and symbolic value, the state of damage of their concrete structures in real conditions was the subject of many authors, especially after natural disasters caused by earthquakes. Mangalathu et al.
(2019) proposed a methodology that includes a rapid assessment of the state of damage using the capabilities of machine learning techniques (e.g., Discriminant Analysis (QDA), K-Nearest Neighbors (KNN), Decision Trees (DT), Random Forests (RF), and Naïve Bayes (NB)). The Random Forest algorithm showed the highest accuracy (from 73% to 82%) for column damage of bridges. Cosgun (2023) considered four machine learning techniques for cracks in buildings caused by earthquakes: Artificial Neural Networks (ANN), Support Vector Machine (SVM), as well as RF and DT techniques. The Random Forest (RF) methodology also showed the highest accuracy here, with a value of 100%. In their study, Chen and Dagli (2023) obtained the accuracy of ANN seismic classifiers varying from 92% to 99%, with different damage indices not affecting this value [22][23][24].
Following damage on bridges, Mirbod and Shoar (2023) proposed ANN as the best model that can specifically distinguish images with cracks from images without cracks. The efficiency of this ANN model is 84.88% [25]. Cardellicchio et al. (2023) proposed existing algorithms of Convolutional Neural Networks (CNN) using two visualization techniques that are based on the Class Activation Map (CAM) and allow the observation of the activation zone and the type of specific defect in the analyzed image. The conclusion they reached refers to precise preparatory work. That is, attempting to increase the number of images explained for each defect as much as possible in order to avoid poor data balancing [26].
In a slightly different approach, Abubakr et al. (2023) performed image classification using Xception & Vanilla models based on Convolutional Neural Networks (CNN) to detect the five most common damages of RC bridges (cracks, corrosion, efflorescence, spalling, and steel reinforcement exposed to ambient influence). The Xception model in defect classification showed an accuracy of 94.95%, and the Vanilla model had an accuracy of 85.71% [27].
Apart from bridges in real conditions, it is also important to monitor the condition of the roads, which was the subject of research by some authors. Deng et al. (2023) developed a new algorithm for the automatic detection, segmentation, and measurement of cracks on the road surface using the Iou Only Look One (IOLOv5) and Residual Unity Networking (Res-Unet) algorithms. They found out that the crack damage detection based on the IOLOv5 method achieves a mean average accuracy of 91%; modified Res-UNet achieves 87%, and their developed new algorithm has an accuracy of 95% [28]. Crack width classification using machine learning is also useful when sufficient image resolution is not available, as stated by Mir et al. (2022). In this case, SVM gave better classification accuracy than the method using arbitrary features [29].
The latest study by Yun et al. (2023) proposes a modified deep learning network (VGG) method and a method based on Generative Adversarial Networks (GAN) for the classification of asphalt crack images. The crack prediction accuracy of the improved VGG model compared to the original VGG model increased by 5.9% and the F1-score also increased by 5.78%. The obtained F1-score value is higher than the same one in GoogLeNet, ResNet18, and AlexNet [30].
In a similar way, Iraniparast et al. (2023) developed a method for the automatic identification of cracks in images as the help for the assessment of the condition of concrete structures. They proposed two transfer learning scenarios used to train five pre-trained CNN models (AlexNet, GoogleNet, SqueezeNet, MobileNet, and ResNet-18). Among them, ResNet showed the best performance [31].
In addition to the macroscopic sizes of the cracks, microscopic cracks in real conditions were also processed in related studies [32,33]. For example, Guzmán-Torres et al. (2022) chose micro and macro cracks on concrete structures as the subject of their investigation, applying DL architecture based on the significantly improved VGG-16 model. This technique achieved an accuracy of 99.5% while the F1-score was 100% [33]. In addition, Tang et al. (2023) proposed a machine vision-based methodology for the definition of crack width, which combines the macroscale and microscale characteristics of the backbone [32]. Ali et al. (2021) compared the performance of the proposed Convolutional Neural Network (CNN) model with pre-trained networks, VGG-16, VGG-19, ResNet-50, and Inception V3. All models showed satisfactory performances, however, VGG-16 stood out, having better accuracy in the phases of training, validation, and testing [34].
A recent study predicting the degree of crack healing of cement mortars with fly ash, limestone powder, and silica fume additives has used Gene Expression Programming (GEP) models. This study was conducted by Althoey et al. (2022). Compared to linear regression models, the GEP model shows the highest correlation coefficient and the lowest error check [21].
In accordance with the aforementioned facts, this paper represents an expansion of existing ideas and current thinking, reduced to the framework of laboratory research, and analyzes the possibility of incorporating waste materials from the industrial process into new types of cement, which is especially important for building structures that will be used in river conditions. In addition, the process of self-healing mortar with bacteria was monitored through precipitation under the conditions of sterile demineralized and Danube river water. To the best of our knowledge, no study has been conducted to investigate bio-stimulated healing phenomena under the natural river (Danube) water yet. In our work, we use this water based on the fact that the Danube river is the second longest river in Europe. By considering a set of recorded images after healing, in conditions with and without the presence of bacterial culture, their classification was performed. For this purpose, a deep learning methodology was chosen, i.e., a technique based on Convolutional Neural Networks and ResNet50, which according to the available literature has not been applied to this type of research. According to some authors, ResNet50 provides the best performance compared to VGG16 and VGG 19 [35]. In their research, Dabović and Tartalja (2017) compared five different CNN networks: AlexNet, ZF Net, VGG Net, GoogLeNet, and ResNet50. The following classification errors were found: 15.4%; 13.5%; 7.4%; 6.7%, and 3.6%, respectively. Due to how in this case, the ResNet50 network showed the best performance [36], it was chosen for this study.
Although still under development, this type of analytical support in the crack healing process can significantly help engineers in their work. Through the developed model and simulation of the bio-stimulated healing mortar phenomenon, useful information can be obtained. Model results affect the direction and cost reduction of subsequent research, save materials and time, and represent a key addition to the experimental part of the research, with the aim of solving the problem as best as possible [37].

Materials and Methods
The materials used in this research include CEM I cement from Lafarge BFC d.o.o. Beočin, Serbia, a member of Holcim Group (alite cement), granulated blast furnace slag from HBIS GROUP Serbia Iron & Steel d.o.o. Belgrade-Serbia (slag), standard three-fraction sand as aggregate, suspension of Sporosarcina pasteurii DSM 33 as a means for external healing of cracks of new cement mixtures, sterile demineralized water, and Danube riverwater.

Characterization of the Initial Slag Sample
For the preparation of new cement mixtures, a slag sample was characterized in detail to select the optimal quantities of material for alite cement replacement. The slag characterization involved determining physical and chemical properties, using standard methods that included particle size analysis, pH value, chemical composition, specific weight, X-ray diffraction analysis-XRD, and scanning electron microscopy-SEM. A more detailed description of these methodologies is given below.

Characterization of the Cement Sample
CEM I is a commercial product, therefore, no detailed characterization of the sample was performed except for the chemical, setting time, compressive, and flexural strength analyses. - The chemical analysis methodology is described in the previous chapter. - The cement mortars setting time was tested using a Vicat apparatus according to the SRPS EN 196-3:2017. The test room temperature should be 20 ± 2 • C and the relative humidity should be at least 50% [42]. -Determination of flexural and compressive strength was described in SRPS EN 196-1:2017 [43].

Characterization of Danube River Water
Water from the Danube river was tested using an ion chromatography method. Ion chromatography is a method of chromatographic separation of ions in a solution using a solid ion exchange material-filled column and it is ideal for determining very low concentrations of present ions. It is possible to simultaneously analyze a group of inorganic anions (fluorides, chlorides, nitrites, bromides, nitrates, phosphates, and sulfates) and cations of alkaline and alkaline earth metals in water, as well as ammonium ions. This method is used for analyzing all types of water, and it is most widely applied in drinking water analyses [44].

Preparation and Bio-Stimulated Healing Mortar
Initial sample characterization was followed by the preparation of a new type of mortar and its characterization by examining the strengths, chemical composition, and setting time.
The new mortar system was prepared with a 10% slag replacement instead of alite cement using the method described in SRPS EN 196-1:2017. The sample prisms were of standard dimensions 40 × 40 × 160 mm and laboratory dimensions of 10 × 10 × 60 mm.
Flexural and compressive strengths were tested after 2, 28, and 240 days of water curing on hydraulic presses by Tinius Olsen, Sari, England, a working force of up to 231 kN and VEB Thuringer Industriewerk Rauenstein, Weimar, Germany (standard prisms), as well as a working force of 0-5 kN and 25-50 kN (laboratory prisms). For this type of mortar, the setting time was also determined using a Vicat apparatus according to SRPS EN 196-3:2017. The mortar system composition is provided in Table 1. Determination of the strengths, setting time, and chemical composition of the new mortar type was followed by the preparation of laboratory sample prisms for the bacterial bio-stimulated healing experiment. After preparation and water curing for 28 days, sample prisms of laboratory dimensions were cut with a diamond knife (Figure 1a)) to 10 × 10 mm for easier manipulation, and a groove was artificially made on each sample as a real crack simulation (Figure 1b)). In this way, enough samples were prepared for the needs of further experiments.
Buildings 2023, 13, x FOR PEER REVIEW 6 of Flexural and compressive strengths were tested after 2, 28, and 240 days of water curi on hydraulic presses by Tinius Olsen, Sari, England, a working force of up to 231 kN a VEB Thuringer Industriewerk Rauenstein, Weimar, Germany (standard prisms), as w as a working force of 0-5 kN and 25-50 kN (laboratory prisms). For this type of mort the setting time was also determined using a Vicat apparatus according to SRPS EN 19 3:2017. The mortar system composition is provided in Table 1. Determination of the strengths, setting time, and chemical composition of the ne mortar type was followed by the preparation of laboratory sample prisms for the bacter bio-stimulated healing experiment. After preparation and water curing for 28 days, sa ple prisms of laboratory dimensions were cut with a diamond knife (Figure 1a)) to 10 × mm for easier manipulation, and a groove was artificially made on each sample as a re crack simulation (Figure 1b)). In this way, enough samples were prepared for the nee of further experiments. For the bio-stimulated healing process, the S. pasteurii DSM 33 strain was selecte which is characterized by a high capacity of continuous production of carbonate and carbonate ions through ureolysis [11,45]. Considering that the selected bacterial strain pasteurii DSM 33 is highly sensitive to environmental conditions [45], the pH value had be reduced to a value below 10, which was achieved by alternating immersion in distill water and drying in a dryer for 2 h each. After 20 washing cycles, the pH value was lo ered from 14 to 9.
According to the established experiment program, 45 samples were singled out. T system was divided into five groups that were treated under different conditions, shown in Table 2. Conditions 2 to 4 are those in control.  For the bio-stimulated healing process, the S. pasteurii DSM 33 strain was selected, which is characterized by a high capacity of continuous production of carbonate and bicarbonate ions through ureolysis [11,45]. Considering that the selected bacterial strain S. pasteurii DSM 33 is highly sensitive to environmental conditions [45], the pH value had to be reduced to a value below 10, which was achieved by alternating immersion in distilled water and drying in a dryer for 2 h each. After 20 washing cycles, the pH value was lowered from 14 to 9.
According to the established experiment program, 45 samples were singled out. The system was divided into five groups that were treated under different conditions, as shown in Table 2. Conditions 2 to 4 are those in control.
The samples were placed in Petri dishes so that the crack was on the upper side of the sample for easier healing agent application, with three repetitions in each group. Petri dishes with samples were sterilized for 1 h at 160 • C to eliminate any possibility of contamination. After sterilization, bacteria were applied in a laboratory at a constant temperature of 25 • C, which favors bacterial growth. The bacterial suspension was freshly prepared with sterile demineralized water. The nutrient medium was also freshly prepared from urea, NaHCO 3 , NH 4 Cl, and sterile demineralized water.
The nutrient medium and bacterial suspension were applied using a sterile pipette in the crack mid-line. Each sample of the first, second, and fifth groups was first given 50 µL of nutrient medium. After absorbing the nutrient medium, 50 µL of bacterial suspension was applied to each sample of the first and fifth groups ( Figure 2). Finally, the sterile demineralized water was added with a sterile pipette for up to 1/3 of the sample height in the first, second, and third groups, while the fresh Danube river water was added also for up to 1/3 of the sample height in the fourth and fifth group (10 mL for smaller 6 cm diameter Petri dishes and 15 mL for larger 10 cm diameter Petri dishes). This amount of water was optimal for maintaining system humidity. After setting up the system, the Petri dishes with the samples were transferred to the Binder Climate Chamber KBWF 240, Tuttlingen, Germany. In the climate chamber, the systems were kept under controlled conditions of a temperature of 30 • C and humidity of 70% until testing.

3
sterile demineralized water 7, 14, 28 4 Danube river water 7, 14, 28 5 bacterial suspension, nutrient medium, Danube river water 7, 14, 28 The samples were placed in Petri dishes so that the crack was on the upper side the sample for easier healing agent application, with three repetitions in each group. Pe dishes with samples were sterilized for 1 h at 160 °C to eliminate any possibility of co tamination. After sterilization, bacteria were applied in a laboratory at a constant temp ature of 25 °C, which favors bacterial growth.
The bacterial suspension was freshly prepared with sterile demineralized water. T nutrient medium was also freshly prepared from urea, NaHCO3, NH4Cl, and sterile d mineralized water.
The nutrient medium and bacterial suspension were applied using a sterile pipe in the crack mid-line. Each sample of the first, second, and fifth groups was first given μL of nutrient medium. After absorbing the nutrient medium, 50 μL of bacterial suspe sion was applied to each sample of the first and fifth groups ( Figure 2). Finally, the ster demineralized water was added with a sterile pipette for up to 1/3 of the sample height the first, second, and third groups, while the fresh Danube river water was added also f up to 1/3 of the sample height in the fourth and fifth group (10 mL for smaller 6 cm dia eter Petri dishes and 15 mL for larger 10 cm diameter Petri dishes). This amount of wa was optimal for maintaining system humidity. After setting up the system, the Petri dish with the samples were transferred to the Binder Climate Chamber KBWF 240, Tuttlinge Germany. In the climate chamber, the systems were kept under controlled conditions o temperature of 30 °C and humidity of 70% until testing.
The tests' durations were 7, 14, and 28 days after the experiments' setup. Non-d structive methods were selected to monitor changes in the bio-stimulated healing proce portable microscope imaging (described below-Section 2.5), and SEM analysis, as ready described in Section 2.1.

Identification of Cracks
Cracks were identified and non-destructively recorded using a portable Viti PRO10-3 microscope, Greenville, South Carolina Greenville, South Carolina, USA, whi can operate at 10 to 30× magnifications. The crack width was measured with the existi integrated microscope software. The tests' durations were 7, 14, and 28 days after the experiments' setup. Nondestructive methods were selected to monitor changes in the bio-stimulated healing process, portable microscope imaging (described below-Section 2.5), and SEM analysis, as already described in Section 2.1.

Identification of Cracks
Cracks were identified and non-destructively recorded using a portable Vitiny PRO10-3 microscope, Greenville, South Carolina Greenville, South Carolina, USA, which can operate at 10 to 30× magnifications. The crack width was measured with the existing integrated microscope software.

Image Classification
Image classification was performed in the MATLAB 2023A programming language using the Convolutional Neural Networks methodology-ResNet 50, which has already been pretrained to extract features from digital images based on the RGB model.

Basic Characteristics of the Convolutional Neural Networks (CNN) Model
Convolutional Neural Networks are an extended model of multi-layer artificial neural networks, which are developed by the addition of a new type of layer. They are predominantly used for image analysis (recognition and classification) [46].
Convolutional Neural Networks mimic the human visual system and may recognize complicated image features gradually. In the first layers of this network, simple attributes such as edges are detected. Based on what was detected in the previous, contours are recognized in the next layer. Contour detection is followed by the recognition of specific parts of the object so that the object can be classified in the final layer [47].
The principle behind Convolutional Neural Networks is reflected in the direct input of image data in raw pixels, for example, as a width of 32, height of 32, and depth of 3. The first task of a convolutional neural network model is to transform the image it receives into a computer-understandable format. More precisely, the input data is represented as a two-dimensional pixel intensity matrix in the case of a single-channel image or as a multi-dimensional matrix in the case of a multi-channel image. As a whole, in the input layer, the image data is entered into the network, and each entered pixel represents an input characteristic. Each pixel is described by its color as a color imaging system [48,49].
Data entry is followed by several alternating convolutional layers and pooling layers, for which alternation reduces their dimensions. The end result is images that are very small in size, each representing one matrix. The matrix values are arranged into a vector that represents the input to the fully connected network [46,47,50,51]. A schematic representation of the basic convolutional neural network on the example of a cement prism crack image from this research is shown in Figure 3.

Image Classification
Image classification was performed in the MATLAB 2023A programming language using the Convolutional Neural Networks methodology-ResNet 50, which has already been pretrained to extract features from digital images based on the RGB model.

Basic Characteristics of the Convolutional Neural Networks (CNN) Model
Convolutional Neural Networks are an extended model of multi-layer artificial neural networks, which are developed by the addition of a new type of layer. They are predominantly used for image analysis (recognition and classification) [46].
Convolutional Neural Networks mimic the human visual system and may recognize complicated image features gradually. In the first layers of this network, simple attributes such as edges are detected. Based on what was detected in the previous, contours are recognized in the next layer. Contour detection is followed by the recognition of specific parts of the object so that the object can be classified in the final layer [47].
The principle behind Convolutional Neural Networks is reflected in the direct input of image data in raw pixels, for example, as a width of 32, height of 32, and depth of 3. The first task of a convolutional neural network model is to transform the image it receives into a computer-understandable format. More precisely, the input data is represented as a two-dimensional pixel intensity matrix in the case of a single-channel image or as a multi-dimensional matrix in the case of a multi-channel image. As a whole, in the input layer, the image data is entered into the network, and each entered pixel represents an input characteristic. Each pixel is described by its color as a color imaging system [48,49].
Data entry is followed by several alternating convolutional layers and pooling layers, for which alternation reduces their dimensions. The end result is images that are very small in size, each representing one matrix. The matrix values are arranged into a vector that represents the input to the fully connected network [46,47,50,51]. A schematic representation of the basic convolutional neural network on the example of a cement prism crack image from this research is shown in Figure 3.

Convolutional Layer
The convolutional layer serves to extract the features of the input data using the filters located inside the convolutional layer [50].
The filter window moving starts from the upper left corner of the image and goes to the right by the same value. When we reach the edge, we move it downward, repeating the process. The size of the subsample depends on the size of the filter. In this study, the output volume is obtained based on several filters that make up this layer and are grouped along the axis [50,51,53,54].

Convolutional Layer
The convolutional layer serves to extract the features of the input data using the filters located inside the convolutional layer [50].
The filter window moving starts from the upper left corner of the image and goes to the right by the same value. When we reach the edge, we move it downward, repeating the process. The size of the subsample depends on the size of the filter. In this study, the output volume is obtained based on several filters that make up this layer and are grouped along the axis [50,51,53,54].

ReLu Layer
The ReLu layer is introduced after the convolutional layer as an additional layer to increase image non-linearity and reduce the calculation time. This layer serves to break the linearity imposed by passing the image through the convolutional layer [50,51].

Pooling Layer
The convolutional layer is followed by the pooling layer, in which the data dimension is reduced. This layer also has filters, but they have no weight here, unlike in the convolutional layer. Here, the role of the filter is to select the pixel that is within the dimensions covered by this layer in a given way. The maximum is often used as it works better in practice, although average values are also acceptable. The pooling layer reduces the dimension of the feature maps while retaining the most important sample information. After pooling, the image feature map is aligned in one column, resulting in a vector. The long vector obtained in this way serves as the input to the artificial neural network, which is also the final step [36,53].
In this study, both (max and average) methodologies are used as the pooling functions. The microscopic images from this experimental research showing bacterial healing in sterile demineralized water and Danube river water are visually very similar and can be classified into the same data set (Class 1). For the second data set (Class 2), images from mortar samples with sterile demineralized water without nutrient and bacterial culture were selected.
Considering that these are laboratory experiments, 51 images for each class were selected for the initial data set. This data set was augmented by rotating the images by 180 • . Validation was performed on a completely new dataset consisting of 18 images for each class.
Validation success can also be shown computationally through a precision expression adapted from [55]: where: TP-True Positive FP-False Positive TN-True Negative FN-False Negative F1-score and accuracy are used to precisely assess model performance, where F1-score takes into account precision and recall and it is calculated for both classes while accuracy represents the proportion of correct recognition of the entire sample.

Physical-Chemical Characteristics of Slag
Based on the control check of particle size distribution by the microsizer it was found that slag sample after crushing contains 72.15% of the −0.045 mm size class which corresponds to the standard requirements and can be used for mortar preparation. The results are shown in Figure 4.  The chemical composition is provided in Figure 5. The slag sample is dominated by the contents of SiO2 and CaO, which affects their chemical activity and volume constancy. The alkali content is low, which is advantageous as their presence is undesirable in cement production. The share of MgO in the slag is increased compared to the allowed 5%. A higher quantity of MgO can affect in addition to volume instability, the appearance of cracks [56] in mixtures with cement, which demands special attention in experimental work. The measured slag pH value is 8.
In addition to the high quantities of non-crystallized material, a smaller amount of akermanite (Ak) mineral was identified. The powder diffractogram is shown in Figure 6. The chemical composition is provided in Figure 5.  The chemical composition is provided in Figure 5. The slag sample is dominated by the contents of SiO2 and CaO, which affects the chemical activity and volume constancy. The alkali content is low, which is advantageou as their presence is undesirable in cement production. The share of MgO in the slag increased compared to the allowed 5%. A higher quantity of MgO can affect in additio to volume instability, the appearance of cracks [56] in mixtures with cement, which d mands special attention in experimental work. The measured slag pH value is 8.
In addition to the high quantities of non-crystallized material, a smaller amount akermanite (Ak) mineral was identified. The powder diffractogram is shown in Figure   Figure 5. Chemical composition of the slag sample.
The slag sample is dominated by the contents of SiO 2 and CaO, which affects their chemical activity and volume constancy. The alkali content is low, which is advantageous as their presence is undesirable in cement production. The share of MgO in the slag is increased compared to the allowed 5%. A higher quantity of MgO can affect in addition to volume instability, the appearance of cracks [56] in mixtures with cement, which demands special attention in experimental work. The measured slag pH value is 8.
In addition to the high quantities of non-crystallized material, a smaller amount of akermanite (Ak) mineral was identified. The powder diffractogram is shown in Figure 6.
SEM microphotographs of the initial slag sample are shown in Figure 7. A typical slag appearance can be explained by a porous structure with open pores, on the surfaces of which certain crystals can be observed, which, according to the available literature, can be classified as akermanites [57,58].
Based on the detailed sample characterization and the obtained results, it was concluded that the tested slag sample can be used as an additive for cement mortars after micronization. SEM microphotographs of the initial slag sample are shown in Figure 7. A typical slag appearance can be explained by a porous structure with open pores, on the surfaces of which certain crystals can be observed, which, according to the available literature, can be classified as akermanites [57,58]. Based on the detailed sample characterization and the obtained results, it was concluded that the tested slag sample can be used as an additive for cement mortars after micronization.   Based on the detailed sample characterization and the obtained results, it was concluded that the tested slag sample can be used as an additive for cement mortars after micronization.

Physical-Chemical Characteristics of Mortar
A new type of cement was prepared with the addition of slag in an amount of 10%. After the preparation and curing, with and without slag, in a period of 2, 28, and 240 days, the mortar samples were tested for flexural and compression strength. In addition, the setting time of both cement mixtures was determined and their chemical composition was analyzed. The results of the geomechanical tests of standard and laboratory sample prisms of the new mortar system are provided in Table 3 and Figure 8. the mortar samples were tested for flexural and compression strength. In addition, the setting time of both cement mixtures was determined and their chemical composition was analyzed. The results of the geomechanical tests of standard and laboratory sample prisms of the new mortar system are provided in Table 3 and Figure 8.  The standard does not prescribe flexural strength values but they are always provided in reports, while compressive strength values are an important parameter that is tested and defined by the standard or based on the Rulebook on Cement Quality [59]. The compressive strength decreases with the addition of slag, but in both systems, the strength increases with the hydration time. By comparing the values obtained for standard and laboratory prisms, it can be concluded that the compressive strength results for standard prisms fully follow the compressive strength values for the laboratory prisms. Thus, the results are comparable. This conclusion is a good indicator that the following experiments can fully rely on laboratory samples and raw materials saving.
The setting time is shown in Table 4.  The standard does not prescribe flexural strength values but they are always provided in reports, while compressive strength values are an important parameter that is tested and defined by the standard or based on the Rulebook on Cement Quality [59]. The compressive strength decreases with the addition of slag, but in both systems, the strength increases with the hydration time. By comparing the values obtained for standard and laboratory prisms, it can be concluded that the compressive strength results for standard prisms fully follow the compressive strength values for the laboratory prisms. Thus, the results are comparable. This conclusion is a good indicator that the following experiments can fully rely on laboratory samples and raw materials saving.
The setting time is shown in Table 4. The new slag mortar system has a total setting time of 108 min, which is shorter than the setting time of CEM I (alite) mortar, which is 126 min, although it takes longer for the setting to start.
The chemical composition of the alite and the new mortar system is shown through silicate analysis provided in Table 5. The chemical composition of the alite and the new mortar system (Az 10 ) is shown based on the silicate analysis provided in Table 5. The results of the silicate analysis show that the annealing loss in both systems is below the value prescribed by the Rulebook [60]. The sulfate content (as SO 3 ) is below the limit value for both types of cement, so there is no possibility of subsequent sulfate corrosion. The content of CaO is much higher in the slag system, which originates from the slag itself in which it is present with 40.82% and can negatively affect the volume stability of this cement system. The total alkali content expressed as Na 2 O + K 2 O is rather high, but these values do not exceed the limit (<1.5). The presence of alkali in the cement can lead to a later reaction with the aggregate in the concrete, causing a decrease in the structure's strength [60].

Chemical Characteristics of Danube River Water
Danube river water used in the experiments was tested for pH, total nitrogen, total phosphorus, total organic carbon, ammonia, nitrates, nitrites, chlorides, COD (Chemical Oxygen Demand), BOD 5 (Biochemical Oxygen Demand), sulfates, phosphates, dissolved oxygen, fluorides, hexavalent chromium, calcium, magnesium, manganese, lead, zinc, total chromium, cadmium, copper, mercury, arsenic, and iron (Table 6) [61]. The analysis determined the presence of all tested parameters in values below the maximum allowed, i.e., reference values, so that no negative influence of water was expected in further experiments of the bacterial healing process.

Bio-Stimulated Healing of Cracks
After setting up the bacterial experiments, the changes in the cracks were monitored with a portable microscope after 7, 14, and 28 days ( Figure 9 shows the changes after 7 days under three characteristic conditions). All mean values of the change in cracks provided in Figure 9 are also shown tabularly (Table 7) and graphically ( Figure 10).

Bio-Stimulated Healing of Cracks
After setting up the bacterial experiments, the changes in the cracks were monitored with a portable microscope after 7, 14, and 28 days ( Figure 9 shows the changes after 7 days under three characteristic conditions). All mean values of the change in cracks provided in Figure 9 are also shown tabularly (Table 7) and graphically ( Figure 10).    Although according to the literature data bacteria reach their precipitation maximum after 7 days [45], when they can create a sufficient amount of calcium carbonate to close a 0.5-0.8 mm wide crack [13], the most favorable healing values were recorded with the new slag mortar system after 14 days in both waters, with efficiency being 32.02% and 42.74% for sterile demineralized and Danube river water, respectively.  Although according to the literature data bacteria reach their precipitation maximum after 7 days [45], when they can create a sufficient amount of calcium carbonate to close a 0.5-0.8 mm wide crack [13], the most favorable healing values were recorded with the new slag mortar system after 14 days in both waters, with efficiency being 32.02% and 42.74% for sterile demineralized and Danube river water, respectively.
Bio-stimulated healing rates after 7 and 28 days ranged between 22.39% and 28.12%, respectively. Healing was also recorded under bacteria-free conditions, namely, in sterile demineralized water at 20.99% and in Danube river water at 29.99% with initial cracks of about 0.5 mm, which can be explained by the process of autogenous healing due to unreacted mortar and slag grains [13,15]. Figure 11a,b shows SEM images of the sample with bacteria in sterile demineralized water at 1000× magnifications and the characteristic morphology of calcite crystals that started the process of bio-stimulated healing in the cracks as the result of bacterial precipitation. The appearance of the crystals is confirmed by previous studies [62]. The EDS spectrum in Figure 11c,d confirms the presence of calcium, oxygen, and carbon, which once again indicates that it is calcium carbonate. Previously published studies show that the main healing product is also calcium carbonate [17], which was confirmed in this research. SEM images of the sample (Figure 12a) in the sterile demineralized water without nutrient and bacterial culture show that the crack has not self-healed and the crystals at 500× and 2000× magnifications (Figure 12b,c) are characteristic of slag mortars and are in line with previously published studies [63]. The SEM images and EDS of the sample treated with bacteria in Danube river water ( Figure 13) also confirmed the precipitation of calcium carbonate as the main compound that fills the cracks and leads to the healing process. Calcium carbonate crystals are larger with clear rosettes, unlike crystals formed in sterile demineralized water where the crystals are smaller and more uniform. The SEM images and EDS of the sample treated with bacteria in Danube river water ( Figure 13) also confirmed the precipitation of calcium carbonate as the main compound that fills the cracks and leads to the healing process. Calcium carbonate crystals are larger with clear rosettes, unlike crystals formed in sterile demineralized water where the crystals are smaller and more uniform.

The success of Crack Image Classification Using CNN
ResNet50 program package within Matlab2023A was used to classify images of cracks in the new slag mortar system after a period of bacterial treatment in sterile demineralized and Danube river water.
The microscopic images showing bacterial healing in sterile demineralized water and Danube river water are visually very similar and can be classified into the same data set (Class 1). For the second data set (Class 2), images from mortar samples with sterile demineralized water without nutrient and bacterial culture were selected.
Each class had 102 input images. After entering the input data into the network, the program extracts one image from each class, as shown in Figure 14. Images in Figure 14 contain data about measurements. The input image dataset of the model was without them.

The success of Crack Image Classification Using CNN
ResNet50 program package within Matlab2023A was used to classify images of cracks in the new slag mortar system after a period of bacterial treatment in sterile demineralized and Danube river water.
The microscopic images showing bacterial healing in sterile demineralized water and Danube river water are visually very similar and can be classified into the same data set (Class 1). For the second data set (Class 2), images from mortar samples with sterile demineralized water without nutrient and bacterial culture were selected.
Each class had 102 input images. After entering the input data into the network, the program extracts one image from each class, as shown in Figure 14. Images in Figure 14 contain data about measurements. The input image dataset of the model was without them.

The success of Crack Image Classification Using CNN
ResNet50 program package within Matlab2023A was used to classify images of cracks in the new slag mortar system after a period of bacterial treatment in sterile demineralized and Danube river water.
The microscopic images showing bacterial healing in sterile demineralized water and Danube river water are visually very similar and can be classified into the same data set (Class 1). For the second data set (Class 2), images from mortar samples with sterile demineralized water without nutrient and bacterial culture were selected.
Each class had 102 input images. After entering the input data into the network, the program extracts one image from each class, as shown in Figure 14. Images in Figure 14 contain data about measurements. The input image dataset of the model was without them.  The CNN had 177 nodes with 192 connections classified into input, convolutional, pooling, fully connected, ReLu, and output layers. For network training and the test, the program selected 62 (30%) and 142 (70%) input images, respectively. The first confusion matrix with the number of images obtained by the test was 59 12 11 60 After reprocessing the data through the network, a generated matrix was obtained, shown with accuracy in relation to the number of images from the test (Figure 15): After reprocessing the data through the network, a generated matrix was obtained, shown with accuracy in relation to the number of images from the test (Figure 15): Figure 15. Generated matrix.
The final classification accuracy using this deep learning model was 91.55%. To validate the classification results, a new data set with 18 images for each class was selected. After validation, a deviation was obtained in the class with bacteria for one input image (5.5%), while in the class without bacteria the deviation for two input images was (11%).
Validation success was also obtained from Equations (1) to (4) and the results are provided in Table 8. The characteristics obtained in this way confirmed the obtained validation values and amount at 91.55%.
Based on the obtained CNN network data, it can be concluded that the model is suitable for the classification of images of changes in mortar sample cracks.

Conclusions and Outlook
The conclusion of these complex studies is that up to 10% of blast furnace slag can be successfully added to mortars without jeopardizing the geomechanical and chemical properties of the mortar. Further research on the bio-stimulated healing process confirmed that this quantity of slag is optimal as in combination with bacteria, it promotes autogenous healing. For the bio-stimulated healing process, the S. pasteurii DSM 33 strain was selected, which is characterized by a high capacity for continuous production of carbonate and bicarbonate ions through ureolysis. Although the bacteria reach their precipitation maximum after 7 days, current research has proven that in controlled conditions of humidity and temperature, greater healing efficiency can be achieved with a longer aging time (14 and 28 days). According to the knowledge of the authors of this work, such research for the first time included Danube river water which, based on SEM images, has a favorable effect on the formation of calcium carbonate crystals, making healing efficiency about 10% higher compared to the conditions of bacteria in sterile demineralized water. The beginning of autogenous healing was recorded in control conditions, mortar samples The final classification accuracy using this deep learning model was 91.55%. To validate the classification results, a new data set with 18 images for each class was selected. After validation, a deviation was obtained in the class with bacteria for one input image (5.5%), while in the class without bacteria the deviation for two input images was (11%).
Validation success was also obtained from Equations (1) to (4) and the results are provided in Table 8. The characteristics obtained in this way confirmed the obtained validation values and amount at 91.55%.
Based on the obtained CNN network data, it can be concluded that the model is suitable for the classification of images of changes in mortar sample cracks.

Conclusions and Outlook
The conclusion of these complex studies is that up to 10% of blast furnace slag can be successfully added to mortars without jeopardizing the geomechanical and chemical properties of the mortar. Further research on the bio-stimulated healing process confirmed that this quantity of slag is optimal as in combination with bacteria, it promotes autogenous healing. For the bio-stimulated healing process, the S. pasteurii DSM 33 strain was selected, which is characterized by a high capacity for continuous production of carbonate and bicarbonate ions through ureolysis. Although the bacteria reach their precipitation maximum after 7 days, current research has proven that in controlled conditions of humidity and temperature, greater healing efficiency can be achieved with a longer aging time (14 and 28 days). According to the knowledge of the authors of this work, such research for the first time included Danube river water which, based on SEM images, has a favorable effect on the formation of calcium carbonate crystals, making healing efficiency about 10% higher compared to the conditions of bacteria in sterile demineralized water. The beginning of autogenous healing was recorded in control conditions, mortar samples in demineralized water without bacteria and nutrients. Here, the efficiency ranged from 16.75% to 20.99%. Considering the success of the experiments and the multitude of recorded microscopic changes, images were also classified by Convolutional Neural Networks. Convolutional Neural Networks are widely used in practice for the classification of various types of images but according to the available literature, such an approach is not recorded for images of crack bio-stimulated healing in new types of mortar. As a result of the classification, a high percentage of accuracy of 91.55% was obtained, while during the validation, the deviation was as low as 5.5% in the class with bacteria and 11% in the class without bacteria.
Modeling and simulation of the phenomena underlying bio-stimulated healing mortar may provide a complementary tool for the experimental efforts, and our future research will be based on the following issues:

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.