Next Article in Journal
An Improved System-Level Calibration Scheme for Rotational Inertial Navigation Systems
Next Article in Special Issue
Deep-Learning-Based Context-Aware Multi-Level Information Fusion Systems for Indoor Mobile Robots Safe Navigation
Previous Article in Journal
A Secure Online Fingerprint Authentication System for Industrial IoT Devices over 5G Networks
Previous Article in Special Issue
Method for Determining Treated Metal Surface Quality Using Computer Vision Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiclass Level-Set Segmentation of Rust and Coating Damages in Images of Metal Structures

1
Department of Manufacturing Systems, Faculty of Mechanical Engineering and Robotics, AGH University of Science and Technology, 30-059 Kraków, Poland
2
Department of the Theory of Wave Processes and Optical Systems of Diagnostics, Karpenko Physico-Mechanical Institute of the NAS of Ukraine, 5 Naukova St., 79060 Lviv, Ukraine
3
Department of Computer Sciences, University of Lodz, Pomorska Str. 149/153, 90-236 Lodz, Poland
4
Department of Corrosion and Corrosion Protection, Karpenko Physico-Mechanical Institute of the NAS of Ukraine, 5 Naukova St., 79060 Lviv, Ukraine
5
Department of Computerized Engineering, Ivano-Frankivsk National Technical University of Oil and Gas, 76019 Ivano-Frankivsk, Ukraine
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(19), 7600; https://doi.org/10.3390/s22197600
Submission received: 3 September 2022 / Revised: 30 September 2022 / Accepted: 5 October 2022 / Published: 7 October 2022
(This article belongs to the Special Issue Sensor Technology for Intelligent Control and Computer Visions)

Abstract

:
This paper describes the combined detection of coating and rust damages on painted metal structures through the multiclass image segmentation technique. Our prior works were focused solely on the localization of rust damages and rust segmentation under different ambient conditions (different lighting conditions, presence of shadows, low background/object color contrast). This paper method proposes three types of damages: coating crack, coating flaking, and rust damage. Background, paint flaking, and rust damage are objects that can be separated in RGB color-space alone. For their preliminary classification SVM is used. As for paint cracks, color features are insufficient for separating it from other defect types as they overlap with the other three classes in RGB color space. For preliminary paint crack segmentation we use the valley detection approach, which analyses the shape of defects. A multiclass level-set approach with a developed penalty term is used as a framework for the advanced final damage segmentation stage. Model training and accuracy assessment are fulfilled on the created dataset, which contains input images of corresponding defects with respective ground truth data provided by the expert. A quantitative analysis of the accuracy of the proposed approach is provided. The efficiency of the approach is demonstrated on authentic images of coated surfaces.

1. Introduction

The use of protective coating is the most common way to prevent damage to the surface of different construction materials. The type of protective coating depends on the material itself and the environment it operates in. Many studies were conducted to investigate their properties and ways of monitoring their state during operation. The availability of metal, oxide, composite and non-metallic coatings allows for rationally combining the base and coating materials’ properties. The most frequently used coatings are paint coatings [1,2,3,4,5], polymers [6,7,8], and biopolymer films [9,10]. All these types of widespread coatings are used in various fields of technology and medicine. In addition, paint coatings are also used as sensors to determine the temperature and coefficient of thermal conductivity [11,12], pressure, and deformations in the studied samples [13,14].
Design, technological, and operational methods are used to provide long-term operation of coated products. Design methods include the selection of base and coating materials, conduction of corrosion [15,16,17], and tribocorrosion tests [18]. In particular, the scientists [15,16] apply microelectrochemical studies of the stressed state of the metal on its structural components and crack-like defects, and in [17], the corrosion behavior of coated carbon steels in salt water is investigated. Porosity studies of coatings [19] and tribological tests are carried out using computer image processing [20,21,22]. For example, researchers [20] used the image processing technique to develop a method of tribotechnical testing of coatings under conditions of wear by unfixed abrasive; and in works [21,22], a photogrammetric approach was used to study the wear process and estimate volume loss. Strength tests [23,24] as well as modeling and performance of thermal calculations of coatings [25,26], are also performed.
Analytical methods of stress analysis in layered coatings under local load [27,28,29], studies of the influence of flexible [30,31] and composite [32,33,34] coatings on the limited state of cracked plates and shells are worth considering. In addition, the coating of damaged surfaces can be treated as the healing of cracks by injection technologies with pliable aggregates [35,36,37] or non-contrast materials [38,39].
It is necessary to consider technological heredity to ensure the product’s functioning throughout its life cycle when preparing the surface for coating [40,41,42]. Technologies for applying environmentally friendly hydrophobic, photocatalytic, and antimicrobial coatings that do not cause environmental pollution are being developed [43,44,45]. Operational methods include surface cleaning and repair of damaged areas of coatings. It is crucial to establish a reasonable period for carrying out such works.
Automating different types of object surface inspection tasks draws more attention to developing image processing techniques. Such automation usually implies the acquisition of inspected object images with their subsequent computer processing. Object images can be taken remotely, avoiding direct visual inspection. The growing accessibility of autonomous drones allows the visual inspection of distant, large, or hard-to-reach objects. One such inspection task is the monitoring of the state of coated surfaces. In this scope, we mainly focus on painted steel surfaces of infrastructure objects (oil tanks, bridges, high voltage power lines towers, etc.). Such coated surfaces can be subjected to various possible damages that may lead to further structural degradation and, if detected, ought to be dealt with. In this work, we restrict our research to three types of such damages. Paint cracks and flaking are two coating-related damages, and the third is rust damage affecting steel surfaces.
Examples considered in this paper damages are shown in Figure 1. Paint cracking is the defect of damage to the structural integrity of paint coating in the form of a crack that allows access to air and humidity on the steel surface. Flaking is the damage where some local region of the steel surface loses its protective paint coating but has no signs of rust damage. Moreover, finally, rust damage is a defect where the local region of the steel surface loses its protective paint coating and is affected by corrosion.
Metal rusting usually causes the protective coating to break down and thus leaving distinguishable marks on the inspected object’s surface. The significant contrast between rust damage and protective coating colors allows the segmentation of the damaged areas based on the color features only. Numbers of articles were dedicated to the segmentation of color images. Many of them were using k-means [46], Gaussian mixture based models (GMM) [47], graph-based approaches [48,49], neural networks [50,51,52,53], support vector machines (SVM) [54,55,56], shape index [57], level set models [58,59] etc. A significant amount of research has been devoted to rust images.
Digital image processing and pattern recognition are powerful tools in non-destructive testing. A comprehensive survey of the application of image processing to assess material degradation was made by Xia et al. [60]. The authors started with a description of basic image types and standard image pre-processing methods. Considerable attention was focused on the processing methods of corrosion images, in particular model-based measurements, structural methods, statistical parameters, co-occurrence of matrix-based features, and transform-based models. The assessment of material degradation, including different types of corrosion (pitting, uniform, undercoating, stress cracking) and degradation of the organic coatings, was considered. The cooperation of image processing with other rust detection methods was reviewed. Modern challenges in rust detection using image processing are listed, and the ways of problem solutions, especially by artificial intelligence, machine learning, and deep learning, are outlined.
Jardim et al. [61] proposed an approach to color image segmentation consisting of region extraction by successive combining of k-means clustering and watershed methods. The experimental results and comparison with other methods are provided on both graphic and natural images. The proposed algorithm is stated to cope well with image databases with high variability.
Cluster-weight and group-local feature-weight learning in fuzzy C-means algorithm (CGFFCM) was proposed to cope with image segmentation task [62]. This method is based on clustering. The features from three groups (local homogeneity, color, and structure) are extracted and used by CGFFCM. The imperialist competitive algorithm (ICA) optimizes the weighted feature process. The method applies to images of different semantics.
Katsamenis et al. developed a method for corrosion localization and classifying rust grades based on a U-Net convolutional neural network [63]; the proposed method consists of three steps. The first step is the segmentation of corroded regions; the second is contour refining using the data projection scheme, and the third is the rust grade classification. Experienced engineers segmented and assigned corrosion grades to 400 images. They were used for training the U-Net models of the first layer. The performance was evaluated using such metrics as accuracy, precision, recall, F1-score, and intersection over the union. The proposed SLPAC U-Net demonstrated improvement in comparison with k-means and GMM methods.
Khayatazad et al. detected corrosion regions on the steel structures using roughness and color [64]. They measured image uniformity on the base of the grey-level co-occurrence matrix. Color images were converted to greyscale with 8 levels of grey. The authors used the HSV color space and normalized histogram of H and S to describe corrosion colors. The performance was evaluated using recall and precision metrics. The training dataset contained eight images. Authors categorized corroded areas in images with an average recall of 85%.
Not many studies have analyzed defects different from rust on painted steel surfaces using image processing. For example, Zhang et al. used Michelson interferometer for paint flakes detection and modification of Chan and Vese’s method of flake segmentation [65].
Rezaie et al. demonstrated the advantages of a deep convolutional neural network over thresholding the maximum principal strain map for segmenting cracks in the images of stone walls [66].
Abas and Martinez used mathematical morphology and grid-based automatic thresholding for crack segmentation. Classification is based on such features as orientation and length of line segments [67].
A crack detection approach to monitoring the civil infrastructure is proposed [68]. Technical elements are discussed to optimize the image acquisition process. The morphological operator was used for crack-like pattern segmentation. The feature extraction process was fulfilled by linear discriminant analysis (LDA). The neural networks, SVM, and a nearest-neighbor classifier were used. The representation of detected cracks was done with a multi-scale crack map. The proposed approach was tested on the database of 220 real concrete cracks and 200 non-crack images.
A novel deep crack segmentation network was proposed [69] to succeed in two mutually exclusive tasks: increasing speed and accuracy. The feature extraction consists of two directions—morphological and shallow detail. The proposed method’s effectiveness in comparison with state-of-the-art CNN-based networks was justified based on three public datasets.
Our previous works [70,71,72,73,74] were dedicated to rust damage segmentation under conditions that can distort its damage percentage assessment. They were focused on the detection of one type of damage—rust. In particular, rust detection based on HSV image color model [71], the use of the single-scaled retinex method [72], the influence of color restoration based on a color checker [73], and the reduction of shadow effects [74] algebraic model with an asymmetric characteristic [75] and methods of logarithmic type image processing [76] as well as the application of inhomogeneity inforced piecewise smooth model [77] for image segmentation were considered. A dimensionality reduction PCA technique was applied in [78] for the rust segmentation in images obtained in irregular lighting conditions.
The majority of reviewed papers are dedicated to the detection of certain types of defects. Most of them focus purely on rust detection or paint damage separately. In the case of real-world applications of such approaches to regular inspection of industrial structures, it is reasonable to detect simultaneously protective coating damages. The reason for that is that even in case of the absence of explicitly visible rust damage, there can be damage to the protective paint coating. Such coating damages are the signs of possible future rusting of the steel surface. Thus detection and treatment of such defects in the early stages can prevent further rusting of the underlying steel surface.
The most common defects of protective coating (relevant for developing rust damage) are paint cracks and paint flaking. Thus, this work aims to develop the approach for detecting multiple damages (of the steel surface and protective coating) within one computational framework. To achieve this goal, the following tasks should be solved: construction of the optimization multiclass segmentation method based on a new regularizer; application of advanced techniques on the image dataset; comparison of segmentation results with ground truth data and calculation of segmentation accuracy.
The main innovation of this paper is the introduction of the label-dependent penalty term that incorporates segmentation results of multiclass SVM and valley detection methods for refined, resulting multiclass segmentation. To the best of our knowledge, it is the first time that three types of damage (coating crack, coating flaking, and rust damage) are detected within one computational framework.

2. Materials and Methods

The proposed approach suggests a combination of machine learning and image processing methods for multiclass segmentation of different defect types. Development, testing and validation of the considered approach were done based on the dataset of images of different defect types.
We used a set of 150 images with a resolution of 480 × 640. The images in the database show coatings of different colors, as well as different types of their damage—coating crack, coating flaking, and rust damage. There are images with one type of defect presented on it and images with multiple types of damage in the dataset. Image examples are presented in Figure 1. Painted steel surfaces (low carbon structural steel St3 State Standard GOST 380–2005 with glyphtal enamel as a protective coating) of infrastructure objects of long-term operation in a moderate climatic zone in the open air were analyzed. All images were acquired in conditions of natural lightning. Images were saved in the RGB color space. Digital camera Canon PowerShot S95, ISO-speed ISO80, 10.0 megapixels was used with sRGB color gamut and 6.0–22.5 mm focal length.
A described set of images was used to create a dataset to train the proposed model and validate obtained results. The training dataset consists of several acquired input images with respective ground truth data. Ground truth data consist of manually segmented input images under the guidance of an expert with more than 40 years of experience in corrosion engineering. Then we made the quantitative comparison of the developed method with an expert’s evaluation. We calculate an error in the segmentation map obtained by the developed method compared to ground truth data.
The proposed approach is shown schematically in Figure 2.
The proposed method consists of two stages that are briefly summarized below.
The first stage is an initial segmentation of the input image. For this purpose, two different approaches are used:
(a)
The SVM is trained in a supervised learning mode based on a previously labeled training set with ground truth data for rust, flacking, and background classification. SVM was chosen for its ability to build an optimal decision hyperplane that separates classes. In this work, we use a multiclass SVM with a one against all approach. It is used as a simple segmentation method only for three-class classification (background, rust, and flaking). These three classes are discriminated by multiclass SVM because their features do not overlap in RGB color space.
(b)
We used a different approach for the primal segmentation of paint cracks. The reason for that is that they do not have unique color features. As a result, paint cracks in RGB color space overlap with the other three classes making color features insufficient for classification. The characteristics that distinguish paint cracks are more of a geometric nature. We use a modified “valleys” detection method as a primal segmentation method for that purpose.
The second stage of the approach suggests the fusion of outputs of the first stage to produce the final segmentation map.
In this work level-set approach is used to aggregate results of the initial segmentation of background, rust, and flaking by multiclass SVM and segmentation of paint cracks by the valley detection method. The proposed in this paper level-set approach uses a specially developed label penalty term to aggregate the results of two primal classifiers and to produce a final segmentation map.

3. Results

3.1. Level-Set Method for Image Segmentation

The level-set method [79,80] is an optimization-based approach widely used for image processing tasks. It is used in variety of different formulations [80,81,82,83,84,85,86] and solves number of image processing problems [87,88,89]. It allows the formulation of image processing tasks in terms of energy minimization. Therefore it is possible to design different constraints and properties imposed on a developed image processing method.
Let u 0 : Ω it be a greyscale image and Ω 2 be an image domain. The level-set method allows representing the image partition using a level-set function (LSF) φ x , y where x , y Ω spatial coordinates are used. The contour C that divides the input image u 0 into disjoint segments is represented via LSF φ x , y . More formally C is represented by a zero level-set of φ x , y and defined as C = x , y Ω :   φ x , y = 0 . Thus, partitioning the overall image domain Ω into two disjoint regions is defined as follows Ω 1 = x , y :   φ x , y > 0 Ω 2 = x , y :   φ x , y < 0 .
Modern level-set developments take their origin from the research by Mumford and Shah [79]. In general, the solution of the Mumford–Shah problem is a complicated task that makes it less flexible for various image processing tasks.
Chan and Vese [80] simplified the original problem [79] by introducing a variational formulation of the original Mumford-Shah functional for a limited number of image partitions. For the two-class image segmentation Chan and Vese’s functional looks as follows
F c 1 , c 2 , φ = μ Ω H φ d x d y + λ Ω u 0 x , y c 1 2 H φ d x d y + λ Ω u 0 x , y c 2 2 1 H φ d x d y ,
where μ   and   λ are coefficients, H φ represent Heaviside function, c 1 and c 2 represent the mean of greyscale values for Ω 1 and Ω 2 , respectively. In [90] authors developed an additional penalty term R p = ν Ω p H φ d x d y , where ν   is the coefficient, p is the potential function defined as p s = 1 2 s 1 2 . It forces LSF φ ( x , y ) to maintain properties of the signed distance function for better convergence. With additional penalty term R p expression (1) can be represented in terms of energy minimization as follows
E = E d a t a + E c + R p ,
where E d a t a = λ i = 1 N Ω e i M i x , y d x d y , E c = μ Ω H φ d x d y , N is a number of segmentation classes, e i = u 0 x , y c i 2 and M i x , y is a membership function M i ( x , y ) = 1 ,   if   ( x , y ) Ω i 0 ,   if   ( x , y ) Ω i , which, in the case of (1), is defined through H φ as M 1 x , y = H φ , M 2 x , y = 1 H φ .
The term E c acts as a penalty for the length of the contour C , to ensure its smoothness. While E d a t a is a data term that acts as a similarity measure of an image u 0 and its model is represented by model parameters c i . Thus segmentation of the image u 0 is accomplished by finding such function φ ( x , y ) and constants c 1 and c 2 that minimize the energy functional E (2).
The common approach to energy functional E minimization is through the solution of the Euler–Lagrange equation that leads to the following
φ t = E φ .
Thus the solution to the minimization problem of (1) in terms of (3) is as follows
φ t = ν 2 φ d i v φ | φ | + μ δ ε ( φ ) d i v φ | φ | + δ ε ( φ ) e 1 e 2 ,
where δ ε z = 1 π ε ε 2 + z 2 is the regularised representation of Dirac delta function In the case where the image segmentation task requires the use of more complicated features than greyscale pixel values, it was proposed in [91] to use the negative logarithm of the probability density function as a data term
e i = log p i x , y ,
where p i x , y represents the probability density function that describes the model of i -th class.
In this work, we consider the image segmentation task for the case of four classes ( N = 4 ) . The distinguished classes present three types of damage described above with undamaged coating being the fourth one. Originally in [81], segmentation of multiple classes by (1) requires the use of more than one LSF and is referred to as the multiphase level-set approach. Extension of the model (1) for four class cases requires the usage of two LSFs.
Instead of a classical multiphase level set, we used a slightly different approach for our work. Similarly to [92], we used multiple level sets—a separate LSF for every class. Their codependent optimization is performed through the so-called label term Ψ .
The described model is flexible and allows the construction of multiclass segmentation models with various data- and penalty terms. Such properties make it suitable for the design of effective image segmentation techniques.

3.2. Energy Terms for Defect Segmentation

The color of rust is mainly defined by the color properties of its chemical components and occupies a certain domain in the color space. It makes it possible to build a segmentation method using RGB features only for the rust segmentation task. Background and such defects as paint flaking also can be separated by their color features only. For that purpose we used three-dimensional feature vector ( r , g , b ) , where r ,   g and b are “red”, “green”, and “blue” values of pixel color components from the RGB color model, respectively.
Paint cracking has to be segmented by a different method. The main reason for that is that the color features of paint cracking can be similar to rust damage or steel surface. Thus cracking requires additional features to be used for successful segmentation. Those features should account structural characteristics of the cracks. For this purpose, we used a well-known valley detection approach based on scale-space representation [93].
Unfortunately, there is an overlap (in feature space) between regions with flaking, rust damage and paint cracking. The main reason is that the cracking region color can be close to either rust color or color of the steel surface. Such overlapping leads to the additional error of segmentation due to emerging ambiguity.
One of the main contributions of this article is the introduction of the label-dependent penalty term Ψ . It allows incorporation segmentation results for two different classifiers (multiclass SVM and valley detection method) and resolves the problem of their overlapped segmentations. The proposed penalty term Ψ is defined as follows
Ψ = i = 1 N j = 1 | i j N Ψ i j   ,
where Ψ i j = Ω M i M j G i j d x d y ; M i and M j are indicator functions and are defined as M i = H φ i and M j = H φ j ; G i j is an intersection potential to be defined below. The derivative of Ψ i j is defined as
Ψ i j φ i = δ ε ( φ i ) G i j H φ j .
After initialization of all LSF φ i based on the results of preliminary segmentation methods (SVM and valley detection), there is no need for further use of data term E d a t a in (2). Given all the above we introduce the final model as follows
E = E c + R p + Ψ .
One should observe that solution (4) of minimization problem (1) in terms of (3) contains the gradient of the function. The solution of (8) contains the gradient as well. It characterizes the function’s behavior along the direction in which it is increasing most rapidly. But it is possible to replace the gradient with a directional derivative starting from (1) and to study a similar problem along a direction. There are many papers analyzing the influence of directional derivatives on the properties of such functions [94,95,96].
The solution to (8) is the next
φ i t = ν 2 φ i d i v φ i | φ i | + μ δ ε ( φ i ) d i v φ i | φ i | + j = 1 | i j N δ ε ( φ i ) G i j H φ j .
The product M i M j in (6) defines the intersection of i -th and j -th segments. We define the intersection potential G i j as follows
G i j = k = 1 N l = 1 | k l N P k l M i , M j   ,
where the function P k l is defined for every intersection M i M j separately. In our case, we have to consider only three intersection cases: the intersection of crack segmentation with the segmentation of all other classes. This is because we can have ambiguous segmentation only of paint crack (which is segmented with a valley detection approach) and other classes: rust, flacking, and background (which are defined by multiclass SVM and thus do not intersect). Therefore non-zero are only Ψ 14 , Ψ 41 , Ψ 24 , Ψ 42 , Ψ 34 and Ψ 43 . Here values of indexes i and j represent respective classes as follows: 1—“rust”, 2—“paint”, 3—“flaking”, 4—“paint crack”. As mentioned previously, the crack defect poses the main problem in terms of segmentation error based strictly on color features. Thus the main attention was paid to the design of Ψ i j for this type of defect, which in turn is fully defined through values of P k l . For our segmentation goals, we designed the necessary P k l in the following way
P 14 = s C 1 C 2 + 2 C 4 C 1 , P 41 = s C 1 C 2 2 C 4 C 1 , P 24 = 0.33 , P 34 = s C 4 C 3 , P 43 = s C 4 C 3 ,
where C i is defined as C i = K M i , s is a coefficient, K is an averaging kernel, and defines convolution operator.
Let us consider the reasoning behind the choice of form of some P k l . Every P k l is multiplied by M i M j . Therefore it contributes to the model’s evolution only in the area of the intersection of i -th and j -th segments. It is important to construct P k l in a way it would penalise undesirable segmentation as the goal of minimization of (8) is to minimize intersections between any segments M i and M j for i j . For example, consider the shape of P 34 (the intersection of paint flaking and paint crack segments). It depends on values of C i , which is average area of class i around every point x , y . Values of C 3 inside flaking area are mostly higher than values of C 4 thus penalizing the M i in this area. The same logic is true vice versa for values of P 43 . Similar reasoning is applied to construction of all other P k l . The only exception is P 24 which is assigned a constant value and P 42 is equal to zero. Such values for P 24 and P 42 basically mean that in case of intersection M 2 M 4 of paint segment and paint crack segment the proposed level-set approach would force this intersection to be segmented as paint. This is because preliminary segmentation of paint is more reliable than segmentation of paint crack (it is because of thresholding in the valley detection approach tends to oversegment the paint crack area).
The penalty term Ψ i j imposes restrictions on some geometrical features of i -th class segment with its neighboring class segments. Those restrictions’ shape depends on the kernel K ’s shape and values P k l . This term depends on current segmentation labels thus, it is computed at each iteration.

3.3. Evaluation of the Performance of the Developed Method of Defect Segmentation

Performance evaluation of the proposed technique is made quantitatively as well as qualitatively. Qualitative assessment is given in the discussion part of the paper. A numerical evaluation of the proposed approach performance is described below and conducted based on validation data set, samples excluded from the training dataset.
To evaluate the performance of the developed defect segmentation technique we use the receiver operating characteristics (ROC) curves for all classes with the methodology of using one class versus the rest (Figure 3). The ROC curve reflects the statistics of true positive/false positive rates for the binary classifier. In our case, the ROC curve combines four plots for each of the considered here object classes.
The accuracy of the developed approach was estimated in terms of segmentation error rates evaluated on ground truth data. Table 1 contains individual error rates for all classes and the developed approach’s overall segmentation error. Error rates are computed as the percentage of falsely segmented image pixels compared to ground truth data. The table also contains AUC (area under the curve) values computed separately for each class.
Table 2 contains examples of input images (150 × 150 pixels) from the validation set (column 1), the ground truth segmentation validated by an expert (column 2), and the results of segmentation by the developed technique (column 3). This paper’s segmentation maps (ground truth or numerical experiments) are color coded in the following way: red for the area with rust damage, green for background paint, yellow for flaking, and blue for paint cracks.
Examples of segmentation results of authentic images of damage to painted steel surfaces are presented in Table 3. Developed in this paper method for combined rust and coating damage segmentation was tested on a set of authentic images that contained considered defects alone and their combinations.
Results in Table 3 were produced by model (9) with the following parameter values: μ = 0 . 02 , ν = 0 . 065 , kernel K is the uniform disk shaped averaging kernel with radius r = 11 pixels. Table 3 contains input images of differently coated steel surfaces with visible damage of different types. The last column shows the color-coded segmentation results of multiple types of defects.
Table 4 presents examples of segmentation by valley detection technique used in this work. It shows the input image, its valley detection filter response (described in [94]), and the results of applying different global threshold values for valley segmentation. As one can see, by changing the threshold value (as well as filter parameters), we can alter the method’s sensitivity. Thus we can choose how small or vague crack we want to detect. As we can conclude, the chosen type of valley detection method is quite sensitive and can be effectively used in this work. However, it should be noted that the developed approach can incorporate any other crack detection method suitable for the task.
Table 5 illustrates the segmentation results of the input image at different stages of the algorithm functionality. As mentioned earlier, preliminary coarse segmentation of the input image is performed in the first stage. In our case, the input image is segmented by the valley detection method (second image) and multiclass SVM (third image). These two segmentation results then serve as an initialization for the level-set method with a developed penalty term Ψ (9) for a more accurate final segmentation (fourth image). The ground truth is given as the fifth image for comparison.
Valley detection and SVM methods are widely exploited in image processing. They are used as proper classifiers for the types of defects considered in the paper. Applying deep learning methods in this scope would require a significantly larger training set with ground truth data which is laborious to produce. Thus those two methods are used to classify the types of defects that they are best suited for, and a level set is used to aggregate their outcomes and produce a final segmentation map.
SVM is used to separate objects based only on color features. So its segmentation results are reliable only for paint, rust, and flaking objects. The paint crack can be “colored” in underlying metal color (Table 2, input image in the first row), or it can be “colored” in rust color (Table 2, input image in the fourth row), making color feature-based SVM unreliable as it segments crack region only when it has color features of rust damage. Therefore for fine crack segmentation, a valley detection method was used separately. The proposed level-set method combines the output of these two approaches to produce refined segmentation of all three types of damages.
Table 6 illustrates the influence of the kernel K shape on final segmentation results. In all the above experiments, the uniform disk-shaped averaging kernel was used. This simple type of kernel was chosen to simplify the understanding and interpretability of penalty term Ψ behavior. For practical application, the shape of the kernel K can be arbitrarily chosen depending on the segmentation objectives. In particular, Table 6 demonstrates the changes in the final segmentation map depending on the radius r of the kernel K .
Obtained results confirm the effectiveness of penalty term Ψ for the proper segmentation of defect type that is not distinguishable by color features only.

4. Discussion

Complex inspection of steel surfaces with protective coating requires the detection of several possible defect types (they can be metal or coating related, and also both simultaneously). Such inspection can be fulfilled automatically using image segmentation techniques. Thus in the case of multiple defect types, one should consider using multiclass image segmentation approaches. When dealing with the segmentation of multiple defects within one framework, it is possible to encounter the need to construct a more complex feature space than in the case of dealing with one single defect type. In this paper, we consider the segmentation of three defect types. The task’s difficulty is that using only color features causes some defects to overlap in feature space, thus leading to wrong segmentation. One way to overcome this problem is to increase the number of features that allow correct segmentation. In this paper, we proposed an approach that uses different methods of segmentation that are best suited for respective classes and combines their outputs for final refined segmentation.
As proposed in this work, multiclass level-set technique allowed us to build an efficient segmentation method for the simultaneous segmentation of three types of defects. The developed technique can be used to monitor infrastructure objects for complex rust damage detection and protective coating damage detection. The latter can be helpful as it allows the detection of areas with protective coating breakdown that can lead to further metal corrosion.
The developed technique combines two preliminary segmentation approaches best suited for detecting defects of certain types. SVM is used as an optimal classifier to distinguish between rust damage, paint flaking, and “healthy” regions of protective coating based solely on RGB pixel values of the input image. The valley detection approach was used solely for the paint crack detection. The segmentation output of those two algorithmically different classifiers was combined through the multiclass level-set approach with the specially designed penalty term Ψ . Such architecture made it possible to build an effective segmentation technique based on a simple feature set.
The final model contains a specific set of adjustable parameters and thus can be suited for different tasks. It also allows the use of different preliminary classifiers and penalty terms to be used for different image segmentation tasks.
Numerical experiments demonstrated good segmentation accuracy validated on ground truth data provided by the expert. It can be concluded from experimental results that the majority of segmentation errors are due to oversegmentation of defects. Mostly proposed approach suffers from oversegmentation of paint cracks and rust damages. In some cases, the proposed penalty term contributes to the overall error, as seen from the segmentation results in Table 2, rows 3 and 5. In segmentation results (row 3), in comparison to ground truth data, rust damage is completely absent; this is because the proposed term Ψ in the current setup tends to suppress rust damages under a certain size in favor of the present paint crack. A similar situation is in segmentation results in row 5, where the term Ψ “turned” part of the supposed crack defect into paint flaking. Those two errors are not to be considered major. The damaged area was segmented as such, only marked with a different type of defect. Unfortunately, the lack of research dedicated to the simultaneous segmentation of defects of multiple types makes it hard to conduct an extensive comparison against similar methods.
By choosing kernel shape K and functions P k l for different configurations of defect intersection, one can influence the final shape of the final segmentation maps and thus adjust the model to the desired behavior.
In general, the designed shape of term Ψ successfully overcame ambiguity introduced by preliminary classifiers and led to overall satisfactory results. The flexibility of the model (9) allows further development and improvement. It should also be noted that term Ψ is a label penalty term, thus, it is computed at each iteration which adds to the computational load of the method.
The advantage of the proposed technique is that it requires a considerably smaller training set for constructing efficient image segmentation methods in contrast to the heavily used nowadays deep learning approaches [97]. It is particularly useful in cases where the acquisition of large training data is complicated. Basically, neural networks, such as ResNet, UNet VGG, and LeNet need training data that include input data and corresponding output ground truth data. If it is required to modify the desired output, even the slight one, the training procedure should be repeated (or continued) with modified training data. Our approach and its mathematical foundation have several model parameters that can be adjusted manually in the desired direction (for example, Table 6) without the need to modify the training set and retrain the model. Of course, such parameter adjustment has its bounds and not always can replace retraining of the model with new data. Moreover proposed approach can incorporate the output of the neural networks in the manner it uses the output of SVM.
Nevertheless, with the proper training set, one can train suitable for the task CNN architecture to outperform the accuracy presented in this paper’s results. However, the proposed model is preferable in terms of flexibility and readjustment of the model for different types of defects and background.
The proposed method of image processing should also be used to diagnose chromium cathode coatings applied to a steel base in an electrolyte by the galvanic method since corrosion products are formed in their pores [98,99].

5. Conclusions

This article describes a developed multiclass level-set-based image segmentation approach for detecting multiple paint and steel-related defects. The developed approach uses the proposed label penalty term in level-set method to properly combine segmentation results of different types of preliminary classifiers (that also use different features) for a proper final segmentation map. Level-set with proposed penalty term can be used for different types of preliminary classifiers and object classes. Given the nature of segmented objects, the proposed approach showed high segmentation accuracy.
The disadvantage of the method is that the absence of data terms in model (9) contributes to the resulting error mainly through the over-segmentation of damages. The introduced penalty term Ψ in some spatial configurations of defects shifts the border between some defects in favor of one over another, thus, increasing the overall error.
Experimental results showed the approach’s viability for real-world application for automation of infrastructure object inspection for rust and protective coating damages.
Further development of the model can include incorporating data terms into the model (9). It supposedly should increase the accuracy of the final segmentation map. Also, further investigation can be applied to penalty term Ψ behavior for different parameter settings and adaptable kernel K shape and size.
It is also planned to apply the proposed method to study the corrosion destruction of chrome-plated steel.

Author Contributions

Conceptualization, R.V., I.I. and M.B.; methodology, T.M., R.V., I.I. and O.B.; software, T.M.; validation, T.M., R.V., I.I., O.B. and Z.S.; formal analysis, T.M., R.V., I.I., O.B. and Z.S.; writing—original draft preparation, T.M., R.V., I.I. and O.B.; writing—review and editing, T.M., R.V., M.B. and L.R.; visualization, T.M., R.V., I.I., O.B. and L.R.; supervision—T.M., I.I. and L.R.; project administration, R.V., M.B. and L.R.; funding acquisition, M.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Academy of Sciences of Ukraine under grant number 0120U101787.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors are grateful to the Ministry of Science and Education of Ukraine for the grant to implement projects 0121U109591 and 0122U002082. The authors are also grateful for the thorough consultations Vasyl Vytvytskyi, Department of Engineering and Computer Graphics, Ivano-Frankivsk National Technical University of Oil and Gas. The team of authors express their gratitude to the reviewers for valuable recommendations that have been taken into account to significantly improve the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Prapan, C.; Sukantarat, C.; Maneephrom, T. Painting for Aircraft. Proceedings 2019, 39, 21. [Google Scholar] [CrossRef] [Green Version]
  2. Mora, J.; García, P.; Muelas, R.; Agüero, A. Hard Quasicrystalline Coatings Deposited by HVOF Thermal Spray to Reduce Ice Accretion in Aero-Structures Components. Coatings 2020, 10, 290. [Google Scholar] [CrossRef] [Green Version]
  3. Pistone, A.; Scolaro, C.; Visco, A. Mechanical Properties of Protective Coatings against Marine Fouling: A Review. Polymers 2021, 13, 173. [Google Scholar] [CrossRef]
  4. Yan, X.; Zhao, W.; Wang, L. Preparation and Performance of Thermochromic and Self-Repairing Dual Function Paint Film with Lac Resin Microcapsules and Fluorane Microcapsules. Polymers 2021, 13, 3109. [Google Scholar] [CrossRef]
  5. Gadwal, I. A Brief Overview on Preparation of Self-Healing Polymers and Coatings via Hydrogen Bonding Interactions. Macromol 2021, 1, 18–36. [Google Scholar] [CrossRef]
  6. Bembenek, M. The influence of the use of polymer lining within the roller press gravity feeder on briquette quality. Polymers 2020, 12, 2489. [Google Scholar] [CrossRef]
  7. Czekajło, M.; Zakowski, K.; Krakowiak, S.; Kierepa, S. Analysis of the Possibility of Using New Types of Protective Coatings and Abrasion-Resistant Linings under the Operating Conditions of the Spiral Classifier at KGHM Polska Miedź S.A. Ore Concentration Plant. Coatings 2021, 11, 1138. [Google Scholar] [CrossRef]
  8. Budnik, A.; Berladir, K.; Sviderskiy, V.; Budnik, O.; Rudenko, P.; Ilinyh, A. Physical and chemical aspects of mechanical activation of polytetrafluoroethylene composite in obtaining and recycling. East. Eur. J. Enterp. Technol. 2014, 2, 9–15. [Google Scholar] [CrossRef]
  9. Pokhmurs’kyi, V.I.; Zin, I.M.; Tymus, M.B.; Kornii, S.A.; Karpenko, O.V.; Khlopyk, O.P.; Korets’ka, N.I. Inhibition of the Corrosion of Carbon Steel by Xanthan Biopolymer. Mater. Sci. 2020, 55, 522–528. [Google Scholar] [CrossRef]
  10. Bembenek, M.; Popadyuk, O.; Shihab, T.; Ropyak, L.; Uhryński, A.; Vytvytskyi, V.; Bulbuk, O. Optimization of Technological Parameters of the Process of Forming Therapeutic Biopolymer Nanofilled Films. Nanomaterials 2022, 12, 2413. [Google Scholar] [CrossRef]
  11. Claucherty, S.; Sakaue, H. Phenol-Formaldehyde Resin for Optical-Chemical Temperature Sensing. Sensors 2018, 18, 1756. [Google Scholar] [CrossRef] [Green Version]
  12. Król, D.; Motyl, P.; Piotrowska-Woroniak, J.; Patej, M.; Poskrobko, S. Heat Reflective Thin-Film Polymer Insulation with Polymer Nanospheres—Determination of Thermal Conductivity Coefficient. Energies 2022, 15, 6286. [Google Scholar] [CrossRef]
  13. Matsuda, Y.; Orimo, R.; Abe, Y.; Hiraiwa, Y.; Okamura, Y.; Sunami, Y. Pressure-Sensitive Nano-Sheet for Optical Pressure Measurement. Sensors 2021, 21, 7168. [Google Scholar] [CrossRef]
  14. Tamburrano, A.; Proietti, A.; Fortunato, M.; Pesce, N.; Sarto, M.S. Exploring the Capabilities of a Piezoresistive Graphene-Loaded Waterborne Paint for Discrete Strain and Spatial Sensing. Sensors 2022, 22, 4241. [Google Scholar] [CrossRef]
  15. Saakiyan, L.S.; Efremov, A.P.; Ropyak, L.Y.; Gorbatskii, A.V. A method of microelectrochemical investigations. Sov. Mater. Sci. 1987, 23, 267–269. [Google Scholar] [CrossRef]
  16. Saakiyan, L.S.; Efremov, A.P.; Ropyak, L.Y. Effect of stress on the microelectrochemical heterogeneity of steel. Prot. Met. 1989, 25, 185–189. [Google Scholar]
  17. Bejinariu, C.; Burduhos-Nergis, D.-P.; Cimpoesu, N. Immersion Behavior of Carbon Steel, Phosphate Carbon Steel and Phosphate and Painted Carbon Steel in Saltwater. Materials 2021, 14, 188. [Google Scholar] [CrossRef]
  18. Vynar, V.A.; Pokhmurs’kyi, V.I.; Zin, I.M.; Vasyliv, K.B.; Khlopyk, O.P. Determination of the Mechanism of Tribocorrosion of D16T Alloy According to the Electrode Potential. Mater. Sci. 2018, 53, 717–723. [Google Scholar] [CrossRef]
  19. Ivasenko, I.; Posuvailo, V.; Veselivska, H.; Vynar, V. Porosity Segmentation and Analysis of Oxide Ceramic Coatings of D16T Alloy. In Proceedings of the 2020 IEEE 15th International Conference on Computer Sciences and Information Technologies (CSIT), Zbarazh, Ukraine, 23–26 September 2020; Volume 2, pp. 50–53. [Google Scholar] [CrossRef]
  20. Lutsak, D.; Prysyazhnyuk, P.; Burda, M.; Aulin, V. Development of a method and an apparatus for tribotechnical tests of materials under loose abrasive friction. East. Eur. J. Enterp. Technol. 2016, 5, 19–26. [Google Scholar] [CrossRef] [Green Version]
  21. Bembenek, M.; Buczak, M. The Fine-Grained Material Flow Visualization of the Saddle-Shape Briquetting in the Roller Press Using Computer Image Analysis. J. Flow Vis. Image Process. 2021, 28, 69–78. [Google Scholar] [CrossRef]
  22. Pawlik, J.; Wróblewska-Pawlik, A.; Bembenek, M. The Volumetric Wear Assessment of a Mining Conical Pick Using the Photogrammetric Approach. Materials 2022, 15, 5783. [Google Scholar] [CrossRef]
  23. Ropyak, L.Y.; Velychkovych, A.S.; Vytvytskyi, V.S.; Shovkoplias, M.V. Analytical study of “crosshead—Slide rail” wear effect on pump rod stress state. J. Phys. Conf. Ser. 2021, 1741, 12039. [Google Scholar] [CrossRef]
  24. Forcellese, A.; Mancia, T.; Simoncini, M. Tensile Behavior and Formability of Pre-Painted Steel Sheets. Metals 2020, 10, 53. [Google Scholar] [CrossRef] [Green Version]
  25. Tatsii, R.M.; Pazen, O.Y.; Vovk, S.Y. Modeling of the heat transfer process taking into account bursting expansion of fire-retardant coating. Visn. Natsionalnoho Hirnychoho Universytetu 2020, 2020, 36–40. [Google Scholar] [CrossRef]
  26. Piperopoulos, E.; Grifò, G.; Scionti, G.; Atria, M.; Calabrese, L.; Consolo, G.; Proverbio, E. Study of Intumescent Coatings Growth for Fire Retardant Systems in Naval Applications: Experimental Test and Mathematical Model. Coatings 2022, 12, 1180. [Google Scholar] [CrossRef]
  27. Shatskyi, I.P.; Ropyak, L.Y.; Makoviichuk, M.V. Strength optimization of a two-layer coating for the particular local loading conditions. Strength Mater. 2016, 48, 726–730. [Google Scholar] [CrossRef]
  28. Ropyak, L.Y.; Shatskyi, I.P.; Makoviichuk, M.V. Analysis of interaction of thin coating with an abrasive using one-dimensional model. Metallofiz. Noveishie Tekhnol. 2019, 41, 647–654. [Google Scholar] [CrossRef] [Green Version]
  29. Ropyak, L.Y.; Makoviichuk, M.V.; Shatskyi, I.P.; Pritula, I.M.; Gryn, L.O.; Belyakovskyi, V.O. Stressed state of laminated interference-absorption filter under local loading. Funct. Mater. 2020, 27, 638–642. [Google Scholar] [CrossRef]
  30. Shatskii, I.P. Tension of a plate containing a rectilinear cut with hinged rims. J. Appl. Mech. Tech. Phys. 1989, 30, 828–830. [Google Scholar] [CrossRef]
  31. Shatskyi, I.P.; Makoviichuk, M.V.; Shcherbii, A.B. Influence of flexible coating on the limit equilibrium of a spherical shell with meridional crack. Mater. Sci. 2020, 55, 484–491. [Google Scholar] [CrossRef]
  32. Dutkiewicz, M.; Dalyak, T.; Shatskyi, I.; Venhrynyuk, T.; Velychkovych, A. Stress Analysis in Damaged Pipeline with Composite Coating. Appl. Sci. 2021, 11, 10676. [Google Scholar] [CrossRef]
  33. Nassar, M.; Mohamed, S.; Matbuly, M.; Bichir, S. Analytical Solution of Cracked Shell Resting on Elastic Foundation. Acta Mech. Solida Sin. 1996, 9, 306–319. [Google Scholar]
  34. Shats’kyi, I.P.; Makoviichuk, M.V. Contact interaction of the crack edges in the case of bending of a plate with elastic support. Mater. Sci. 2003, 39, 371–376. [Google Scholar] [CrossRef]
  35. Sylovanyuk, V.P.; Yukhim, R.Y. Material strengthening by crack and cavity healing. Strength Mater. 2011, 43, 33–41. [Google Scholar] [CrossRef]
  36. Shatskyi, I.; Kurtash, I. Strength of plate with the filled crack under multiparameter loading. Procedia Struct. Integr. 2018, 13, 1482–1487. [Google Scholar] [CrossRef]
  37. Panasyuk, V.V.; Sylovanyuk, V.P.; Marukha, V.I. Injection Technologies for the Repair of Damaged Concrete Structures; Springer: Dordrecht, The Netherlands, 2014. [Google Scholar] [CrossRef]
  38. Shats’kyi, I.P. Limiting equilibrium of a plate with partially healed crack. Mater. Sci. 2015, 51, 322–330. [Google Scholar] [CrossRef]
  39. Shatskyi, I.P.; Perepichka, V.V.; Ropyak, L.Y. On the influence of facing on strength of solids with surface defects. Metallofiz. Noveishie Tekhnol. 2020, 42, 69–76. [Google Scholar] [CrossRef]
  40. Kusyi, Y.M.; Kuk, A.M. Investigation of the technological damageability of castings at the stage of design and technological preparation of the machine Life Cycle. J. Phys. Conf. Ser. 2020, 1426, 012034. [Google Scholar] [CrossRef]
  41. Kopei, V.B.; Onysko, O.R.; Panchuk, V.G. Principles of development of product lifecycle management system for threaded connections based on the Python programming language. J. Phys. Conf. Ser. 2020, 1426, 012033. [Google Scholar] [CrossRef]
  42. Kusyi, Y.; Onysko, O.; Kuk, A.; Solohub, B.; Kopei, V. Development of the Technique for Designing Rational Routes of the Functional Surfaces Processing of Products; Lecture Notes in Networks and Systems; Springer: Berlin/Heidelberg, Germany, 2022; Volume 472, pp. 135–143. [Google Scholar] [CrossRef]
  43. Sfameni, S.; Rando, G.; Marchetta, A.; Scolaro, C.; Cappello, S.; Urzì, C.; Visco, A.; Plutino, M.R. Development of Eco-Friendly Hydrophobic and Fouling-Release Coatings for Blue-Growth Environmental Applications: Synthesis, Mechanical Characterization and Biological Activity. Gels 2022, 8, 528. [Google Scholar] [CrossRef] [PubMed]
  44. Kim, J.-H.; Hossain, S.M.; Kang, H.-J.; Park, H.; Tijing, L.; Park, G.W.; Suzuki, N.; Fujishima, A.; Jun, Y.-S.; Shon, H.K.; et al. Hydrophilic/Hydrophobic Silane Grafting on TiO2 Nanoparticles: Photocatalytic Paint for Atmospheric Cleaning. Catalysts 2021, 11, 193. [Google Scholar] [CrossRef]
  45. Steinerová, D.; Kalendová, A.; Machotová, J.; Pejchalová, M. Environmentally Friendly Water-Based Self-Crosslinking Acrylate Dispersion Containing Magnesium Nanoparticles and Their Films Exhibiting Antimicrobial Properties. Coatings 2020, 10, 340. [Google Scholar] [CrossRef] [Green Version]
  46. Lee, S.; Chang, L.-M. Digital image processing methods for assessing bridge painting rust defects and their limitations. In Proceedings of the 2005 ASCE International Conference on Computing in Civil Engineering, Cancun, Mexico, 12–15 July 2005; pp. 1–12. [Google Scholar] [CrossRef]
  47. Gibbons, T.; Pierce, G.; Worden, K.; Antoniadou, I. A Gaussian mixture model for automated corrosion detection in remanufacturing. In Advances in Manufacturing Technology XXXII, Proceedings of the 16th International Conference on Manufacturing Research ICMR 2018, Skövde, Sweden, 11–13 September 2018; Thorvald, P., Case, K., Eds.; IOS Press: Skövde, Sweden, 2018; Volume 8, pp. 63–68. [Google Scholar] [CrossRef]
  48. Boykov, Y.; Jolly, M.-P. Interactive graph cuts for optimal boundary and region segmentation of objects in n-d images. In Proceedings of the Eighth IEEE International Conference on Computer Vision ICCV 2001, Vancouver, BC, Canada, 7–14 July 2001; Volume 1, pp. 105–112. [Google Scholar] [CrossRef]
  49. Guan, J.; Li, S.; He, X.; Chen, J. Peak-Graph-Based Fast Density Peak Clustering for Image Segmentation. IEEE Signal Process. Lett. 2021, 28, 897–901. [Google Scholar] [CrossRef]
  50. Shen, H.-K.; Chen, P.-H.; Chang, L.-M. Human-visual-perception-like intensity recognition for color rust images based on artificial neural network. Autom. Constr. 2018, 90, 178–187. [Google Scholar] [CrossRef]
  51. Han, Q.; Zhao, N.; Xu, J. Recognition and location of steel structure surface corrosion based on unmanned aerial vehicle images. J. Civ. Struct. Health Monit. 2021, 11, 1375–1392. [Google Scholar] [CrossRef]
  52. Lian, J.; Yang, Z.; Liu, J.; Sun, W.; Zheng, L.; Du, X.; Yi, Z.; Shi, B.; Ma, Y. An Overview of Image Segmentation Based on Pulse-Coupled Neural Network. Arch. Comput. Methods Eng. 2021, 28, 387–403. [Google Scholar] [CrossRef]
  53. Ohri, K.; Kumar, V. Review on self-supervised image recognition using deep neural networks. Knowl. Based Syst. 2021, 224, 107090. [Google Scholar] [CrossRef]
  54. Chen, P.H.; Shen, H.K.; Lei, C.Y.; Chang, L.M. Support-vector-machine-based method for automated steel bridge rust assessment. Autom. Constr. 2012, 23, 9–19. [Google Scholar] [CrossRef]
  55. Chandra, M.A.; Bedi, S.S. Survey on SVM and their application in image classification. Int. J. Inf. Technol. 2021, 13, 1–11. [Google Scholar] [CrossRef]
  56. Yang, A.; Bai, Y.; Liu, H.; Jin, K.; Xue, T.; Ma, W. Application of SVM and its Improved Model in Image Segmentation. Mob. Netw. Appl. 2022, 27, 851–861. [Google Scholar] [CrossRef]
  57. De Kerf, T.; Hasheminejad, N.; Blom, J.; Vanlanduit, S. Qualitative Comparison of 2D and 3D Atmospheric Corrosion Detection Methods. Materials 2021, 14, 3621. [Google Scholar] [CrossRef] [PubMed]
  58. Wang, Z.; Ma, B.; Zhu, Y. Review of Level Set in Image Segmentation. Arch. Comput. Methods Eng. 2021, 28, 2429–2446. [Google Scholar] [CrossRef]
  59. Bourouis, S.; Channoufi, I.; Alroobaea, R.; Rubaiee, S.; Andejany, M.; Bouguila, N. Color object segmentation and tracking using flexible statistical model and level-set. Multimed. Tools Appl. 2021, 80, 5809–5831. [Google Scholar] [CrossRef]
  60. Xia, D.; Song, S.; Tao, L.; Qin, Z.; Wu, Z.; Gao, Z.; Wang, J.; Hu, W.; Behnamian, Y.; Luo, J. Review-material degradation assessed by digital image processing: Fundamentals, progresses, and challenges. J. Mater. Sci. Technol. 2020, 53, 146–162. [Google Scholar] [CrossRef]
  61. Jardim, S.; António, J.; Mora, C. Graphical Image Region Extraction with K-Means Clustering and Watershed. J. Imaging 2022, 8, 163. [Google Scholar] [CrossRef] [PubMed]
  62. Oskouei, A.G.; Hashemzadeh, M. CGFFCM: A color image segmentation method based on cluster-weight and feature-weight learning. Softw. Impacts 2022, 11, 100228. [Google Scholar] [CrossRef]
  63. Katsamenis, I.; Doulamis, N.; Doulamis, A.; Protopapadakis, E.; Voulodimos, A. Simultaneous Precise Localization and Classification of metal rust defects for robotic-driven maintenance and prefabrication using residual attention U-Net. Autom. Constr. 2022, 137, 104182. [Google Scholar] [CrossRef]
  64. Khayatazad, M.; De Pue, L.; De Waele, W. Detection of corrosion on steel structures using automated image processing. Dev. Built Environ. 2020, 3, 100022. [Google Scholar] [CrossRef]
  65. Zhang, J.; Williams, B.M.; Lawman, S.; Atkinson, D.; Zhang, Z.; Shen, Y.; Zheng, Y. Non-destructive analysis of flake properties in automotive paints with full-field optical coherence tomography and 3D segmentation. Opt. Express 2017, 25, 18614–18628. [Google Scholar] [CrossRef] [Green Version]
  66. Rezaie, A.; Achanta, R.; Godio, M.; Beyer, K. Comparison of crack segmentation using digital image correlation measurements and deep learning. Constr. Build. Mater. 2020, 261, 120474. [Google Scholar] [CrossRef]
  67. Abas, F.; Martinez, K. Classification of painting cracks for content-based analysis. In Machine Vision Applications in Industrial Inspection XI, Proceedings of SPIE Electronic Imaging 2003, Santa Clara, CA, USA, 20–24 January 2003; Hunt, M.A., Price, J.R., Eds.; SPIE Digital Library: Bellingham, WA, USA, 2003; Volume 5011, p. 5011. [Google Scholar] [CrossRef]
  68. Jahanshahi, M.; Masri, S. A Novel Crack Detection Approach for Condition Assessment of Structures. In Proceedings of the ASCE International Workshop on Computing in Civil Engineering, Miami, FL, USA, 19–22 June 2011; pp. 388–395. [Google Scholar] [CrossRef]
  69. Pang, J.; Zhang, H.; Zhao, H.; Li, L. DcsNet: A real-time deep network for crack segmentation. Signal Image Video Process. 2022, 16, 911–919. [Google Scholar] [CrossRef]
  70. Vorobel, R.; Ivasenko, I.; Berehulyak, O.; Mandzii, T. Segmentation of rust defects on painted steel surfaces by intelligent image analysis. Autom. Constr. 2021, 123, 103515. [Google Scholar] [CrossRef]
  71. Ivasenko, I.; Chervatyuk, V. Detection of rust defects of protective coatings based on HSV color model. In Proceedings of the 2nd Ukraine Conference on Electrical and Computer Engineering, UKRCON 2019, Lviv, Ukraine, 2–6 July 2019; pp. 1143–1146. [Google Scholar]
  72. Vorobel, R.; Ivasenko, I.; Berehulyak, O. Automatized computer system for evaluation of rust using modified single-scale retinex. In Proceedings of the 1st Ukraine Conference on Electrical and Computer Engineering, UKRCON 2017, Kyiv, Ukraine, 29 May–2 June 2017; pp. 1002–1006. [Google Scholar] [CrossRef]
  73. Mandziy, T.; Ivasenko, I.; Berehulyak, O.; Vorobel, R. Influence of Colour Restoration on Rust Image Segmentation. In Proceedings of the 3rd Ukraine Conference on Electrical and Computer Engineering, UKRCON 2021, Lviv, Ukraine, 6–8 July 2021; pp. 68–73. [Google Scholar] [CrossRef]
  74. Berehulyak, O.; Vorobel, R.; Mandzii, T.; Ivasenko, I. Segmentation of Partially Shadowed Rust Images. In Proceedings of the IEEE 16th International Conference on Advanced Trends in Radioelectronics, Telecommunications and Computer Engineering TCSET 2022, Lviv-Slavske, Ukraine, 22–26 February 2022; pp. 564–568. [Google Scholar] [CrossRef]
  75. Berehulyak, O.; Vorobel, R. The algebraic model with an asymmetric characteristic of logarithmic transformation. In Proceedings of the IEEE 15th International Scientific and Technical Conference on Computer Sciences and Information Technologies, CSIT 2020, Zbarazh, Ukraine, 23–26 September 2020; Volume 2, pp. 119–122. [Google Scholar] [CrossRef]
  76. Vorobel, R.A. Logarithmic Image Processing; Naukova Dumka: Kyiv, Ukraine, 2012; p. 232. [Google Scholar]
  77. Mandziy, T. Inhomogeneity inforced piecewise smooth Chan-Vese model for image segmentation. In Proceedings of the IEEE 2nd Ukraine Conference on Electrical and Computer Engineering, UKRCON 2019, Lviv, Ukraine, 2–6 July 2019; pp. 1158–1161. [Google Scholar] [CrossRef]
  78. Mandziy, T. Chan-Vese Model for Rust Image Segmentation. In Proceedings of the IEEE 15th International Scientific and Technical Conference on Computer Sciences and Information Technologies, CSIT 2020, Zbarazh, Ukraine, 23–26 September 2020; Volume 2, pp. 115–118. [Google Scholar] [CrossRef]
  79. Mumford, D.; Shah, J. Optimal approximations by piecewise smooth functions and associated variational problems. Commun. Pure Appl. Math. 1989, 42, 577–685. [Google Scholar] [CrossRef] [Green Version]
  80. Chan, T.; Vese, L. Active contours without edges. IEEE Trans. Image Process. 2001, 10, 266–277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  81. Vese, L.; Chan, T. A multiphase level set framework for image segmentation using the Mumford and Shah model. Int. J. Comput. Vis. 2002, 50, 271–293. [Google Scholar] [CrossRef]
  82. Li, C.; Kao, C.; Gore, J.C.; Ding, Z. Implicit Active Contours Driven by Local Binary Fitting Energy. In Proceedings of the 2007 IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007; pp. 1–7. [Google Scholar] [CrossRef]
  83. Lankton, S.; Nain, D.; Yezzi, A.; Tannenbaun, A. Hybrid geodesic region-based curve evolutions for image segmentation. In Proceedings of the SPIE Medical Imaging 2007: Physics of Medical Imaging, San Diego, CA, USA, 17–22 February 2007; Volume 6510. [Google Scholar] [CrossRef] [Green Version]
  84. Li, C.; Kao, C.; Gore, J.C.; Ding, Z. Minimization of Region-Scalable Fitting Energy for Image Segmentation. IEEE Trans. Image Process. 2008, 17, 1940–1949. [Google Scholar] [CrossRef] [PubMed]
  85. Caselles, V.; Kimmel, R.; Sapiro, G. Geodesic active contours. Int. J. Comput. Vis. 1997, 22, 61–79. [Google Scholar] [CrossRef]
  86. Chan, T.F.; Sandberg, Y.B.; Vese, L.A. Active contours without edges for Vector-valued Image. J. Vis. Commun. Image Represent. 2000, 11, 130–141. [Google Scholar] [CrossRef] [Green Version]
  87. Tsai, A.; Yezzi, A.; Willsky, A.S. Curve evolution implementation of the Mumford-Shah functional for image segmentation, denoising, interpolation, and magnification. IEEE Trans. Image Process. 2001, 10, 1169–1186. [Google Scholar] [CrossRef] [Green Version]
  88. Li, C.; Huang, R.; Ding, Z.; Gatenby, C.; Metaxas, D.N.; Gore, J.C. A Level Set Method for Image Segmentation in the Presence of Intensity Inhomogene ities with Applicatio n to MRI. IEEE Trans. Image Process. 2011, 20, 2007–2016. [Google Scholar] [CrossRef]
  89. Piovano, J.; Rousson, M.; Papadopoulo, T. Efficient Segmentation of Piecewise Smooth Images. In Scale Space and Variational Methods in Computer Vision; SSVM 2007; Lecture Notes in Computer Science; Sgallari, F., Murli, A., Paragios, N., Eds.; Springer: Berlin/Heidelberg, Germany, 2007; Volume 4485. [Google Scholar] [CrossRef]
  90. Li, C.; Xu, C.; Gui, C.; Fox, M.D. Distance regularized level set evolution and its application to image segmentation. IEEE Trans. Image Process. 2010, 19, 3243–3254. [Google Scholar] [CrossRef] [PubMed]
  91. Wang, L.; He, L.; Mishra, A.; Li, C. Active Contours Driven by Local Gaussian Distribution Fitting Energy. Signal Process. 2009, 89, 2435–2447. [Google Scholar] [CrossRef]
  92. Lu, Z.; Carneiro, G.; Bradley, A. An improved joint optimization of multiple level set functions for the segmentation of overlapping cervical cells. IEEE Trans. Image Process. 2015, 24, 1261–1272. [Google Scholar]
  93. Lindeberg, T. Edge detection and ridge detection with automatic scale selection. Int. J. Comput. Vis. 1998, 30, 117–154. [Google Scholar] [CrossRef]
  94. Bandura, A.; Skaskiv, O. Analytic functions in the unit ball of bounded L-index in joint variables and of bounded L-index in direction: A connection between these classes. Demonstr. Math. 2019, 52, 82–87. [Google Scholar] [CrossRef]
  95. Bandura, A.; Skaskiv, O. Entire functions of bounded L-index: Its zeros and behavior of partial logarithmic derivatives. J. Complex Anal. 2017, 2017, 3253095. [Google Scholar] [CrossRef]
  96. Bandura, A.; Skaskiv, O. Slice holomorphic functions in several variables with bounded L-index in direction. Axioms 2019, 8, 88. [Google Scholar] [CrossRef] [Green Version]
  97. Duy, L.D.; Anh, N.T.; Son, N.T.; Tung, N.V.; Duong, N.B.; Khan, M.H.R. Deep Learning in Semantic Segmentation of Rust in Images. In Proceedings of the 9th International Conference on Software and Computer Applications ICSCA 2020, Langkawi, Malaysia, 18–21 February 2020; pp. 129–132. [Google Scholar] [CrossRef]
  98. Protsenko, V.S.; Bobrova, L.S.; Baskevich, A.S.; Korniy, S.A.; Danilov, F.I. Electrodeposition of chromium coatings from a choline chloride based ionic liquid with the addition of water. J. Chem. Technol. Metall. 2018, 53, 906–915. [Google Scholar]
  99. Bazaluk, O.; Dubei, O.; Ropyak, L.; Shovkoplias, M.; Pryhorovska, T.; Lozynskyi, V. Strategy of compatible use of jet and plunger pump with chrome parts in oil well. Energies 2022, 15, 83. [Google Scholar] [CrossRef]
Figure 1. Examples of images of coated surface damages: (a) rust and paint cracking; (b) paint flaking and cracking; (c) rust damage and paint flaking.
Figure 1. Examples of images of coated surface damages: (a) rust and paint cracking; (b) paint flaking and cracking; (c) rust damage and paint flaking.
Sensors 22 07600 g001
Figure 2. Flowchart of the proposed multiple type damage detection techniques.
Figure 2. Flowchart of the proposed multiple type damage detection techniques.
Sensors 22 07600 g002
Figure 3. ROC curves generated for all classes: red for rust damage, green for paint, yellow for flaking, and blue for paint cracks.
Figure 3. ROC curves generated for all classes: red for rust damage, green for paint, yellow for flaking, and blue for paint cracks.
Sensors 22 07600 g003
Table 1. Error rates and segmentation accuracy of the developed approach.
Table 1. Error rates and segmentation accuracy of the developed approach.
ValueRustBackground PaintFlakingCrackingOverall
Error (%)1.313.247.826.499.43
AUC (%)94.4997.1999.7089.54
Table 2. Examples of ground truth data of rust segmentation.
Table 2. Examples of ground truth data of rust segmentation.
Type of Paint Coating Damage on SteelInput ImagesGround Truth SegmentationSegmentation by the Proposed Approach
Cracking of paint coatingSensors 22 07600 i001Sensors 22 07600 i002Sensors 22 07600 i003
RustSensors 22 07600 i004Sensors 22 07600 i005Sensors 22 07600 i006
Flacking of paint coating, cracking, and rustSensors 22 07600 i007Sensors 22 07600 i008Sensors 22 07600 i009
Cracking of paint coatingSensors 22 07600 i010Sensors 22 07600 i011Sensors 22 07600 i012
Cracking of paint coating and rustSensors 22 07600 i013Sensors 22 07600 i014Sensors 22 07600 i015
Table 3. Results of paint damage and rust segmentation.
Table 3. Results of paint damage and rust segmentation.
Type of Paint Coating Damage on SteelInput ImagesSegmentation Results by the Proposed Model
Cracking of paint coating and rustSensors 22 07600 i016Sensors 22 07600 i017
Rust damageSensors 22 07600 i018Sensors 22 07600 i019
Cracking of paint coating and rustSensors 22 07600 i020Sensors 22 07600 i021
Cracking of paint coating and rustSensors 22 07600 i022Sensors 22 07600 i023
Flacking and cracking of paint coatingSensors 22 07600 i024Sensors 22 07600 i025
Table 4. Examples of valley detection for different threshold values T.
Table 4. Examples of valley detection for different threshold values T.
Input ImageValley Filter ResponseT = 128T = 155T = 165
Sensors 22 07600 i026Sensors 22 07600 i027Sensors 22 07600 i028Sensors 22 07600 i029Sensors 22 07600 i030
Table 5. Input image segmentation stages.
Table 5. Input image segmentation stages.
Input ImageValley Detection ResultSVM Segmentation ResultSegmentation Result by the Proposed MethodGround Truth
Sensors 22 07600 i031Sensors 22 07600 i032Sensors 22 07600 i033Sensors 22 07600 i034Sensors 22 07600 i035
Table 6. Input image (Table 5) segmentation results for different radiuses of the kernel K.
Table 6. Input image (Table 5) segmentation results for different radiuses of the kernel K.
r = 5r = 11r = 15r = 21r = 31
Sensors 22 07600 i036Sensors 22 07600 i037Sensors 22 07600 i038Sensors 22 07600 i039Sensors 22 07600 i040
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bembenek, M.; Mandziy, T.; Ivasenko, I.; Berehulyak, O.; Vorobel, R.; Slobodyan, Z.; Ropyak, L. Multiclass Level-Set Segmentation of Rust and Coating Damages in Images of Metal Structures. Sensors 2022, 22, 7600. https://doi.org/10.3390/s22197600

AMA Style

Bembenek M, Mandziy T, Ivasenko I, Berehulyak O, Vorobel R, Slobodyan Z, Ropyak L. Multiclass Level-Set Segmentation of Rust and Coating Damages in Images of Metal Structures. Sensors. 2022; 22(19):7600. https://doi.org/10.3390/s22197600

Chicago/Turabian Style

Bembenek, Michał, Teodor Mandziy, Iryna Ivasenko, Olena Berehulyak, Roman Vorobel, Zvenomyra Slobodyan, and Liubomyr Ropyak. 2022. "Multiclass Level-Set Segmentation of Rust and Coating Damages in Images of Metal Structures" Sensors 22, no. 19: 7600. https://doi.org/10.3390/s22197600

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop