Next Article in Journal
Review of Quality Optimization of Electron Beam Based on Laser Wakefield Acceleration
Next Article in Special Issue
Modelling of Plasma Temperatures and Densities in Laser Ablation Plumes of Different Metals
Previous Article in Journal
Light Interaction with Cluster Chiral Nanostructures by High-Order Bessel Beam
Previous Article in Special Issue
Silver Nanoparticles under Nanosecond Pulsed Laser Excitation as an Intensity Sensitive Saturable Absorption to Reverse Saturable Absorption Switching Material
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Laser Cleaning Surface Roughness Estimation Using Enhanced GLCM Feature and IPSO-SVR

1
Beijing Engineering Research Center of Industrial Spectrum Imaging, School of Automation and Electrical Engineering, University of Science and Technology Beijing, Beijing 100083, China
2
Northwest Institute of Nuclear Technology, Xi’an 710024, China
*
Author to whom correspondence should be addressed.
Photonics 2022, 9(8), 510; https://doi.org/10.3390/photonics9080510
Submission received: 28 June 2022 / Revised: 16 July 2022 / Accepted: 20 July 2022 / Published: 22 July 2022
(This article belongs to the Special Issue Laser Ablation: From Fundamental Science to Applications)

Abstract

:
In order to evaluate the effect of laser cleaning, a new method of workpiece surface roughness estimation is proposed. First, a Cartesian robot and visible-light camera are used to collect a large number of surface images of a workpiece after laser cleaning. Second, various features including the Tamura coarseness, Alexnet abstract depth, single blind/referenceless image spatial quality evaluator (BRISQUE), and enhanced gray level co-occurrence matrix (EGLCM) are computed from the images above. Third, the improved particle swarm optimization (IPSO) is used to improve the training parameters of support vector regression (SVR). The learning factor of SVR adopts the strategy of dynamic nonlinear asynchronous adaptive adjustment to improve its optimization-processing ability. Finally, both the image features and the IPSO-SVR are considered for the surface roughness estimation. Extensive experiment results show that the accuracy of the IPSO-SVR surface roughness estimation model can reach 92.0%.

1. Introduction

Laser cleaning technology is a revolution in the cleaning industry [1]. Laser cleaning can make use of the advantages of high energy density, high precision, and efficient conduction of lasers [2,3] to remove the excess attached materials on a metal surface. Compared with the traditional cleaning technology, it has apparent strength in its cleaning effect and accuracy for a typical workpiece and can effectively avoid chemical contamination, which means it is marked as an environmentally friendly cleaning technology [4,5]. So far, laser cleaning technology has been able to stably and effectively clean the surface of various regular substrates, and the materials that can be cleaned include but are not limited to metals, alloys, glass, and various composites [6,7]. The application scope of this technology has been gradually expanding to various fields such as industry, military industry, shipbuilding, aviation, and aerospace [8,9,10] in recent years.
Many scholars have made some in-depth research on the mechanism, effect evaluation, effect improvement, and cleanable materials’ expansion of laser cleaning [11,12]. Laser cleaning analysis methods based on optical properties emerge endlessly [13,14], such as using spectral analysis to detect the level of laser cleaning online [15,16] or employing digital holography to analyze the impact of laser cleaning on substrate materials [17]. As one of the investigated indexes of laser-cleaning-effect evaluation, surface roughness refers to the small spacing and micro peak–valley unevenness in the workpiece surface, which is closely related to the matching property, wear resistance, fatigue strength, contact stiffness, and vibration and noise of parts. It has an important impact on the service life and reliability of workpieces [18]. The modern precision machining industry has continuously improved the requirements for surface machining quality of workpieces, mainly because the quality of surface machining will not only affect the service life of products but also influence the performance of products. Therefore, the evaluation of laser cleaning surface-processing quality has an important value for the cleaning industry.
Regarding the estimation of surface roughness after laser cleaning, the traditional contact-measurement method is not suitable for the high-efficiency automation industry because it has low measurement efficiency and easily damages the workpiece surface. For example, the stylus-measurement method is the most commonly used roughness contact-measurement method at present, which uses a stylus to scan the contoured surface of the workpiece and record the roughness-related undulation information [19]. However, its measurement accuracy is limited by the radius of stylus, and it cannot completely avoid scratching the workpiece surface. On the other hand, the stylus has high environmental requirements, inconvenient operation, low measurement efficiency, and cannot be used for online measurement. The imaging analysis-based surface roughness analysis technology has become a hot spot in recent years [20,21]. Many scholars have done research works on roughness measurement [22]. For example, the authors in [23] introduced four gray level co-occurrence matrix (GLCM) statistical indicators to analyze the influence of GLCM parameter selection on the measurement results of four indicators; the GLCM distribution map was used to determine the surface roughness grade. The authors in [24] extracted a series of GLCM-based indicators as the input of a support vector machine (SVM) and constructed a GLCM-SVM model to measure surface roughness. The methods above are effective for their applications; however, the artificially designed image features are difficult and the quality of feature extraction directly affects the performance of the roughness-prediction model; as a result, it is still necessary to research the image-feature analysis-based laser-cleaning-effect evaluation method.
In our previous research work, we successfully built an experimental system for a Q235 carbon steel workpiece cleaning with a Cartesian robot as a core, supplemented by a visible-light camera and a fiber laser for image acquisition and laser cleaning [25]. In our experimental system, the Cartesian robot was equipped with the same motor in the x-axis and y-axis degrees of freedom to ensure that it had the same moving speed in two moving directions. Due to the limitation of the size space, the visible-light camera and fiber laser could only be placed alternately in the Cartesian robot. After the workpiece to be cleaned was placed under the Cartesian robot, the visible-light camera collected the workpiece image along the specific working path. Then, the fiber laser was used to replace the visible-light camera, and the actual laser cleaning process could be carried out by adjusting the range of laser parameters such as the laser frequency, single pulse energy, etc.
In addition, the laser parameters were also combined with the abstract features of a two-dimensional image to realize the intelligent control of the laser-cleaning-process parameters by using the machine-learning method. By accumulating a large number of laser parameters and pictures before and after laser cleaning, and using the image characteristics and laser parameters before laser cleaning, we successfully established a machine- learning-based laser-cleaning effect-level prediction model. Before substantial laser cleaning of the workpiece, the undetermined laser parameters were randomly generated and inputted into the model together with the image features extracted from the surface of the workpiece. The laser parameters to be determined were continuously updated and iterated until the laser-cleaning-effect output by the model was qualified. Finally, the laser parameters at this time were used to clean the workpiece, which was the so-called optimal laser cleaning process.
Besides, we also classified the metal-corrosion degrees, as shown in Table 1, which were often used in many Chinese factories. For the precise surface roughness estimation after laser cleaning, it is meaningful only when the workpiece is covered by the oxide layer and almost no, or only small, corrosion blocks (the workpiece corrosion degree is A or B) can be found, which can be called the optimal laser cleaning. In the case of poor laser cleaning, it is unrealistic to accurately predict the surface roughness because a large number of residual corrosions are distributed on the workpiece surface. Clearly, our previous work on surface roughness estimation has some shortcomings. For example, we only use the traditional image-texture feature despite the depth feature, and the performance of our final roughness-estimation model after laser cleaning can still be improved.
In this paper, a new estimation method of workpiece surface roughness after laser cleaning is proposed for Q235 carbon steel [26]. The combination of machine learning and image processing is used to estimate the workpiece surface roughness. First, two-dimensional images of the cleaned workpiece surface are collected by the visible-light camera. Then, the Tamura coarseness feature [27], Alexnet [28] abstract depth feature, single blind/referenceless image spatial quality evaluator (BRISQUE) [29,30] feature, and a novel enhanced gray level co-occurrence matrix (EGLCM) feature are extracted. Finally, support vector regression (SVR) [31,32] is used to fit the surface roughness, and the improved particle swarm optimization (IPSO) algorithm is developed to optimize the training process parameters of SVR [33,34]. This method has a high degree of computational accuracy through our experiments. The main contributions of this paper are: (1) The new feature extraction and combination method of images after laser cleaning are developed. The combination of the traditional image features, new EGLCM, and emerging convolution neural network abstract feature is designed. (2) An IPSO-SVR algorithm is proposed. The PSO algorithm with adaptive weight change is integrated into the training process of SVR to optimize the parameters. (3) Both the new image features and the IPSO-SVR are used for the imaging surface roughness estimation of images after laser cleaning.
In the following sections, first, the proposed surface roughness estimation method is presented. Then, the corresponding experimental results are given. Finally, conclusions and future works are presented.

2. Methods

2.1. Proposed Flowchart

Figure 1 shows the main process of workpiece surface roughness estimation after laser cleaning. Firstly, the 2D gray images of workpiece after laser cleaning are accumulated, and the three-dimensional morphology of workpiece surface and its actual roughness are measured through the white-light interferometer. The white-light interferometer is specially used for non-contact measurement of surface roughness, micro shape contour, and size, which is one of the instruments with the highest measurement accuracy in the field of 3D measurement. Therefore, the white-light interferometer is used to capture the true surface roughness value of workpiece after laser cleaning. A large number of workpiece images and the corresponding real values of roughness can be collected. The corresponding 2D gray image and 3D topography are shown in Figure 2. Then, a variety of image features are extracted from the collected images, including the Tamura coarseness feature, Alexnet abstract depth feature, single BRISQUE feature, and EGLCM feature. Finally, the IPSO-SVR is trained by using the combination of extracted features above. The IPSO algorithm is added to optimize the parameters in the training process of SVR model, and SVR model is established to predict the surface roughness of workpiece after laser cleaning.

2.2. Design of EGLCM

The GLCM is commonly used to describe the texture related information between image pixels, which can represent the overall texture information of image by calculating the gray similarity between different pixels in a specific distance and direction. Regarding the GLCM, it has a large amount of data, which is not conducive to the extraction of image features; therefore, authors in [35] defined the statistical data such as moment of contrast (Con), correlation (Cor), energy (En), and entropy (Ent) to summarize the characteristic information in GLCM. The relevant calculation methods are shown in Equations (1)–(4) [36].
E n = i j P ( i , j ) 2
C o n = n = 0 k 1 n 2 i = 0 k j = 0 k P ( i , j )
C o r = i j ( i j ) P ( i , j ) μ x μ y δ x δ y
E n t = i j P ( i , j ) log ( P ( i , j ) )
where P(i, j) is the element value at the coordinates (i, j) in the GLCM; k is the gray level of image; n = | i j | ; μ x = i j i P ( i , j ) ; μ y = i j j P ( i , j ) ; δ x = i j P ( i , j ) ( i μ x ) 2 ; δ y = i j P ( i , j ) ( j μ y ) 2 .
In this paper, we improve the traditional gray co-occurrence matrix, modify the calculation method of gray co-occurrence matrix in 45° and 135° directions, and add 4 gray co-occurrence matrices in 22.5°, 67.5°, 112.5°, and 157.5° in the original 4 directions (0°, 45°, 90°, and 135°). Four statistics of Con, Cor, En, and Ent can be obtained by calculating the GLCM, and the final EGLCM features will be captured by vectorization. Specific improvements and calculation methods are shown below.
First, a new pixel point for co-occurrence matrix computation is proposed. The traditional GLCM has problems in calculating the co-occurrence matrix of 45° and 135°. When the offset distance is d, the selected matching pixel distance is actually 2 d , and the pixel pairs for final matching calculation are (A0, A4) as shown in Figure 3. However, this may cause the error of matching pixels to accumulate with the increase in offset distance. In this paper, the pixel point matching A0 is changed to a pseudo pixel B0, with an actual distance of d in the 45° direction.
As Figure 3 shown, the coordinate of pixel point A0 is (x, y), and the coordinate of pseudo pixel point B0 is (x + d × cos 45°, y + d × sin 45°). However, this pixel point B0 does not exist in image, so the gray value of this pseudo-pixel point is determined by the gray value of adjacent A3 and A4 pixel points, where the coordinates of A3 and A4 are (floor(x + d × cos 45°), floor(y + d × sin 45°)) and (floor(x + d × cos 45°) + 1, and floor(y + d × sin 45°) + 1). The gray value of the final pseudo pixel B0 is shown in Equation (5). The definition of gray co-occurrence matrix in 135° direction is the same as that in 45° direction.
I ( B 0 ) = r o u n d ( w 1 w 0 + w 1 I ( A 3 ) + w 0 w 0 + w 1 I ( A 4 ) )
where I(B0), I(A3), and I(A4) are the gray values of pseudo pixel point B0, pixel point A3, and pixel point A4, respectively; floor() means round down; w 0 , w 1 are the distances between pixel points A3 and B0 and A4 and B0, respectively.
Second, new computational directions of GLCM are developed. The traditional GLCM only calculates the co-occurrence matrices in four directions: 0°, 45°, 90°, and 135°. This paper added the co-occurrence matrix in four directions: 22.5°, 67.5°, 112.5°, and 157.5°.
Assuming that the offset distance is d, and the angle is 22.5° (the offset angle is calculated in y-axis), the coordinates of pixel point B0 to be matched are (x + d × sin 22.5°, y + d × cos 22.5°), if the coordinates of initial pixel point A0 is (x, y). Although the pixel point B0 does not exist in image, it must locate in a square area with P0, P1, P2, and P3 as vertices in Figure 4, where the coordinates of the pixel points P0, P1, P2, and P3 are (floor(x + d × sin 22.5°), floor(y + d × cos 22.5°)), (floor(x + d × sin 22.5°), floor(y + d × cos 22.5°) + 1), (floor(x + d × sin 22.5°) + 1, floor(y + d × cos 22.5°) + 1), and (floor(x + d × sin 22.5°) + 1, floor(y + d × cos 22.5°)). The gray value of the final pseudo pixel B0 is shown in Equations (6) and (7):
I ( B 0 ) = r o u n d [ C 0 I ( P 0 ) + C 1 I ( P 1 ) + C 2 I ( P 2 ) + C 3 I ( P 3 ) ]
C i = d i d 1 + d 2 + d 3
where I(P0), I(P1), I(P2), and I(P3) are the gray values of pixel points P0, P1, P2, and P3, respectively; di represents the reciprocal of distance between the pixel point Pi (i = 0, 1, 2, 3) and the pseudo pixel point B0.
Finally, we repeat the above enhancement method, then the GLCM in 8 directions of 0°, 22.5°, 45°, 67.5°, 90°, 112.5°, 135°, and 157.5° can be calculated for any given image. Four statistics values of En, Con, Cor, and Ent can be calculated and vectorized by using the obtained co-occurrence matrix in eight directions. The vectors in all directions are added with the way shown in Figure 5, and the final module En_sum, Con_sum, Cor_sum, and Ent_sum are taken as the enhanced GLCM feature, i.e., EGLCM. The corresponding calculation method is shown in Equations (8)–(11).
E n _ s u m = | i = 0 7 E n ( 22.5 ° i ) |
C o n _ s u m = | i = 0 7 C o n ( 22.5 ° i ) |
C o r _ s u m = | i = 0 7 C o r ( 22.5 ° i ) |
E n t _ s u m = | i = 0 7 E n t ( 22.5 ° i ) |
where E n ( 22.5 ° i ) , C o n ( 22.5 ° i ) , C o r ( 22.5 ° i ) , and E n t ( 22.5 ° i ) (i = 0, 1, 2, …, 7) represent En, Con, Cor, and Ent vectors of 0° to 157.5°, respectively.

2.3. Surface Roughness Estimation Using IPSO-SVR

The generalization and fitting abilities of SVR to small sample data are in a leading position among common machine-learning methods, and the unique kernel-function mapping mechanism is sufficient to solve most complex nonlinear problems. In this paper, we use SVR to estimate the workpiece surface roughness after laser cleaning with radical basis function (RBF). The input features of SVR are the Tamura coarseness feature, Alexnet abstract depth feature, single BRSQUE feature, and our proposed EGLCM feature. The dimensions of related features are shown in Table 2.
The Tamura coarseness feature mainly calculates the difference between the horizontal and vertical average gray values under different window sizes to determine the best value of window size as the coarseness. It can better describe the texture information of image with deep texture. The single BRSQUE feature uses the original size space to calculate BRISQUE feature and discard feature calculation under 0.5 times sampling space. The original BRISQUE features have 36 dimensions; however, we only count first 18 dimensions as the single BRISQUE feature because the texture information is no longer clear for the collected workpiece surface image under 0.5 times sampling space. In addition, the original BRISQUE features with 36 dimensions leads to complex feature combinations, which is prone to create the over fitting problem for SVR model. For the Alexnet abstract-depth feature, we input the collected images into the pre-trained Alexnet, extract the output feature maps by the 1st, 2nd, and 5th convolutional layers, and obtain 3-dimensional Alexnet abstract-depth feature through the fast principal components analysis (PCA) [37] processing as Figure 6 shown. The transfer learning mechanism is used for image feature extraction to reduce the difficulty of artificially designing features, and it is completely handed over to the convolutional network for automatic extraction. For the EGLCM feature, we calculate En_sum, Con_sum, Cor_sum, and Ent_sum at three offset distances (offset = 3, 6, and 9).
SVR has stronger generalization ability compared with traditional polynomial fitting regression, but its selection of parameters c and g will directly affect the effect of SVR fitting regression. Common parameter optimization methods such as manual parameter tuning are time-consuming and laborious; in addition, it is difficult to reach the global optimal value. In this paper, we adopt an IPSO algorithm to estimate the parameters above and realize automatic parameter setting in SVR training process. The traditional PSO algorithm is derived from the imitation of bird foraging behavior [38], and the core velocity and position update formula are shown in Equations (12) and (13).
v i d ( t + 1 ) = w v i d ( t ) + c 1 r a n d ( ) [ p i d ( t ) x i d ( t ) ] + c 2 r a n d ( ) [ p g d ( t ) x i d ( t ) ]
x i d ( t + 1 ) = x i d ( t ) + v i d ( t + 1 )
where vid and xid represent the velocity and position of particle, respectively; pid and pgd are the best individual extremum of particle and the best extremum of global field, respectively; w, c1, and c2 are speed factor, local learning factor, and global learning factor, respectively. The value of w, c1, and c2 are 0.8, 1.4, and 1.4, respectively.
The traditional PSO algorithm has low convergence accuracy and is easy to fall into local extreme values [39]. In this paper, we propose a dynamic nonlinear adaptive adjustment strategy for learning factors that are shown in Equations (14) and (15). Through this improved strategy, in the early stage of particle iteration, the global search factor c2 increases and the local search factor c1 decreases, so as to enhance the global optimization ability of algorithm. In the subsequent stage of particle iteration, the global search factor c2 decreases, while the local search factor c1 increases to enhance the local optimization ability of algorithm. Therefore, the basic steps of using IPSO to optimize SVR training parameters c and g are as follows, and the corresponding flow chart is shown in Figure 7.
c 1 = { t e m p + f f m e a n f m e a n f min t > = m a x i t e r / 2 t e m p ( t < m a x i t e r / 2 )   &   ( t e m p f f m e a n f m e a n f min < = 0 ) t e m p f f m e a n f m e a n f min ( t < m a x i t e r / 2 )   &   ( t e m p f f m e a n f m e a n f min > 0 )
c 2 = { t e m p + f f m e a n f m e a n f min t < m a x i t e r / 2 t e m p ( t > m a x i t e r / 2 )   &   ( t e m p f f m e a n f m e a n f min < = 0 ) t e m p f f m e a n f m e a n f min ( t > m a x i t e r / 2 )   &   ( t e m p f f m e a n f m e a n f min > 0 )
where f is the fitness value of particle at each iteration; fmean and fmin are the average and minimum fitness values of all particles in whole particle swarm; t is the current number of particle iterations; maxiter is the maximum number of particle iterations; and temp is the learning factor constant, whose value is 1.4 equal to the learning factors in formal PSO.
Step 1: Particle swarm is initialized. The number of particle swarm (popsize), maximum number of iterations (maxiter), and optimization range of c and g are set (Table 3).
Step 2: Fitness value of each particle position is calculated.
Step 3: Individual extremum and global extremum of particles due to the fitness value changes are updated.
Step 4: Particle position and velocity according to Equations (12)–(15) are updated.
Step 5: The maximum number of iterations is checked. If the conditions are met, the process ends, and the optimal parameters c and g are outputted; otherwise, the process proceeds to step 2.

3. Experiments and Discussions

In this paper, the fiber laser is used to clean the corroded workpiece surface, and many workpiece-surface images after laser cleaning are collected. A series of simulation experiment are carried out on our PC (2.4 GHz, 8.0 GB RAM) with Python 3.8.0. The experimental evaluation is mainly carried out from two aspects: (1) We compare the scale invariance and rotation invariance between our EGLCM and the traditional GLCM. (2) Considering the different feature combinations, the prediction effects of IPSO-SVR, traditional PSO-SVR, and the back propagation (BP) neural network are investigated to analyze the surface roughness assessment of a workpiece after laser cleaning.

3.1. Experimental Data Acquisition

In order to obtain the experimental data, a Cartesian coordinate robot for laser cleaning and image acquisition is built [40]. The output end of visible-light camera and fiber laser can be alternately fixed on the Cartesian coordinate robot system and the workpiece to be cleaned, located below the robot. The system could collect the workpiece surface images before and after cleaning along a specific path through the visible-light camera, and replace the visible-light camera with the laser output end to carry out the actual laser cleaning process. The basic parameters of the Cartesian robot, fiber laser, and visible-light camera in our experimental system are shown in Table 4, Table 5 and Table 6. For the workpiece after laser cleaning, a white-light interferometer is used to obtain the surface roughness of the workpiece, the ZYGO New View 9000. Its horizontal and vertical resolution are 0.1 nm and 0.36 μm~9.5 μm, respectively. All image data are collected under the condition of optimal laser cleaning (see Section 1), relatively, with laser parameters that continue to iterate until the output of the trained laser-cleaning effect-level prediction model is qualified, and some image samples collected in this experiment are shown in Figure 8.

3.2. Comparison of EGLCM and GLCM Features

In this paper, we enhance the traditional GLCM, modify the calculation method of co-occurrence matrix in the 45° and 135° directions, and add a co-occurrence matrix in the 22.5°, 67.5°, 112.5°, and 157.5° directions. In order to verify the robustness of our EGLCM, we carry out comparative experiments from two aspects.
First, we randomly select an image from our dataset and apply a fixed rotation angle (0°, 22.5°, …, 157.5°) to the image. For the traditional GLCM, En, Con, Cor, and Ent are calculated in four directions (0°, 45°, 90° and 135°), and mean processing is performed to obtain the corresponding En_mean, Con_mean, Cor_mean, and Ent_mean, as shown in Table 7. For our EGLCM, En_mean, Con_mean, Cor_mean, and Ent_mean are obtained in the same way, after calculating in eight directions (0°, 22.5°, …, 157.5°), as shown in Table 8. In this paper, we use the Euclidean distance (Table 9) to verify the rotation invariance of the two features. The Euclidean distance means better robustness, as shown in Equation (16).
E u c l i d e a n = m = 1 n ( x m y m ) 2
where Euclidean means the value of Euclidean distance; xm and ym (m = 1, …, n) are the En_mean, Con_mean, Cor_mean, and Ent_mean of the initial image and transformed image, respectively.
The smaller the Euclidean distance, the higher the robustness of the feature. From Table 9, the Euclidean distances of EGLCM are smaller than GLCM in most cases (the rotation angles are 22.5°, 45°, 67.5°, 112.5°, 135°, and 157.5°). Even in the 90° direction, the performance of EGLCM is also close to that of GLCM. Therefore, the performance of EGLCM is better than the traditional GLCM, and it can improve the rotation invariance of features, except for the 90° direction. On the other hand, we use the randomly selected images to scale with different sizes (the zoom factor is 0.6, 0.7, …, 1.4), consider the same method to calculate the En_mean, Con_mean, Cor_mean, and Ent_mean of two features, and finally use Euclidean distance for rotational invariance comparisons. From these results, the scale invariance of the improved EGLCM is still better than that of the traditional GLCM, as shown in Table 10, Table 11 and Table 12. With the improved method proposed in this paper, the stability of EGLCM for angle transformation and scale transformation can be enhanced.

3.3. Comparison of Surface Roughness Prediction

In this paper, we use IPSO-SVR to estimate the workpiece surface roughness after laser cleaning with the RBF kernel function. The input features of SVR are the Tamura coarseness, Alexnet abstract depth, single BRSQUE, and EGLCM. In order to prove the effectiveness of our design method, 198 training sets are used for IPSO-SVR training, and 50 images are employed for testing. In our experiments, it will be considered to be correct when the relative error between the predicted value given by the model and the actual surface roughness of the image is less than 10% accuracy (defined in Equations (17) and (18)).
a c = { a c O t h e r s a c + 1 a b s ( S R _ t r u e S R _ p r e d i c t i o n ) / S R _ t r u e < = 0.1
a c c u r a c y = a c / n u m _ s u m
where SR_true is the true value of workpiece surface roughness after laser cleaning, SR_prediction is the roughness value predicted for the model, and num_sum is the total number of test sets; here, num_sum = 50.
In this experiment, the extracted features and their dimensions are shown in Table 13. In order to verify the effectiveness of design method, we adopt different feature combinations to train and test the roughness-prediction model. The methods of model training include IPSO-SVR, PSO-SVR, and BP neural network. All features are standardized and normalized before processing. The related feature combination and model results are shown in Table 14.
In Table 14, we also test different feature combination methods, such as the Alexnet abstract depth feature, single BRISQUE feature, and EGLCM feature calculated with En_sum, Con_sum, Cor_sum, and Ent_sum (offset = 3, 6, and 9) for the extracted features; however, the correct rates of them are less than 50.0% in most cases, so we do not list them in Table 14. From Table 14, the EGLCM method, designed in this paper, is used for feature extraction, and the RBF kernel function is also considered to train the IPSO-SVR model, which has the best roughness-prediction effect. Its accuracy rate can reach 92.0%. The corresponding SVR parameters, c and g, are 102.5636 and 0.0152, respectively.
In this paper, we use the transfer-learning mechanism to estimate the surface roughness after laser cleaning, such as the pretrained Alexnet. However, due to the limited amount of datasets, even the processing methods of model fine-tuning and transfer learning are adopted, so the best accuracy is only about 56.0%, which is far lower than the roughness-estimation results of our proposed method. Considering the unique kernel- function mechanism of SVR, we use our feature-combination method to train and test IPSO-SVR for four kernel functions: RBF kernel function, linear kernel function, polynomial kernel function, and sigmoid kernel function. The relevant experiment results are shown in Table 15. As shown in Table 15, our method can achieve the best performance.

4. Discussion

Laser cleaning technology actually uses the characteristics of a high-energy laser to complete cleaning and corrosion removal. The high-energy laser beam irradiates the workpiece surface, so that the corrosion on the surface absorbs the laser energy and heats up rapidly, which then produces a series of complex chemical and physical effects such as combustion and gasification, thermal shock and thermal vibration, acoustic vibration and fragmentation, and finally the corrosion is separated from the workpiece substrate to complete the laser cleaning [41,42]. Clearly, the workpiece surface roughness will change during the process above. For the workpiece surface with a laser-ablation effect, it can be regarded as the result of the joint action of the laser and workpiece materials, which meets the two-temperature model (TTM) [43], as Equation (19) shows. The TTM theory holds that: in the process of femtosecond laser–material interaction, free electrons first absorb the laser energy, and then through electron–phonon coupling, the electrons transfer energy to the lattice, and the lattice temperature increases into a plasma and emanates from the material in an explosion-like form [44]. TTM has been extensively applied or modified for simulating a single ultrashort laser-pulse ablation [45,46]. Obviously, laser ablation is full of the process of laser cleaning, so we use Equation (19) to describe the process.
C e T e t = k e 2 T e x 2 G ( T e T l ) + S ( x , t ) C l T l t = k l 2 T l x 2 + G ( T e T l )
where Ce is the electron specific heat capacity; Te is the electron temperature; t is the action time of laser source; ke is the electronic thermal conductivity; x is the distance in the direction of light transmission; G is the electron–phonon-coupling coefficient; Tl is the lattice temperature; S(x, t) is the energy of the laser emitted by the laser; Cl is the lattice specific-heat capacity; and kl is the lattice thermal conductivity.
In this paper, we adopt surface roughness as a measure to assess the effect of the laser cleaning process. Clearly, the surface roughness is related to the materials themselves and the laser parameters from Equation (19). Common laser parameters include laser frequency, laser linear velocity, laser single-pulse energy, etc. Different laser parameters will affect the surface roughness of the workpiece after cleaning [47]. Regarding the process of the laser cleaning of the workpiece, the laser is the only energy input. Under the impact of high-energy laser pulses, the corrosion attached to the workpiece surface will be heated up, according to Equation (19), until they fall off, which will result in the changes of workpiece surface roughness. With the assistance of image feature extraction, the properties of the workpiece materials themselves and laser parameters can be reflected, i.e., two operations can roughly reflect the interaction process between laser and materials during laser cleaning.
The relationship between the typical laser parameters and the image quality of workpiece after laser cleaning is evaluated in this paper. In this experiment, the laser parameters we adopt are as follows: the linear velocity is 1000.0 mm/s and the laser frequency is 20.0 KHz. We control the laser single-pulse energy from 2.0 mJ to 9.0 mJ to clean the workpiece and use the BRISQUE model to evaluate the quality of cleaned image. For the BRISQUE model, it can reflect well the changes of image texture or spatial structure. At the same time, the BRISQUE score we calculated is based on statistical form, which is obtained by calculating the mean value of multiple experimental pictures under the same experimental conditions. The relevant results are shown in Figure 9. For the BRISQUE model, the higher the score is, the worse the image quality. From Figure 9, when the laser single pulse energy is less than 4.0 mJ, corrosion on the workpiece surface cannot absorb enough energy to escape, which leads to poor image quality and difficulty for precise roughness estimation. When the laser single-pulse energy is large than 4.0 mJ, laser cleaning efficiency is the highest, and the corrosion attached to the surface is almost completely removed. Therefore, the quality of the collected image maintains a relatively excellent level for the subsequent accurate estimation of roughness. However, the laser single pulse energy should not be too high. When the laser single-pulse is 9.0 mJ, the oxide layer covering the workpiece is damaged, and the image quality is worse than before, which will result in the bad performance of the surface roughness estimation model. Based on a large number of cleaning experiments, it is shown that when the laser single-pulse energy is between 4.0 mJ and 8.0 mJ, the workpieces after laser cleaning can reach the corrosion degree A or B, and the cleaning results are satisfactory, which can be regarded as the ideal single-pulse energy. Clearly, the higher the degree of corrosion, the higher the laser energy to completely remove the corrosion. In addition, we believe that the cleaning effect may be better when the laser single-pulse energy is 8.0 mJ. From the laser cleaning process, it is not difficult to see that for the workpiece surface with the same degree of corrosion, on the premise of not damaging the workpiece base material, the laser with higher energy has a stronger cleaning ability for the corrosion attached to the workpiece surface, and the residual corrosion area is also less.
In order to further verify the effectiveness of IPSO algorithm proposed in this paper, we further supplement the comparative experiments of the SVR models based on genetic algorithm-SVR (GA-SVR) and grid search algorithm-SVR (G-SVR). The experimental conditions of the two methods are the same as those of the previous IPSO-SVR model (see Section 2.3), and the relevant results are shown in Table 16 and Table 17. As shown in Table 15, Table 16 and Table 17, under the same training parameters to be optimized, when the kernel function is RBF, the accuracy of the IPSO algorithm is higher than those of grid search algorithm and genetic algorithm with the same feature combination, in most cases. Besides, the highest accuracy of the IPSO algorithm is 92.0%, which is higher than the 90.0% accuracy of the genetic algorithm and the 84.0% accuracy of the grid search algorithm. As a result, the IPSO algorithm proposed in this paper is much better than the traditional grid search algorithm and genetic algorithm in optimizing SVR based on RBF kernel function. The strategy of asynchronous change of the global learning factor and the local learning factor enhances the global and local search capabilities of IPSO, and it is easier to jump out of the local extreme value to reach the global optimal solution. Although the IPSO also has poor performance for the sigmoid kernel function, the SVR training model based on RBF kernel function is sufficient to solve most problems in actual applications, which will not affect the efficiency of IPSO. Besides, the IPSO algorithm takes longer to optimize the training parameters than the two traditional methods.
In this paper, we propose a method to estimate the roughness of the workpiece surface after laser cleaning, so we also compare other surface roughness estimation methods for laser cleaning application. The authors in [24] extracted a series of GLCM-based indicators as the input of SVM and constructed a GLCM-SVM model to measure surface roughness using the RBF kernel function (Method 1). Besides, the authors in [48] analyzed the relationship between the homogeneity and contrast parameters of GLCM and surface roughness, and a roughness regression model was constructed by the polynomial fitting (Method 2). In addition, we also used the Tamura coarseness, GLCM, and concavo-convex region features to construct the SVR roughness-estimation model in our previous work [25] (Method 3). Therefore, we conduct a comparative experiment under the same experimental conditions as Section 3.3, and the corresponding experimental results are shown in Table 18. For Method 1 and Method 3, we also adopt different kernel functions to train the surface roughness estimation model. From Table 18, our method using RBF kernel function has the best accuracy, which is 92.0% and higher than the 82.0% accuracy of Method 1, the 56.0% accuracy of Method 2, and the 76.0% accuracy of Method 3.
Our method proposed in this paper has at least three advantages. First, it has a high degree of automation compared with traditional contact measurement for surface roughness assessment, which can prevent the workpiece from being damaged. Second, the robustness of the EGLCM feature is better than the traditional GLCM feature. With the assistance of various features, the effect of the surface roughness estimation model is stable, and the accuracy of the final model can reach 92.0% through lots of experiments. Third, the IPSO algorithm enhances the ability of parameter optimization in machine learning training, and it can confirm the best training parameters automatically without random commissioning. Obviously, our method also has some shortcomings. For example, the time cost of parameter optimization using the IPSO algorithm is longer than the genetic algorithm and grid search algorithm, which can be improved in our future work.

5. Conclusions

To evaluate the effect of laser cleaning for Q235 carbon steel, a new surface roughness estimation method after laser cleaning is proposed in this paper. A series of image features, i.e., the Tamura coarseness, EGLCM, single BRISQUE, and Alexnet abstract depth are calculated. Besides, the IPSO-SVR is employed to train the model for surface roughness prediction. In order to get the best performance, different feature combinations are adopted as the input, and the accuracy of final model can reach 92.0% through lots of experiments. In our future work, we may collect the laser cleaning pictures of different materials, build the database, and use the emerging deep-learning method to study the roughness estimation.

Author Contributions

Conceptualization, H.L. and S.Y.; data curation, J.G., S.Y., and J.L.; formal analysis, J.G. and H.L.; funding acquisition, H.L., S.Y. and J.L.; investigation, J.G., H.L., S.Y. and J.L.; methodology, J.G.; project administration, H.L. and S.Y.; resources, J.G. and H.L.; software, J.G. and J.L.; supervision, H.L. and S.Y.; visualization, J.L.; writing—review and editing, H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant No. 61975011, the Fund of State Key Laboratory of Intense Pulsed Radiation Simulation and Effect under Grant No. SKLIPR2024, and the Fundamental Research Fund for the China Central Universities of USTB under Grant No. FRF-BD-19-002A.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

Here is a list of the main abbreviations used in this article.
BPBack propagation
BRISQUEBlind/referenceless image spatial quality evaluator
EGLCMEnhanced gray level co-occurrence matrix
GA-SVRGenetic algorithm-support vector regression
GLCMGray level co-occurrence matrix
GLCM-SVMGray level co-occurrence matrix-support vector machine
G-SVRGrid search algorithm-support vector regression
IPSOImproved particle swarm optimization
IPSO-SVRImproved particle swarm optimization-support vector regression
PCAPrincipal components analysis
PSOParticle swarm optimization
PSO-SVRParticle swarm optimization-support vector regression
RBFRadical basis function
SVMSupport vector machine
SVRSupport vector regression
TTMTwo-temperature model

References

  1. Nilaya, J.P.; Biswas, D.J. Laser-assisted cleaning: Dominant role of surface. Pramana 2010, 75, 1087–1097. [Google Scholar] [CrossRef]
  2. Tam, A.C.; Park, H.K.; Grigoropoulos, C.P. Laser cleaning of surface contaminants. Appl. Surf. Sci. 1998, 127–129, 721–725. [Google Scholar] [CrossRef]
  3. Pozo-Antonio, J.S.; Rivas, T.; Fiorucci, M.P.; López, A.J.; Ramil, A. Effectiveness and harmfulness evaluation of graffiti cleaning by mechanical, chemical and laser procedures on granite. Microchem. J. 2016, 125, 1–9. [Google Scholar] [CrossRef]
  4. Chunhakit, C.; Kittiboonanan, P.; Putchana, W.; Ratanavis, A. The evaluation of laser cleaning of silica nanowires. J. Phys. Conf. Ser. 2017, 901, 012104. [Google Scholar] [CrossRef]
  5. Nevin, A.; Pouli, P.; Georgious, S.; Fotakis, C. Laser conservation of art. Nat. Mater. 2007, 6, 320–322. [Google Scholar] [CrossRef]
  6. Genna, S.; Lambiase, F.; Leone, C. Effect of laser cleaning in laser assisted joining of CFRP and PC sheets. Compos. Part B Eng. 2018, 145, 206–214. [Google Scholar] [CrossRef]
  7. Li, F.; Chen, X.; Lin, W.; Pan, H.; Jin, X.; Hua, X. Nanosecond laser ablation of Al-Si coating on boron steel. Surf. Coat. Technol. 2017, 319, 129–135. [Google Scholar] [CrossRef]
  8. Razab, M.K.A.A.; Noor, A.M.; Jaafar, M.S.; Abdullah, A.H.; Suhaimi, F.M.; Mohamed, M.; Adam, N.; Yusuf, N.A.A.N. A review of incorporating Nd:YAG laser cleaning principal in automotive industry. J. Radiat. Res. Appl. Sci. 2018, 11, 393–402. [Google Scholar] [CrossRef] [Green Version]
  9. Schweizer, G.; Werner, L. Industrial 2–kW TEA CO2 laser for paint stripping of aircraft. In Proceedings of the Gas Flow and Chemical Lasers: Tenth International Symposium, Friedrichshafen, Germany, 5–9 September 1995. [Google Scholar]
  10. Lu, Y.F.; Song, W.D.; Hong, M.H.; Zheng, Y.W.; Chong, T.C. Laser surface cleaning and potential applications in disk drive industry. Tribol. Int. 2000, 33, 329–335. [Google Scholar] [CrossRef]
  11. Shi, T.; Wang, C.; Mi, G.; Yan, F. A study of microstructure and mechanical properties of aluminum alloy using laser cleaning. J. Manuf. Process. 2019, 42, 60–66. [Google Scholar] [CrossRef]
  12. Papadakis, V.; Loukaiti, A.; Pouli, P. A spectral imaging methodology for determining on-line the optimum cleaning level of stonework. J. Cult. Herit. 2010, 11, 325–328. [Google Scholar] [CrossRef]
  13. Márton, Z.; Kisapáti, I.; Török, A.; Tornari, V.; Bernikola, E.; Melessanaki, K.; Pouli, P. Holographic testing of possible mechanical effects of laser cleaning on the structure of model fresco samples. NDT&E Int. 2014, 63, 53–59. [Google Scholar]
  14. Fortes, F.J.; Cabalín, L.M.; Laserna, J.J. The potential of laser-induced breakdown spectrometry for real time monitoring the laser cleaning of archaeometallurgical objects. Spectrochim. Acta Part B At. Spectrosc. 2008, 63, 1191–1197. [Google Scholar] [CrossRef]
  15. George, J.; Tserevelakis, G.J.; Pozo-Antonio, J.S.; Siozos, P.; Rivas, T.; Pouli, P.; Zacharakis, G. On-line photoacoustic monitoring of laser cleaning on stone: Evaluation of cleaning effectiveness and detection of potential damage to the substrate. J. Cult. Herit. 2019, 35, 108–115. [Google Scholar]
  16. Tserevelakis, G.J.; Pouli, P.; Zacharakis, G. Listening to laser light interactions with objects of art: A novel photoacoustic approach for diagnosis and monitoring of laser cleaning interventions. Herit. Sci. 2020, 8, 98. [Google Scholar] [CrossRef]
  17. Papanikolaou, A.; Tserevelakis, G.J.; Melessanaki, K.; Fotakis, C.; Zacharakis, G.; Pouli, P. Development of a hybrid photoacoustic and optical monitoring system for the study of laser ablation processes upon the removal of encrustation from stonework. Opto-Electron. Adv. 2020, 3, 190037. [Google Scholar] [CrossRef]
  18. Demircioglu, P.; Durakbasa, M.N. Investigations on machined metal surfaces through the stylus type and optical 3D instruments and their mathematical modeling with the help of statistical techniques. Measurement 2011, 44, 611–619. [Google Scholar] [CrossRef]
  19. He, K.; Gao, M.; Zhao, Z. Soft computing techniques for surface roughness prediction in hard turning: A literature review. IEEE Access 2019, 7, 89556–89569. [Google Scholar] [CrossRef]
  20. Chakrapani, S.K.; Howard, A.; Barnard, D. Influence of surface roughness on the measurement of acoustic nonlinearity parameter of solids using contact piezoelectric transducers. Ultrasonics 2018, 84, 112–118. [Google Scholar] [CrossRef]
  21. Hatakeyma, T.; Kibushi, R.; Ishizuka, M.; Tomimura, T. Fundamental study of surface roughness dependence of thermal and electrical contact resistance. In Proceedings of the 2016 15th IEEE Intersociety Conference on Thermal and Thermomechanical Phenomena in Electronic Systems, Las Vegas, NV, USA, 31 May–3 June 2016. [Google Scholar]
  22. Ragheb, H.; Hancock, E.R. The modified Beckmann-Kirchhoff scattering theory for rough surface analysis. Pattern Recognit. 2007, 40, 2004–2020. [Google Scholar] [CrossRef]
  23. Gadelmawla, E. A vision system for surface roughness characterization using the gray level co-occurrence matrix. NDT & E Int. 2004, 37, 577–588. [Google Scholar]
  24. Liu, W.; Tu, X.; Jia, Z.; Wang, W.; Ma, X.; Bi, X. An improved surface roughness measurement method for micro-heterogeneous texture in deep hole based on gray-level co-occurrence matrix and support vector machine. Int. J. Adv. Manuf. Technol. 2013, 69, 583–593. [Google Scholar] [CrossRef]
  25. Liu, H.; Li, J.; Yang, Y.; Lan, J.; Xue, Y. Automatic process parameters tuning and surface roughness estimation for laser cleaning. IEEE Access 2020, 8, 20904–20919. [Google Scholar] [CrossRef]
  26. Liu, F.; Du, M.; Zhang, J.; Qiu, M. Electrochemical behavior of Q235 steel in saltwater saturated with carbon dioxide based on new imidazoline derivative inhibitor. Corros. Sci. 2009, 51, 102–109. [Google Scholar] [CrossRef]
  27. Tamura, H.; Mori, S.; Yamawaki, T. Textural features corresponding to visual perception. IEEE Trans. Syst. Man. Cybern. 1978, 8, 460–473. [Google Scholar] [CrossRef]
  28. Kumar, L.S.; Hariharasitaraman, S.; Narayanasamy, K.; Thinakaran, K.; Mahalakshmi, J.; Pandimurugan, V. AlexNet approach for early stage Alzheimer’s disease detection from MRI brain images. Mater. Today Proc. 2021, 51, 58–65. [Google Scholar] [CrossRef]
  29. Mittal, A.; Moorthy, A.K.; Bovik, A.C. No-reference image quality assessment in the spatial domain. IEEE Trans. Image Process. 2012, 21, 4695–4708. [Google Scholar] [CrossRef]
  30. Moorthy, A.K.; Bovik, A.C. A two-step framework for constructing blind image quality indices. IEEE Signal Process. Lett. 2010, 17, 513–516. [Google Scholar] [CrossRef]
  31. Neto, M.C.; Jeong, Y.S.; Jeong, M.K.; Han, L.D. Online-SVR for short-term traffic flow prediction under typical and atypical traffic conditions. Expert Syst. Appl. 2009, 36, 6164–6173. [Google Scholar] [CrossRef]
  32. Aisyah, S.; Simaremare, A.A.; Adytia, D.; Aditya, I.A.; Alamsyah, A. Exploratory weather data analysis for electricity load forecasting using SVM and GRNN, case study in Bali, Indonesia. Energies 2022, 15, 3566. [Google Scholar] [CrossRef]
  33. Xu, F.; Chen, M.; Liang, X.; Liu, W. PSO optimized active disturbance rejection control for aircraft anti-skid braking system. Algorithms 2022, 15, 158. [Google Scholar] [CrossRef]
  34. Zarrouk, R.; Daoud, W.B.; Mahfoudhi, S.; Jemai, A. Embedded PSO for solving FJSP on embedded environment (Industry 4.0 Era). Appl. Sci. 2022, 12, 2829. [Google Scholar] [CrossRef]
  35. Haralick, R.A.; Shanmugam, K.; Dinstein, I.K. Textural features for image classification. IEEE Trans. Syst. Man. Cybern. 1973, SMC–3, 610–621. [Google Scholar] [CrossRef] [Green Version]
  36. Miron, M.; Moldovanu, S.; Ștefănescu, B.I.; Culea, M.; Pavel, S.M.; Culea-Florescu, A.L. A new approach in detectability of microcalcifications in the placenta during pregnancy using textural features and k-nearest neighbors algorithm. J. Imaging 2022, 8, 81. [Google Scholar] [CrossRef]
  37. Li, H.; Liu, J.; Liu, R.W.; Xiong, N.; Wu, K.; Kim, T.-H. A dimensionality reduction-based multi-step clustering method for robust vessel trajectory analysis. Sensors 2017, 17, 1792. [Google Scholar] [CrossRef] [Green Version]
  38. Sun, Y.; He, D.; Li, J. Research on the fatigue life prediction for a new modified asphalt mixture of a support vector machine based on particle swarm optimization. Appl. Sci. 2021, 11, 11867. [Google Scholar] [CrossRef]
  39. Banerjee, B.P.; Raval, S. A particle swarm optimization based approach to pre-tune programmable hyperspectral sensors. Remote Sens. 2021, 13, 3295. [Google Scholar] [CrossRef]
  40. Li, J.; Liu, H.; Lan, J. Imaging feature analysis-based intelligent laser cleaning using metal color difference and dynamic surface weight dispatch corrosion. Photonics 2020, 7, 130. [Google Scholar] [CrossRef]
  41. Leontyev, A.; Semerok, A.; Farcage, D.; Thro, P.-Y.; Grisolia, C.; Widdowson, A.; Coad, P.; Rubel, M. Theoretical and experimental studies on molybdenum and stainless steel mirrors cleaning by high repetition rate laser beam. Fusion Eng. Des. 2011, 86, 1728–1731. [Google Scholar] [CrossRef]
  42. Li, Z.; Zhang, D.; Su, X.; Yang, S.; Xu, J.; Ma, R.; Shan, D.; Guo, B. Removal mechanism of surface cleaning on TA15 titanium alloy using nanosecond pulsed laser. Opt. Laser Technol. 2021, 139, 106998. [Google Scholar] [CrossRef]
  43. Anisimov, S.I.; Rethfeld, B. Theory of ultrashort laser pulse interaction with a metal. In Proceedings of the Nonresonant Laser-Matter Interaction, St. Petersburg, Russia, 1–3 July 1996. [Google Scholar]
  44. Wang, X.; Huang, Y.; Li, C.; Xu, B. Numerical simulation and experimental study on picosecond laser ablation of stainless steel. Opt. Laser Technol. 2020, 127, 106150. [Google Scholar] [CrossRef]
  45. Cai, X.; Ji, C.; Li, C.; Tian, Z.; Wang, X.; Lei, C.; Liu, S. Multiphoton absorption simulation of sapphire substrate under the action of femtosecond laser for larger density of pattern-related process windows. Micromachines 2021, 12, 1571. [Google Scholar] [CrossRef] [PubMed]
  46. Vanov, D.S.; Izgin, T.; Maiorov, A.N.; Veiko, V.P.; Rethfeld, B.; Dombrovska, Y.I.; Garcia, M.E.; Zavestovskaya, I.N.; Klimentov, S.M.; Kabashin, A.V. Numerical investigation of ultrashort laser-ablative synthesis of metal nanoparticles in liquids using the atomistic-continuum model. Molecules 2020, 25, 67. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  47. Liu, Y.; Liu, W.; Zhang, D.; Tian, Z.; Sun, X.; Wei, Z. Experimental investigations into cleaning mechanism of ship shell plant surface involved in dry laser cleaning by controlling laser power. Appl. Phys. A 2020, 126, 866. [Google Scholar] [CrossRef]
  48. Pradana, A.B.; Prajitno, P. A portable surface roughness measurement system using laser speckle imaging based on GLCM. In Proceedings of the 2019 6th International Conference on Instrumentation, Control, and Automation (ICA), Bandung, Indonesia, 31 July–2 August 2019. [Google Scholar]
Figure 1. Flowchart of the proposed method.
Figure 1. Flowchart of the proposed method.
Photonics 09 00510 g001
Figure 2. The 2D and 3D image samples after laser cleaning: (a) 2D image sample; (b) 3D image sample.
Figure 2. The 2D and 3D image samples after laser cleaning: (a) 2D image sample; (b) 3D image sample.
Photonics 09 00510 g002
Figure 3. Definition of 45° matching pixel point when calculating co-occurrence matrix.
Figure 3. Definition of 45° matching pixel point when calculating co-occurrence matrix.
Photonics 09 00510 g003
Figure 4. Sketch map of 22.5° pseudo pixel point in a square.
Figure 4. Sketch map of 22.5° pseudo pixel point in a square.
Photonics 09 00510 g004
Figure 5. Sketch map of 8 direction vectors. The length of the arrow represents the modulus of vector, and the angle (0°, 22.5°, 45°, 67.5°, 90°, 112.5°, 135°, or 157.5°) represents the angle between the vector and Y axis.
Figure 5. Sketch map of 8 direction vectors. The length of the arrow represents the modulus of vector, and the angle (0°, 22.5°, 45°, 67.5°, 90°, 112.5°, 135°, or 157.5°) represents the angle between the vector and Y axis.
Photonics 09 00510 g005
Figure 6. Flowchart of extracting the Alexnet abstract-depth feature.
Figure 6. Flowchart of extracting the Alexnet abstract-depth feature.
Photonics 09 00510 g006
Figure 7. Flowchart of optimizing SVR with IPSO.
Figure 7. Flowchart of optimizing SVR with IPSO.
Photonics 09 00510 g007
Figure 8. Experimental data samples.
Figure 8. Experimental data samples.
Photonics 09 00510 g008
Figure 9. Histogram of laser single-pulse energy and BRISQUE score.
Figure 9. Histogram of laser single-pulse energy and BRISQUE score.
Photonics 09 00510 g009
Table 1. The description of corrosion degree.
Table 1. The description of corrosion degree.
Corrosion DegreeDescription
AAlmost no corrosion blocks can be found on the metal.
BOnly small corrosion blocks remain on the metal surface.
CA large amount of corrosion blocks can be found.
DThe metal surface is covered by big corrosion blocks completely.
Table 2. Input feature name and dimension of SVR.
Table 2. Input feature name and dimension of SVR.
NumFeature NameDimension 1
1Tamura coarseness feature1
2Alexnet abstract depth feature3
3Single BRISQUE feature18
4EGLCM feature calculated with En_sum, Con_sum, Cor_sum, and Ent_sum
(offset = 3, 6, and 9)
12
1 When the extracted features are inputted into SVR, they are processed in the form of feature vector, and the “Dimension” represents the scale of the feature vector. For example, if the extracted feature is [0.1, 0.2, 0.3, 0.4], the “Dimension” of feature is 4.
Table 3. Initial parameters of IPSO.
Table 3. Initial parameters of IPSO.
NumParameter NameValue
1Popsize20
2Maxiter50
3Range of c[0.01, 120]
4Range of g[0.01, 1]
Table 4. The basic parameters of Cartesian robot in our experimental system.
Table 4. The basic parameters of Cartesian robot in our experimental system.
Size (cm × cm)Maximum Motor Rotation Speed (rpm)Reorientation Accuracy (mm)
60.0 × 50.0≤1200.0 (x axis and y axis)±0.01 (x axis and y axis)
Table 5. The basic parameters of fiber laser in our experimental system.
Table 5. The basic parameters of fiber laser in our experimental system.
Linear
Velocity (mm/s)
Maximum Average Output Power (w)Frequency (KHz)Pulse Width (ns)
100.0~7000.0190.0~210.020.0~50.030.0~400.0
Single Pulse
Energy (mJ)
Focal Length (mm)Line Space (mm)
1.5~10.5217.0~2277.00.02~1.0
Table 6. The basic parameters of visible-light camera in our experimental system.
Table 6. The basic parameters of visible-light camera in our experimental system.
Sensor TypeSensor Size (μm × μm)Maximum Resolution
CMOS3.2 × 3.22048 × 1536
Focal Length (mm)Frame Rate (Hz)Working Wavelength
5.012.0Visible light
Table 7. Results of traditional GLCM with different angles.
Table 7. Results of traditional GLCM with different angles.
AngleEn_MeanCon_MeanCor_MeanEnt_Mean
0.010112.72460.03324.9852
22.5°0.16823.37360.08443.1262
45°0.23772.05890.11292.6725
67.5°0.16813.39920.08423.1279
90°0.010112.72460.03324.9852
112.5°0.16823.37360.08443.1262
135°0.23772.05890.11292.6725
157.5°0.16813.39920.08423.1279
Table 8. Result of EGLCM with different angles.
Table 8. Result of EGLCM with different angles.
AngleEn_MeanCon_MeanCor_MeanEnt_Mean
0.011211.52940.03494.9304
22.5°0.17373.04990.08593.0570
45°0.24012.21270.10652.6070
67.5°0.17323.05890.08583.0591
90°0.011212.51270.03494.9304
112.5°0.17273.04660.08593.0613
135°0.24002.17900.10682.6090
157.5°0.17213.05260.08583.0632
Table 9. Euclidean distances of GLCM and EGLCM with different angles.
Table 9. Euclidean distances of GLCM and EGLCM with different angles.
AngleEuclidean Distance of GLCMEuclidean Distance of EGLCM
22.5°9.53548.6857
45°10.89989.6050
67.5°9.51008.6765
90°00.0168
112.5°9.53248.6880
135°10.88989.6373
157.5°9.51008.6807
Table 10. Results of traditional GLCM with different zoom factors.
Table 10. Results of traditional GLCM with different zoom factors.
Zoom FactorEn_MeanCon_MeanCor_MeanEnt_Mean
0.60.009213.73270.03215.0334
0.70.009313.54630.03225.0331
0.80.009413.30130.03245.0250
0.90.009712.87640.03315.0078
1.00.010112.72460.03324.9852
1.10.010012.39320.03364.9912
1.20.010112.20700.03384.9827
1.30.010511.91740.03424.9541
1.40.010311.82240.03424.9689
Table 11. Results of EGLCM with different zoom factors.
Table 11. Results of EGLCM with different zoom factors.
Zoom FactorEn_MeanCon_MeanCor_MeanEnt_Mean
0.60.009612.15360.03445.0026
0.70.009912.04000.03434.9931
0.80.010111.92790.03434.9833
0.90.010711.66320.03494.9525
1.00.011211.52940.03494.9304
1.10.011211.41610.03504.9294
1.20.011511.31360.03504.9167
1.30.012011.10310.03534.8866
1.40.011911.03400.03524.8930
Table 12. Euclidean distances of GLCM and EGLCM with different zoom factors.
Table 12. Euclidean distances of GLCM and EGLCM with different zoom factors.
Zoom FactorEuclidean Distance of GLCMEuclidean Distance of EGLCM
0.61.00930.6284
0.70.82310.5144
0.80.57820.4020
0.90.15350.1356
1.10.33140.1133
1.20.51760.2163
1.30.80780.4285
1.40.90230.4968
Table 13. The feature names and their dimensions.
Table 13. The feature names and their dimensions.
NumFeature NameDimension
1Tamura coarseness1
2Alexnet abstract depth3
3Single BRISQUE18
4EGLCM calculated with En_sum, Con_sum, Cor_sum, and Ent_sum (offset = 3, 6, and 9)12
5Traditional GLCM calculated with En_sum, Con_sum, Cor_sum, and Ent_sum (offset = 3, 6, and 9)12
6EGLCM calculated with the mean and variance of En, Con, Cor, and Ent (offset = 3, 6, and 9)24
7Traditional GLCM calculated with the mean and variance of En, Con, Cor, and Ent (offset = 3, 6, and 9)24
Table 14. The accuracies of IPSO-SVR, PSO-SVR, and BP neural network.
Table 14. The accuracies of IPSO-SVR, PSO-SVR, and BP neural network.
Feature CombinationIPSO-SVRPSO-SVRBP
Our method: 1 + 2 + 3 + 4 192.0%90.0%86.0%
1 + 2 + 3 + 772.0%70.0%78.0%
1 + 2 + 388.0%84.0%64.0%
1 + 2 + 3 + 588.0%78.0%84.0%
1 + 2 + 3 + 676.0%76.0%76.0%
1 + 3 + 484.0%82.0%78.0%
1 + 3 + 762.0%56.0%74.0%
1 + 2 + 482.0%78.0%74.0%
1 + 2 + 580.0%80.0%78.0%
1 + 2 + 682.0%78.0%72.0%
1 1 + 2 + 3 + 4 represents the features defined in Table 13. For example, if 1 represents Tamura coarseness feature, features 1 + 2 + 3 + 4 represent the combination of Tamura coarseness feature, Alexnet abstract depth feature, single BRISQUE feature, and EGLCM feature, calculated with En_sum, Con_sum, Cor_sum, and Ent_sum (offset = 3, 6, and 9).
Table 15. The accuracy of IPSO-SVR with different kernel functions.
Table 15. The accuracy of IPSO-SVR with different kernel functions.
Feature CombinationRBFLinearPolynomialSigmoid
Our method: 1 + 2 + 3 + 492.0%80.0%78.0%82.0%
1 + 2 + 3 + 772.0%60.0%54.0%76.0%
1 + 2 + 388.0%86.0%66.0%86.0%
1 + 2 + 3 + 588.0%84.0%78.0%86.0%
1 + 2 + 3 + 676.0%74.0%76.0%80.0%
1 + 3 + 484.0%84.0%80.0%80.0%
1 + 3 + 762.0%70.0%72.0%70.0%
1 + 2 + 482.0%80.0%86.0%74.0%
1 + 2 + 580.0%78.0%84.0%70.0%
1 + 2 + 682.0%78.0%90.0%70.0%
Table 16. The accuracy of GA-SVR with different kernel functions.
Table 16. The accuracy of GA-SVR with different kernel functions.
Feature CombinationRBFLinearPolynomialSigmoid
Our method: 1 + 2 + 3 + 490.0%80.0%76.0%86.0%
1 + 2 + 3 + 770.0%58.0%64.0%68.0%
1 + 2 + 380.0%76.0%70.0%80.0%
1 + 2 + 3 + 584.0%86.0%66.0%82.0%
1 + 2 + 3 + 670.0%66.0%82.0%74.0%
1 + 3 + 478.0%78.0%78.0%80.0%
1 + 3 + 758.0%70.0%68.0%70.0%
1 + 2 + 476.0%74.0%86.0%80.0%
1 + 2 + 576.0%82.0%76.0%78.0%
1 + 2 + 674.0%70.0%86.0%72.0%
Table 17. The accuracy of G-SVR with different kernel functions.
Table 17. The accuracy of G-SVR with different kernel functions.
Feature CombinationRBFLinearPolynomialSigmoid
Our method: 1 + 2 + 3 + 476.0%86.0%72.0%80.0%
1 + 2 + 3 + 756.0%58.0%64.0%72.0%
1 + 2 + 384.0%76.0%58.0%76.0%
1 + 2 + 3 + 582.0%78.0%70.0%84.0%
1 + 2 + 3 + 670.0%66.0%74.0%80.0%
1 + 3 + 478.0%78.0%78.0%80.0%
1 + 3 + 754.0%74.0%76.0%80.0%
1 + 2 + 476.0%80.0%82.0%84.0%
1 + 2 + 578.0%82.0%78.0%82.0%
1 + 2 + 672.0%68.0%84.0%82.0%
Table 18. The accuracy of different surface roughness estimation methods.
Table 18. The accuracy of different surface roughness estimation methods.
Our Method (RBF)Our Method (Linear)Our Method
(Polynomial)
Our Method
(Sigmoid)
92.0%80.0%78.0%82.0%
Method1 (RBF)Method1 (Linear)Method1 (Polynomial)Method1 (Sigmoid)
82.0%60.0%76.0%58.0%
Method1 (BP)Method2 (Contrast)Method2
(Homogeneity)
Method3 (RBF)
62.0%56.0%50.0%64.0%
Method3 (Linear)Method3
(Polynomial)
Method3 (Sigmoid)Method3 (BP)
50.0%76.0%56.0%62.0%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ge, J.; Liu, H.; Yang, S.; Lan, J. Laser Cleaning Surface Roughness Estimation Using Enhanced GLCM Feature and IPSO-SVR. Photonics 2022, 9, 510. https://doi.org/10.3390/photonics9080510

AMA Style

Ge J, Liu H, Yang S, Lan J. Laser Cleaning Surface Roughness Estimation Using Enhanced GLCM Feature and IPSO-SVR. Photonics. 2022; 9(8):510. https://doi.org/10.3390/photonics9080510

Chicago/Turabian Style

Ge, Jianyue, Haoting Liu, Shaohua Yang, and Jinhui Lan. 2022. "Laser Cleaning Surface Roughness Estimation Using Enhanced GLCM Feature and IPSO-SVR" Photonics 9, no. 8: 510. https://doi.org/10.3390/photonics9080510

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