Image processing method for infrared thermal imaging defect detection based on multi-layer autoencoder

The infrared thermal imaging data is processed through a multi-layer autoencoder network, which solves the noise and background uniformity problems in infrared thermal imaging detection of composite materials, significantly improves the identification ability of composite material defect detection, and achieves an improvement in contrast.

CN113552172BActive Publication Date: 2024-09-06ZHEJIANG UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202110991444.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-09-06
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

Existing infrared thermal imaging non-destructive testing technology has problems with image blur, high noise and uneven temperature in composite materials, resulting in unclear contrast between defects and background information, making it difficult to effectively detect defects in composite materials.

Method used

An infrared thermal imaging defect detection image processing method based on multi-layer autoencoders is adopted. The thermal imaging data is denoised and background uniformized by constructing a multi-layer autoencoder network, and multi-layer structures and activation functions are used to extract the characteristics of the thermal imaging data. Essential characteristics, separating defects and background information.

Benefits of technology

It effectively removes noise and uneven background in infrared thermal imaging data, improves the contrast between defects and background information, enhances the identification ability of composite material defect detection, and significantly improves the signal-to-noise ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113552172B
    Figure CN113552172B
Patent Text Reader

Abstract

The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder belongs to the field of defect detection technology in industrial processes. It includes the following steps: 1) obtaining an infrared thermal imaging defect image data set; 2) preprocessing the collected defect thermal image data; 3) constructing a multi-layer autoencoder thermal imaging MAT data enhancement model. The present invention uses the nonlinear feature transformation of a multi-layer neural network to enhance the data of the thermal image collected by the infrared thermal imager, and describes the essential characteristics between the thermal imaging data in a dimensionality reduction manner, which can better separate the defects from the background information; by adding an activation function to each layer of the multi-layer autoencoder, the model can better process thermal imaging data with nonlinear characteristics, and extract the essential characteristics of the data through a multi-hidden layer structure with neurons reduced layer by layer, so as to achieve the effect of removing noise and uneven background.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of defect detection in industrial processes, and in particular relates to an infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder. Background Art

[0002] With the continuous development of materials science, composite materials are increasingly used in various fields. Taking carbon fiber reinforced polymer (CFRP) as an example, due to its high specific strength, high specific modulus, low density, high temperature resistance, corrosion resistance and other characteristics, it has largely replaced traditional metals in the fields of aircraft manufacturing, automobile manufacturing and energy. However, due to its complex structure, it often produces defects such as debonding, porosity, delamination, looseness, inclusions, etc. during the manufacturing and use process. The presence of these defects will significantly reduce the residual stiffness and load-bearing capacity of CFRP. Therefore, it is very important to regularly detect defects in materials.

[0003] At present, active infrared thermal imaging nondestructive testing technology is widely used in industrial inspection due to its wide detection range and suitability for large-area surface inspection. However, compared with visible light images, the thermal images obtained by it mostly have disadvantages such as image blur and high noise. In addition, due to the high power of pulse excitation and short heating and cooling time, there is a phenomenon of uneven temperature, which leads to unclear contrast between defects and background information. Summary of the invention

[0004] In view of the above problems existing in the prior art, the purpose of the present invention is to provide a method for infrared thermal imaging detection of composite material defects based on a multi-layer autoencoder. The constructed model can achieve the effect of removing noise and uneven background from thermal imaging data.

[0005] The present invention provides the following technical solution: an infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder, comprising the following steps:

[0006] (1) Obtaining infrared thermal imaging defect image data set: Using the IRT system to collect data, the collected defect thermal image data is saved as a three-dimensional matrix and recorded;

[0007] (2) Image preprocessing: preprocess the collected defect thermal image data to expand it from a three-dimensional matrix into a two-dimensional matrix, and standardize the expanded two-dimensional matrix;

[0008] (3) Construct a multi-layer autoencoder thermal imaging MAT data enhancement model: Establish a multi-layer autoencoder network MAE, and apply the multi-layer autoencoder network MAE to infrared thermal imaging image processing, build a multi-layer autoencoder thermal imaging MAT model, and then use each column of the standardized two-dimensional matrix as a sample for model training, extract features from the sample data and visualize the output results of the middle hidden layer to achieve the effect of removing noise and uneven background.

[0009] The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder is characterized in that the specific process of step (1) is as follows:

[0010] When collecting data, the sample needs to be heated instantaneously, and its surface temperature change process needs to be recorded with an infrared camera during its cooling stage, and the collected thermal images need to be transferred to a computer for storage;

[0011] The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder is characterized in that the specific process of step (2) is as follows:

[0012] Step 2.1: Expand the three-dimensional matrix defect thermal image data collected by the IRT system into a two-dimensional matrix;

[0013] Step 2.2: The two-dimensional matrix obtained after expansion in step 2.1 is standardized. The values ​​of each row of elements in the two-dimensional matrix are centered by subtracting the average value of the corresponding row element values ​​and then dividing by the standard deviation of the corresponding row element values.

[0014] The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder is characterized in that the specific process of step (3) is as follows:

[0015] Step 3.1: Increase the number of hidden layers in the autoencoder network to establish a multi-layer autoencoder network MAE;

[0016] Step 3.2: Training the multi-layer autoencoder thermal imaging MAT model: Apply the multi-layer autoencoder network MAE to infrared thermal imaging image processing, build a multi-layer autoencoder thermal imaging MAT model, and then use each column of the standardized two-dimensional matrix as a sample for model training, where the number of neurons in the input layer is the same as the number of thermal images, and the output layer has the same number of neurons as the input layer. Set 1 input layer, 1 output layer, and 5 hidden layers in the model network. The number of neurons in each hidden layer is 20, 12, 6, 12, and 20 respectively. Each input layer, output layer, and hidden layer are set with activation functions, where the output layer uses the Sigmoid function, and the input layer and hidden layer use the Tanh activation function. Input the training samples into the model in batches for training, and then perform back propagation to update the model parameters. Finally, save the trained model;

[0017] Step 3.3: Data enhancement visualization: Use the encoder in the model trained in step 3.2 to extract features of the thermal image data layer by layer, and obtain high-level abstract features of the image in hidden layer 3 to achieve the effect of removing noise and uneven background. Finally, visualize the features extracted from hidden layer 3 to obtain the result of data enhancement.

[0018] By adopting the above technology, compared with the prior art, the beneficial effects of the present invention are as follows:

[0019] The present invention utilizes the nonlinear feature transformation of a multi-layer neural network to perform data enhancement on the thermal images collected by an infrared thermal imager, describes the essential features between thermal imaging data in a dimensionality reduction manner, and can better separate defects from background information; by adding an activation function to each layer of the multi-layer autoencoder, the model can better process thermal imaging data with nonlinear characteristics, and extracts the essential features of the data through a multi-hidden layer structure in which neurons are reduced layer by layer, thereby achieving the effect of removing noise and uneven background. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of a method according to an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of the structure of a multi-layer autoencoder according to an embodiment of the present invention;

[0022] Figure 3 A defect location distribution diagram of a thermal image data set according to an embodiment of the present invention;

[0023] Figure 4 This is a data enhancement result diagram of an embodiment of the present invention. Figure LV1-Figure LV6 represent latent variable images obtained by the middle hidden layers of the multi-layer autoencoder. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments of the specification. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0025] On the contrary, the present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention as defined by the claims. Further, in order to make the public have a better understanding of the present invention, some specific details are described in detail in the detailed description of the present invention below. Those skilled in the art can fully understand the present invention without the description of these details.

[0026] Reference Figure 1 to Figure 4 , an infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder, the method comprising the following steps:

[0027] (1) Obtaining infrared thermal imaging defect image dataset

[0028] The IRT system is used to collect data. First, the sample is transiently heated, then the surface temperature change process is recorded with an infrared camera during the cooling stage, and finally the received thermal image is stored in a computer.

[0029] Step 1.1: The IRT system mainly consists of a high-power excitation heat source, an infrared camera, and a computer equipped with infrared thermal imaging software. When collecting data, the sample needs to be heated instantaneously, and the infrared camera is used to record the surface temperature change process during its cooling stage. The computer is responsible for receiving the recorded data.

[0030] Step 1.2: The six-defect sample is made of carbon fiber sheets and epoxy resin through a resin transfer molding instrument and three different sizes of square Teflon strips are inserted into the carbon fiber plate as defects. The sizes are as follows: 1.6cm×1.6cm, 0.8cm×0.8cm and 0.4cm×0.4cm. The three Teflon strips on the left are covered by one layer of fiber sheets, and the Teflon strips on the right are covered by two layers of fiber sheets, each with a thickness of 0.26cm. The acquisition process of the IRT system is only 2 seconds, and 59 thermal images are obtained after removing the lossy data. The size of each thermal image is 90×100.

[0031] (2) Image preprocessing

[0032] In order to eliminate the uneven background and speed up the model training to a certain extent, the original thermal image data needs to be preprocessed, which consists of two parts: data expansion and standardization.

[0033] Step 2.1: The six-defect thermal image data collected by the IRT system is essentially a three-dimensional matrix (59×90×100). Since the three-dimensional matrix cannot be directly used for model training, it needs to be expanded into a two-dimensional matrix (59×9000).

[0034] Step 2.2: In order to eliminate uneven background and speed up model training to a certain extent, it is necessary to perform row normalization on the two-dimensional matrix by subtracting the mean of each row and dividing it by the standard deviation of each row to center it.

[0035] (3) Building a MAT data enhancement model

[0036] Each column of the standardized two-dimensional matrix is ​​used as a sample for model training. The trained model can reconstruct the original data with a small reconstruction error. The powerful feature extraction and nonlinear data processing capabilities of the neural network are used to analyze the data. The thermal imaging data is feature extracted through multiple hidden layers and the output results of the middle hidden layer are visualized to remove noise and uneven background.

[0037] Step 3.1: Build a multi-layer autoencoder network

[0038] An autoencoder is an unsupervised generative deep learning model. Generally, an autoencoder consists of an encoder and a decoder. The former compresses the input data to obtain the essential characteristics of the data, and the latter is responsible for reconstructing the input data with minimal error. The purpose of the autoencoder is to reconstruct the input data at the output layer. The encoding and decoding process can be expressed as:

[0039] h=f(W1x+b1) (3)

[0040] y=g(W2h+b2) (4)

[0041] Among them, x represents the original data, h represents the latent variable, y represents the reconstructed data, W1, b1 are the weights and biases of the encoder, W2, b2 are the weights and biases of the decoder, and the functions f(·) and g(·) represent nonlinear activation functions.

[0042] In a neural network model, the more layers (mainly hidden layers) the more abstract the input features are, the more complex sample features can be fitted, and the input of the next layer of neurons is the weighted sum of the outputs of the previous layer, that is, the features of the previous layer are abstracted in the next layer. The process of model learning is to adjust and optimize the weights and thresholds of each connection. Similarly, we hope that the autoencoder can learn features with a high level of data abstraction, that is, extract essential defect features and remove uneven background and noise. Therefore, we obtain a multi-layer autoencoder by increasing the number of hidden layers within a reasonable range.

[0043] Step 3.2: Train the MAT model

[0044] The multi-layer autoencoder method is applied to infrared thermal imaging image processing, and the model name is named Multi-layer Autoencoder Thermal Imaging (MAT). Each column of the standardized two-dimensional matrix is ​​used as a sample for model training, so the number of neurons in the input layer is the same as the number of thermal images, and the output layer has the same number of neurons as the input layer. In the network, we set 1 input layer, 1 output layer, and 5 hidden layers. The number of neurons in each hidden layer is 20, 12, 6, 12, and 20 respectively. The activation function is set for each layer. The output layer uses the Sigmoid function, and the remaining layers use the Tanh activation function. The training samples are trained in batches, and then back-propagation is performed to update the model parameters. Finally, the trained model is saved.

[0045] Step 3.3: Data augmentation visualization

[0046] The encoder part of the model obtained in step 3.2 is used to extract features of the thermal image data layer by layer, and high-level abstract features of the image are obtained in the hidden layer three to achieve the effect of removing noise and uneven background. Finally, the features extracted by the hidden layer 3 are visualized to obtain the result of data enhancement.

[0047] In order to evaluate the effectiveness of the proposed method, we need an indicator to quantitatively evaluate the results. Here we use the signal-to-noise ratio (SNR), which is usually used for quantitative evaluation of thermal image defects. Its calculation formula is as follows:

[0048]

[0049] Among them, m def and m in are the average values ​​of the pixel values ​​in the defective area and the non-defective area in the thermal image, σ in It is the standard deviation of the pixel values ​​in the non-defective area. SNR reflects the contrast between the defective area and the non-defective area. The larger the SNR value, the stronger the defect recognition ability of the method. Table 1 compares the SNR values ​​of the original thermal image and the SNR values ​​of different defects after data processing by the MAT method. From the results, it can be seen that the method of the present invention has a strong defect recognition ability.

[0050] Table 1 Comparison of SNR values ​​of different defects before and after data processing

[0051]

[0052] The method of the present invention adopts a multi-layer autoencoder to enhance the internal defect image of the composite material obtained by infrared thermal imaging, utilizes the powerful feature extraction ability and nonlinear data learning ability of the neural network to process the data, extracts features of the thermal imaging data through multiple hidden layers and visualizes the output results of the intermediate hidden layers, so as to achieve the effect of removing noise and uneven background.

[0053] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder is characterized by: The following steps are involved: (1) Obtaining infrared thermal imaging defect image data set: Using the IRT system to collect data, the collected defect thermal image data is saved as a three-dimensional matrix and recorded; (2) Image preprocessing: preprocess the collected defect thermal image data to expand it from a three-dimensional matrix into a two-dimensional matrix, and standardize the expanded two-dimensional matrix; (3) Constructing a multi-layer autoencoder thermal imaging MAT data enhancement model: Establishing a multi-layer autoencoder network MAE and applying it to infrared thermal imaging image processing, constructing a multi-layer autoencoder thermal imaging MAT model, and then using each column of the standardized two-dimensional matrix as a sample for model training, extracting features from the sample data and visualizing the output results of the middle hidden layer to achieve the effect of removing noise and uneven background; The specific process of (3) is as follows: Step 3.1: Increase the number of hidden layers in the autoencoder network to establish a multi-layer autoencoder network MAE; Step 3.2: Training the multi-layer autoencoder thermal imaging MAT model: Apply the multi-layer autoencoder network MAE to infrared thermal imaging image processing, build a multi-layer autoencoder thermal imaging MAT model, and then use each column of the standardized two-dimensional matrix as a sample for model training, where the number of neurons in the input layer is the same as the number of thermal images, and the output layer has the same number of neurons as the input layer. Set 1 input layer, 1 output layer, and 5 hidden layers in the model network. The number of neurons in each hidden layer is 20, 12, 6, 12, and 20 respectively. Each input layer, output layer, and hidden layer are set with activation functions, where the output layer uses the Sigmoid function, and the input layer and hidden layer use the Tanh activation function. Input the training samples into the model in batches for training, and then perform back propagation to update the model parameters. Finally, save the trained model; Step 3.3: Data enhancement visualization: Use the encoder in the model trained in step 3.2 to extract features of the thermal image data layer by layer, and obtain high-level abstract features of the image in the hidden layer three to achieve the effect of removing noise and uneven background. Finally, visualize the features extracted from the hidden layer three to obtain the result of data enhancement.

2. The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder according to claim 1 is characterized in that The specific process of step (1) is as follows: When collecting data, the sample needs to be heated instantaneously, and its surface temperature change process needs to be recorded with an infrared camera during its cooling stage, and the collected thermal images are transferred to a computer for storage.

3. The infrared thermal imaging defect detection image processing method based on a multi-layer autoencoder according to claim 1 is characterized in that The specific process of step (2) is as follows: Step 2.1: Expand the three-dimensional matrix defect thermal image data collected by the IRT system into a two-dimensional matrix; Step 2.2: The two-dimensional matrix obtained after expansion in step 2.1 is standardized. The values ​​of each row of elements in the two-dimensional matrix are centered by subtracting the average value of the corresponding row element values ​​and then dividing by the standard deviation of the corresponding row element values.

Citation Information

Cited By

  • Thermal imager image signal calibration enhancement method and system based on FPGA

    CN119444626A