Skip to main content

ORIGINAL RESEARCH article

Front. Phys., 03 November 2021
Sec. Optics and Photonics
This article is part of the Research Topic Advances in Terahertz Detection and Imaging View all 15 articles

A Novel Method for the Enhancement of Composite Materials’ Terahertz Image Using Unsharp Masking and Guided Filtering Technology

Zhilong LiZhilong Li1Jian Zuo
Jian Zuo1*Yuanmeng ZhaoYuanmeng Zhao1Zhongde HanZhongde Han2Zhihao XuZhihao Xu2Yunzhang ZhaoYunzhang Zhao2Chao YangChao Yang3Weidong HuWeidong Hu2Cunlin ZhangCunlin Zhang1
  • 1Beijing Key Laboratory for Terahertz Spectroscopy and Imaging, MOE Key Laboratory of Terahertz Optoelectronics, Department of Physics, Capital Normal University, Beijing, China
  • 2Beijing Key Laboratory of Millimeter Wave and Terahertz Technology, Beijing Institute of Technology, Beijing, China
  • 3Kuang-Chi Silver Star Base Technology Room, Shenzhen Kuang-Chi Advanced Technology Co., Ltd, Shenzhen, China

When terahertz imaging technology is used for the nondestructive testing of composite materials, the signal is often affected by the experimental environment and internal noise of the system, as well as the absorption and scattering effect of the tested materials. The obtained image has degradation phenomena such as low contrast, poor resolution of small targets and blurred details. In order to improve the image quality, this paper proposes a novel method for the enhancement of composite materials’ terahertz image by using unsharp masking and guided filtering technology. The method includes the processing steps of hard threshold shrinkage denoising based on discrete wavelet transform, amplitude imaging, unsharp masking, guided filtering, contrast stretching, and pseudo-color mapping. In this paper, these steps are reasonably combined and optimized to obtain the final resulting image. To verify the effectiveness of the proposed method, a 150–220 GHz high frequency terahertz frequency modulated radar imaging system was used to image three commonly used sandwich structure composites, and the enhancement processing were carried out. The resulting images with significantly enhanced contrast, detail resolution and edge information were obtained, and the prefabricated defects were all detected; Five objective evaluation indexes including standard deviation, mean gradient, information entropy, energy gradient and local contrast were used to compare and analyze the processing results of different image enhancement methods. The subjective and objective evaluation results showed that the proposed method can effectively suppress the noise in terahertz detection signals, enhance the ability of defect detection and positioning, and improve the accuracy of detection. The proposed method in this paper is expected to play a positive role in improving the practicability of terahertz imaging detection technology and expanding its application fields.

Introduction

Terahertz imaging detection technology has the advantages of high penetrability. In the detection of composite materials’ defect, it is easier to detect the internal defects of composite materials than other traditional detection technologies, and it can be used for imaging without contacting the tested materials [1]. The photon energy of terahertz wave is in the order of millielectron volts, and it will not cause structural damage to the tested material or produce harmful radiation to biological tissue in terahertz imaging detection [2]. However, in the application of this technology, the terahertz wave will be affected by the experimental environment noise (energy level absorption of water vapor and air molecules around the system), the internal noise of the system (photon radiation noise, thermal noise, granular noise, etc.), and the material properties of the sample to be tested (interlaminar multiple reflections caused by the laminated structure and scattering caused by poor surface roughness of the sample) [3, 4], resulting in the degradation of the detection image such as low contrast, low detail resolution and poor sharpness, which affects the application of terahertz imaging detection technology and the accurate judgment of the internal information of the tested material. Thus, the interference properties of terahertz wave in the imaging process are analyzed. Meanwhile, the de-noising technology and image enhancement technology are used to process the detection image, which is expected to obtain the detection image with high contrast and strong detail resolution.

In order to solve the problem of terahertz image degradation, many scholars did a lot of research. Many methods for terahertz image denoising and enhancement were proposed such as mean filtering, Gaussian filtering, nonlocal mean filtering and the edge detection of Laplacian Gaussian operator. Mean filtering has better removal effect on Gaussian noise in the detected image, but the sharpness of the detected image after filtering will be reduced and the image details such as edges will become blurred; Gaussian filtering can effectively filter out speckle noise in the detected image, but it will cause certain damage to the effective information in the detected signal and the edge and texture details of the image; Nonlocal mean filtering can preserve the texture details of the image while filtering out the background noise, but it cannot adaptively select the optimal filtering parameters, resulting in artifacts in the detection image; The edge detection of Laplacian Gaussian operator can effectively enhance the edge and texture details of the detected image, but it will amplify the background noise while enhancing the edge and details of the image, so that the resolution of the detected image cannot be further improved [58]. Therefore, it is necessary to develop new terahertz image denoising and enhancement methods. Guided filtering technology was proposed by, after a large number of experiments, which had good performance in image detail enhancement and other aspects [9]. In their research, a guidance image was used to guide the input image, hence the edge of the output image was the same as the input image, and the texture details were similar to the guidance image. It can effectively preserve the edge information while denoising. In addition, Liu et al. and Zhou et al. used the guided filtering technology to enhance the details of infrared images, and achieved good results. However, the direct use of guided filtering technology would cause the problem that the background noise of the detection image is amplified [10, 11]. Wavelet transform has good time-frequency localization analysis ability and multi-resolution analysis characteristics. In this paper, the hard threshold shrinkage denoising method based on discrete wavelet transform is proposed to filter out the high-frequency noise of the original terahertz detection signal, so as to avoid the problem that the noise in the detection image is amplified after the guided filtering. On the other hand, since the unsharp masking method can preserve the smooth region of the image while highlighting the edge and texture details of the image, this paper proposes to use the sharpened image of the unsharp masking as a guidance image to make the details of the output image clearer. After guided filtering, the obtained detail layer and base layer are gained and superimposed to improve the contrast of terahertz detection image and enhance the detail and edge information of the image. In this paper, a 150–220 GHz high frequency terahertz frequency modulated radar imaging system was used to collect terahertz images of samples, and the denoising and enhancement processing were carried out. In the following, the imaging principle, the principle of wavelet-based unsharp masking and guided filtering method, the experimental samples, experimental setup, the experimental results and objective evaluation are described in detail.

THE Principles of Terahertz Frequency Modulated Radar Imaging System

In this paper, a 150–220 GHz high frequency terahertz frequency modulated radar imaging system had been used for imaging experiments [12]. This system uses a sawtooth wave generator to drive a voltage controlled oscillator to produce a linear frequency modulated continuous wave signal in the microwave band. The instantaneous frequency varies linearly with time in the range of 150–220 GHz, and the frequency modulation bandwidth is 70 GHz. The relationship between the angular frequency of the interference signal and the generated beat signal in the sawtooth wave frequency modulated continuous wave interference is shown in Figure 1.

FIGURE 1
www.frontiersin.org

FIGURE 1. The relationship between angular frequency of the sawtooth wave interference signal and the generated beat frequency signal.

Among them, solid line T represents the modulated signal directly received by the detector, dotted line R represents the sample signal that carries the sample information after the sample reflection, dotted line B represents the beat frequency signal generated by the interference between the modulated signal and the sample signal, Δω represents the range of the angular frequency of the modulated signal, Tm represents the period of the modulated signal, ωb represents the frequency difference between the modulated signal and the sample signal, α represents the time delay of the sample signal relative to the modulated signal, and ω0 represents the central angular frequency and is a constant. According to the principle of frequency modulated continuous wave, the longitudinal resolution of the system is expressed as

d=c2×Δf(1)

Where c is the speed of light, and Δf is the frequency modulation bandwidth of the terahertz source. Therefore, the theoretical longitudinal resolution of the system is 2.1 mm.

When the system is used for terahertz imaging detection of sandwich structure composites with internal defects, the refractive index of defect and non-defect is different, and their reflection coefficient at the interface is different. When the terahertz wave is reflected through the interface, the amplitude of the reflected signal at the defect and non-defect will be different. Therefore, this paper selects the amplitude imaging method that can reflect the specific information of the different interface of the sample to image [13], so as to obtain the internal section information of the sample. The amplitude imaging method is expressed as

Sd0(x,y)=SSample(x,y,d0),d0(d1,d2)(2)

Where Sd0(x,y) is the terahertz signal set at d0 depth within the sample, and its size is x×y; Ssample(x,y,d0) is the terahertz signal set at different depths, and its size is x×y×(d2d1); d1, d2 are distances between the upper surface and the lower surface of the sample and the detector respectively, and d0 are values according to the actual detection requirements.

Image Denoising Enhancement Based on Wavelet Unsharp Masking and Guided Filtering Technology

Wavelet transform is a time-frequency analysis method of signal, which has good time-frequency localization analysis ability and multi-resolution analysis function, and can distinguish the abrupt part of signal and noise in different decomposition layers, so it is suitable for analyzing non-stationary signals and extracting the local characteristics of signals [14]. Terahertz detection signal is a typical non-linear and non-stationary signal, so this paper uses the hard threshold shrinkage denoising method based on discrete wavelet transform to pre-denoise the original terahertz detection signal, and filter out the high-frequency noise in the detection signal. After the first high frequency denoising, the guided filtering technology which can further denoise and keep the edge information of the image well is introduced to filter the image after wavelet denoising. In order to better enhance the texture detail region of the output image, the sharpened image of the unsharpen masking is used as the guidance image to guide and filter the image after wavelet denoising again; Through the gain and superposition of the detail layer and the base layer obtained after filtering, the purpose of improving the contrast of terahertz detection image and enhancing the resolution of image detail is achieved. The block diagram of the method in this paper is shown in Figure 2.

FIGURE 2
www.frontiersin.org

FIGURE 2. Block diagram of terahertz image processing method based on wavelet unsharp masking and guided filtering technology.

In the first step, the hard threshold shrinkage denoising method based on discrete wavelet transform is used to perform high-frequency denoising preprocessing on the original terahertz detection signal I, and the terahertz detection signal Im that filters out most of the high-frequency noise is obtained; In the second step, the amplitude imaging method is used to image the detection signal Im after wavelet denoising, and the preliminary terahertz detection image Pm is obtained; In the third step, the guided filtering technique with the image Pm after wavelet denoising as the guidance image is used to filter its own image to obtain the detail layer Pw; At the same time, the unsharp masking based on mean filtering is applied to the denoised images Pm to get the sharpened image Ps; The fourth step is to use the sharpened image Ps as the guidance image, to repeat the guided filtering operation, and obtain the base layer Pe; In the fifth step, the detail layer Pw and the base layer Pe are gained and superimposed to obtain the terahertz detection image Pout with improved contrast and enhanced detail and edge information. In order to further obtain the detection image with better visualization effect, the pseudo-color mapping of image Pout is carried out by using the color lookup table method, and the contrast and resolution of the imaging image are enhanced by stretching the contrast and adjusting the scale data range and color scale of the mapping, so as to obtain the final detection resulting image.

Hard Threshold Shrinkage Denoising Enhancement Based on Discrete Wavelet Transform

For a square integrable function f(t)L2(R), ψ(t) is the continuous wavelet generator function, ψa,b(t) is the continuous wavelet basis function, and the continuous wavelet transform of f(t) is defined as

Hf(a,b)=f(t),ψa,b(t)=a1/2+f(t)ψ(tba¯)dt,a>0(3)

Where Hf(a,b) is the result of f(t) continuous wavelet transform, a is the scale factor, b is the time shift factor, and ψ()¯ is the conjugate of the wavelet generating function. Taking a=a0j,b=a0jk (j is the discretization index, k is the discretization coefficient, j,kZ), the two are discretized, and the discrete wavelet transform can be defined as

Hf(j,k)=f(t),ψj,k(t)=a0j2+f(t)ψ(a0jk)dt¯(4)

Where Hf(j,k) is the result of discrete wavelet transform of f(t) [15, 16].

In the detection of the sample under test, the detected signal usually contains certain noise, which can be considered as Gaussian white noise. The signal containing noise can be simply expressed as follows

yj=fj+δzj,j=1,...,n(5)

Where yj is the signal containing noise, fj is the ideal noise-free signal, zj is the doped noise, δ is the noise level, and n is the sampling length. The essence of signal denoising is to use the different characteristics of signal and noise to extract noise δzj from noise containing signal yj and restore the ideal signal fj. For the ideal effective signal, it is continuous in the time domain. Therefore, after the discrete wavelet transform, the energy of the effective signal is mainly concentrated in the low frequency subband, and the modulus of the generated wavelet coefficient would be relatively large. For Gaussian white noise, there is no continuity in the time domain, showing a strong randomness. Meanwhile, after conducting discrete wavelet transform, it also has a strong randomness, thus the energy of noise in wavelet domain is mainly concentrated in the high frequency subband, often still think of the Gaussian white noise, produced by the modulus of wavelet coefficient will be relatively small. Based on the above characteristics, the wavelet coefficients corresponding to noise are still satisfy the Gaussian white noise distribution. According to the definition of standard deviation and variance of random signals, the standard deviation of signals reflects the dispersion degree from each point in the discrete signal to the mean value of signals. Therefore, this paper proposes to take the standard deviation of wavelet coefficients of noise containing signals under the decomposition of each scale of discrete wavelet transform as the threshold to reflect the distribution range of noise wavelet coefficients to a certain extent.

Define the scale function φ(t)L2(R) by an integer multiple translation k to get φ0,k(t), then

φ0,k(t)=φ(tk),kZ(6)

If space V0=Spank{φ0,k(t)}¯ is defined by a signal linearly expressed by signal φ0,k(t), then V0 is called a closed signal space of φ0,K(t).By translating and stretching the scale function, a new scale function φj,k(t) is obtained, which is expressed as

φj,k(t)=2j/2φ(2jtk),jZ,kZ(7)

Similarly, the newly closed signal space spanned by φj,k(t) is

φj,k(t)=Vj=Spank{φj,k(t)}¯=Spank{2j/2φ(2jtK}¯,jZ,kZ(8)

After further derivation of the scale function φj,k(t), the multi-resolution analysis equation corresponding to the scale function coefficient is obtained, and the expression is

φ(t)=kh0[k]2φ(2tk)(9)

The equation shows that different scale functions correspond to different h0[k] [17, 18]. When the noise containing signal yiVj+1, the noise containing signal can be expressed as

yi=kcj[k]φj,k(t)+kdj[k]ψj,k(t)(10)

Among them, there is

cj[k]=yi,φj,k(t),dj[k]=yi,ψj,k(t)(11)

According to the multi-resolution analysis equation φt=kh0[n]2φ(2tn) of the scale function, we can obtain

φj,k(t)=nh0[n2k]φj+1,n(t)(12)

Then there is

cj[k]=yi,φj,k(t)=nh0[n2k]yi,φj+1,n(t)=nh0[n2k]cj+1[n](13)

Similarly, according to ψ(t)=nh1[n]2φ(2tn), the wavelet coefficient dj[k] at each scale and each decomposition layer can be obtained as

dj[k]=nh1[n2k]cj+1[n](14)

Set the standard deviation of the wavelet coefficient dj[k] as threshold U, and the expression is

U=1M1q=1M{(nh1[n2k]cj+1[n])qq=1M(nh1[n2k]cj+1[n])qM}2(15)

where M is the number of wavelet coefficients of the noise containing signal under the decomposition of each scale of the discrete wavelet transform.

According to the characteristics of Gaussian distribution, setting the wavelet coefficient within the threshold range to zero can suppress the interference of noise to the maximum extent, namely, the effect of hard threshold function. Therefore, this paper selects the hard threshold function to carry out the hard threshold shrinkage denoising process for the wavelet coefficient of the noise containing signal. When the absolute value of the wavelet coefficient of the noise containing signal is less than the set threshold, it is made to be zero; otherwise, it keeps unchanged. After shrinkage denoising, the wavelet coefficients are reconstructed and restored to the terahertz detection signal, and the amplitude imaging method is used for imaging processing to obtain the preliminary terahertz detection image.

Guided Filtering

Guided filtering [911] is a filtering method with good performance in image denoising, defogging and detail enhancement. Its core idea is to guide the input image through a guidance image based on the local linear model, so that the overall contour feature of the output image is similar to that of the input image, and the texture detail region is similar to that of the guidance image. The output image q can be expressed as follows

q=fguider(p,I,r,ε)(16)

Where p is the input image, i.e., the image after wavelet denoising, I is the guidance image, r is the size of the filtering window, ε is the regularization parameter, r and ε can be determined by empirical value. In this paper, r is 3 and ε is 0.64. The assumption between output image q and guidance image I is as follows : there is a linear relationship in local window wv centered on pixel v, and the output expression of a pixel can be expressed as

qi=gvIi+ov,iwv(17)

Where i corresponds to the pixel index in the local window, gv and ov are linear coefficients in the window. By calculating the derivative gradient on both sides of the above equation, q=gI can be obtained. It can be seen that when the input guidance image has gradient in a certain region, the output image will also maintain the corresponding gradient. Therefore, the guided filter has good edge preservation performance while smoothing the background. In order to obtain the optimal solution of gv and ov, it is necessary to retain the effective information of the input image p as much as possible in the output image q. Even if the difference between the two is the smallest, the method is usually to introduce the minimization cost function and minimize it to solve the optimization problem. E(gv,ov) is the minimization cost function, and the expression is as follows

E(gv,ov)=iwv[(gvIi+ovpi)2+εgv2](18)

Where εgv2 is the penalty term, ε is used to prevent gv too large regularization parameters. The Eq. 18 is solved by linear regression model to minimize it, and the optimal solution of gv and ov can be obtained as

gv=1|w|iwvIipiμvpv¯σv2+ε(19)
ov=pv¯gvμv(20)

Where μv and σv2 are the mean value and variance of pixels in local window wv of the guidance image, |w| is the number of pixels contained in wv, and pv¯=1|w|iwvpi is the mean value of image p to be filtered in the window. When using Eq. 19 to calculate the linear coefficient, the gv and ov calculated in different window wv are obviously different, which can be solved by averaging the values obtained from gv and ov, so the output image can be expressed as

qi=1|w|iwk(gvIi+ov)=gi¯Ii+oi¯(21)

Where gi¯=1|w|vwvgv and oi¯=1|w|vwvov are the average of linear coefficients of all local windows under the same pixel index.

Guided Filtering Based on Unsharp Masking

Unsharp masking [19, 20] is a common sharpening enhancement technique. Its basic principle is that the high frequency part of the image is obtained by subtracting the original image from the blurred image that is obtained by low-pass filtering, and then the high frequency part of the image is gained and superimposed with the original image to obtain the resulting image with enhanced details and edges. The unsharp masking process can be expressed as follows

l(i,j)=f(i,j)+ζ×{f(i,j)LP[f(i,j)]}(22)

where f(i,j) is the original input image, LP is the low-pass filter, ζ is the gain coefficient of high-frequency details, and l(i,j) is the enhanced output image.

In this paper, the mean filter is selected as the low-pass filter smoothing filter, and the mean filter template with a size of 3 × 3 is generated to conduct convolution filtering on the image after wavelet denoising, so as to obtain its blurred image. According to the principle of unsharp masking, the difference operation between the original image and the blurred image is used to obtain the mask image, that is, the image reflecting the detail information of the image. After ζ factor multiplication of the mask image, it is superimposed with the original image to obtain the sharpened image with enhanced detail and edge information in the image after wavelet denoising, so as to achieve the effect of image sharpening. Using this linear unsharp masking method to process the terahertz detection image can get better sharpening effect. While the sharpness of the details is improved, the smooth region in the original image is not affected and preserved. Finally, the sharpened image of unsharp masking is used as the guidance image to conduct the guided filtering on the image after wavelet denoising, so that the texture details in the image after wavelet denoising are similar to those in the guidance image.

Image Pm after wavelet denoising is processed by guided filtering technology with its own image Pm and sharpened image Ps as the guidance image, the detail layer Pw reflecting the image detail information and the base layer Pe reflecting the image contour are obtained. The obtained detail layer Pw and the base layer Pe are superposed with the gain of β and γ coefficients respectively, and the terahertz detection resulting image Pout with improved contrast, enhanced detail and edge information is obtained. The process can be expressed as follows

Pout=β×Pw+γ×Pe(23)

Where Pout is the output terahertz detection resulting image, β and γ are the gain coefficients, Pw is the detail layer, and Pe is the base layer.

Imaging Samples, Experimental Methods and Image Processing

Sample Introduction and Experimental Setup

Polymethacrylimide foam composites are heat-resistant composites with the highest strength and stiffness to weight ratio. As the core material of sandwich structure, polymethacrylimide foam composites are widely used in aerospace, shipbuilding, military and other fields [21]. As one of the three major polymer materials, rubber has high elasticity than metal, high mechanical strength and good bending resistance. Because of its unique properties, rubber is widely used in medical and health, power communication, civil engineering and other fields [22]. Glass fiber reinforced composites are widely used in the bearing and electromagnetic wave transmission structures of unmanned aerial vehicles due to their excellent strength-weight ratio, aerodynamic performance and microwave permeability [23]. With the increasingly wide application of the above composites, the demand for its quality control, nondestructive testing and evaluation is also increasing. In the process of preparation and application, the above composites will be affected by external forces and temperature variations, resulting in internal defects such as cracks, voids and adhesive debonding, affecting the normal use of composite materials, and when the damage reaches a certain level, it will even cause a catastrophe [24], so the accurate detection of composite materials has important practical significance.

Polymethacrylimide Foam Sandwich Structure Composite Material

In this paper, aramid fiber paper honeycomb and polymethacrylimide foam composites were used to combine into sample 1 (the actual photos, defect location and size, structure diagram were shown in Figure 3). The sample was composed of thin aramid fiber paper honeycomb with thickness of 4.0 mm, two layers of polymethacrylimide foam with thickness of 4.3 mm and aramid fiber paper honeycomb with thickness of 40.0 mm, which were bonded to each other by epoxy resin adhesive, and two layers of Teflon films with diameters of 10.0 and 6.0 mm and thicknesses of 0.1 mm were used to prefabricate the adhesive debonding defects of different sizes in the sample. The locations of the two adhesive debonding defects were shown in the green mark in Figure 3.

FIGURE 3
www.frontiersin.org

FIGURE 3. The actual photos, defect location and size, structure diagram of aramid fiber paper honeycomb and polymethacrylimide foam sandwich composite material. (A) the actual photo (top view), (B) the actual photo (side view), (C) the diagram of defect location and size (top view), (D) the diagram of defect location and size (side view), (E) the structure diagram.

Rubber and Glass Fiber Reinforced Composite Sandwich Structure

Sample two rubber and glass fiber reinforced composite sandwich structure (the actual photos, defect location and size, structure diagram were shown in Figure 4). The sample consisted of a rubber of 10.0 cm × 10.0 cm in size and 5.0 mm in thickness and a glass fiber reinforced composite of the same size and 13.0 mm in thickness. The two were bonded to each other by epoxy resin adhesive, and three delamination defects with a length of 4.2 cm and a depth of 2.0 mm were prefabricated in the glass fiber reinforced composite. The locations of the defects were shown in the yellow block in Figure 4.

FIGURE 4
www.frontiersin.org

FIGURE 4. The actual photos, defect location and size, structure diagram of rubber and glass fiber reinforced composite sandwich structure. (A) the actual photo (top view), (B) the actual photo (side view), (C) the diagram of defect location and size (top view), (D) the diagram of defect location and size (side view), (E) the structure diagram.

Polymethacrylimide Foam and Polyvinyl Chloride Sheet Sandwich Composite Material

Sample 3 polymethacrylimide foam and polyvinyl chloride sheet sandwich composite material (the actual photos, defect location and size, structure diagram were shown in Figure 5). The sample was composed of two layers of 4.3 mm in thickness of polymethacrylimide foam and a layer of 2.0 mm in thickness of polyvinyl chloride sheet, which were also bonded with epoxy resin adhesive, and Teflon films of 10.0 and 3.0 mm in diameter and 0.1 mm in thickness were respectively used to prefabricate the adhesive debonding defects of different sizes in the sample. The locations of the two adhesive debonding defects were shown in the green mark in Figure 5.

FIGURE 5
www.frontiersin.org

FIGURE 5. The actual photos, defect location and size, structure diagram of polymethacrylimide foam and polyvinyl chloride sheet sandwich composite material. (A) the actual photo (top view), (B) the actual photo (side view), (C) the diagram of defect location and size (top view), (D) the diagram of defect location and size (side view), (E) the structure diagram.

Experimental Setup

In this paper, when the 150–220 GHz high frequency terahertz frequency modulated radar imaging system was used for imaging detection of the above composite materials, in order to reduce the system noise and make the detection images clearer, all samples were placed near the focal plane of the detection system and detected by one-way point-by-point scanning. In order to further improve the detection accuracy of the detection system, the minimum detection accuracy of the stepper motor for the adhesive debonding defect in sample 1 with a diameter of 10.0 mm was set as 2.0 mm × 2.0 mm, and the minimum detection accuracy of the stepper motor for the adhesive debonding defect with a diameter of 6.0 mm was set as 1.0 mm × 1.0 mm; The minimum detection accuracy of the stepper motor was set as 1.5 mm × 1.5 mm for the delamination defects in sample two; the minimum detection accuracy of the stepper motor for the adhesive debonding defect in sample 3 with a diameter of 10.0 mm was also set as 1.5 mm × 1.5 mm, and the minimum detection accuracy of the stepper motor for the adhesive debonding defect with a diameter of 3.0 mm was set as 1.0 mm × 1.0 mm.

Image Processing Results and Analysis

After the imaging detection of the above composite materials, the amplitude imaging method was used to image the obtained terahertz detection signal, and Gaussian filtering and the method proposed in this paper were used to denoise and enhance the terahertz detection image. When the hard threshold shrinkage denoising method based on discrete wavelet transform was used to denoise the original detection signal, for the adhesive debonding defect with a diameter of 10.0 mm in sample 1, “sym4” was selected as the wavelet denoising combination with 3 layers of decomposition layer, and “sym5” was selected as the wavelet denoising combination with four layers of decomposition layer for the adhesive debonding defect with a diameter of 6.0 mm; For the delamination defects in sample 2, “sym5” was selected as the wavelet denoising combination with two layers of decomposition layer; For the adhesive debonding defect with a diameter of 10.0 mm and the adhesive debonding defect with a diameter of 3.0 mm in sample 3, the combination of wavelet denoising with “sym5” as the wavelet basis and the decomposition layer of 3 layers was selected for hard threshold shrinkage denoising.

Sample1: Imaging Results Analysis

The imaging results of each method for the adhesive debonding defect in sample 1 with a diameter of 10.0 mm are shown in Figure 6, and the imaging results of each method for the adhesive debonding defect with a diameter of 6.0 mm are shown in Figure 7. Firstly, according to the observation of the original detection images of two different sizes of the adhesive debonding defects, no matter the diameter of 6.0 mm or 10.0 mm, the adhesive debonding defects could not be effectively identified, only part of the defects could be vaguely observed, and the defect edges are blurred, the imaging contrast is not obvious, and the resolution of small targets is poor. Theoretically, the color distribution of the background region of the detection image should be relatively uniform, while there are differences in the color distribution of the background region in the actual detection image, with obvious noise distribution, which affects the quality of the detection image. The main reason for this phenomenon is that the energy loss of terahertz wave propagating in the measured sample is serious, and the effective reflection signal received by the detector is weak, which leads to the effective signal being submerged by noise, thus reducing the signal-noise ratio of the detected signal and reducing the imaging effect. Then observe the results of Gaussian filtering processing, although the use of this method can suppress the background noise of the detection image to some extent and enhance the contrast of the image, but the denoising is not complete, the background region still exists obvious noise distribution, unable to accurately identify the prefabricated adhesive debonding defects. Furthermore, the problem of signal distortion appears after filtering with this method, so that the effective defect information has been damaged. Finally, the results of the method proposed in this paper show that the recognition effect of the prefabricated defect region is significantly better than that of other methods. The prefabricated adhesive debonding defects are all effectively identified, and the details such as the edge of the defect are enhanced, and the contrast with the background region is improved. In addition, the noise in the background region of the image is significantly suppressed. Different from the Gaussian filtering method, the effective defect information is retained while filtering out the background noise of the image.

FIGURE 6
www.frontiersin.org

FIGURE 6. Image of processing results of each method for adhesive debonding with a diameter of 10.0 mm in sample 1. (A) image of original detection, (B) Gaussian filtering, (C) method in this paper.

FIGURE 7
www.frontiersin.org

FIGURE 7. Image of processing results of each method for adhesive debonding with a diameter of 6.0 mm in sample 1. (A) image of original detection, (B) Gaussian filtering, (C) method in this paper.

Sample2: Imaging Results Analysis

The imaging results of each method of the delamination defects with depth of 2.0 mm in sample two are shown in Figure 8. Firstly, the original detection image of delamination defects is observed. It can be seen that the prefabricated delamination defects can be identified by the original detection image, but the edge of the defect is blurred, the detail resolution needs to be improved, and the background region also has obvious noise distribution, which affects the quality of the detection image. After observing the results of Gaussian filtering processing, it can be seen that this method has a certain denoising effect, but the denoising effect is not obvious, there is still some residual noise, and the defect edge is still blurred, and the overall sharpness of the detection image is poor. Finally, by observing the results processed by the method in this paper, it can be seen that the overall sharpness of the detection image greatly improved, and the details such as the edge of the prefabricated delamination defects have been significantly enhanced. Moreover, the background noise of the detection image has been effectively suppressed, and the contrast between the defect and the background region has been improved, which is helpful for the accurate identification of internal defects.

FIGURE 8
www.frontiersin.org

FIGURE 8. Image of processing results of each method for delamination defects in sample 2. (A) image of original detection, (B) Gaussian filtering, (C) method in this paper.

Sample3: Imaging Results Analysis

The imaging results of each method for the adhesive debonding defect in sample 3 with a diameter of 10.0 mm are shown in Figure 9, and the imaging results of each method for the adhesive debonding defect with a diameter of 3.0 mm are shown in Figure 10. Firstly, the original detection images of different sizes of adhesive debonding defect in sample 3 are observed. It is found that the prefabricated adhesive debonding defect with diameters of 10.0 and 3.0 mm could be vaguely identified in the original detection image, but the edge of the defect is blurred and the contrast with the background area is low. In addition, the background region of the image also has obvious noise distribution, which needs further denoising and enhancement to improve the contrast of the detection image and enhance the edge of the defect and other details. By observing the detection image after Gaussian filtering, it can be seen that the prefabricated adhesive debonding defect recognition effect has been improved to some extent, the noise in the background region has been well filtered, and the contrast between the defect and the background region has also been improved to some extent. However, the detection image becomes blurred after Gaussian filtering, and the detail resolution of the small target also needs to be further improved. Finally, through the observation of the results processed by the method in this paper, it can be seen that the detection images of two kinds of adhesive debonding defect have been greatly improved in the overall sharpness, contrast and defect edge details. The prefabricated two kinds of adhesive debonding defect can be well recognized, and the background noise of the detection image has been effectively suppressed. While filtering out the background noise, the defect information is effectively retained. Compared with the original detection image and the image after Gaussian filtering, the image quality is better.

FIGURE 9
www.frontiersin.org

FIGURE 9. Image of processing results of each method for adhesive debonding with a diameter of 10.0 mm in sample 3. (A) image of original detection, (B) Gaussian filtering, (C) method in this paper.

FIGURE 10
www.frontiersin.org

FIGURE 10. Image of processing results of each method for adhesive debonding with a diameter of 3.0 mm in sample 3. (A) image of original detection, (B) Gaussian filtering, (C) method in this paper.

Objective Evaluation of Resulting Images

In order to accurately evaluate the image processed by each method, this paper also uses five objective evaluation indexes, namely standard deviation (SD), mean gradient (MG), information entropy (IE), energy gradient (EG) and local contrast (LC), to objectively evaluate the image processing results [2527].

Standard Deviation

Standard deviation refers to the degree of dispersion of image pixel gray value relative to the mean value. If the standard deviation is larger, it indicates that the gray scale in the image is more dispersed and the image quality is better. Its calculation formula is

SD=1GRi=1Gj=1R(F(i,j)u)2(24)

where G and R represent the sizes of the image, F(i,j) represents the gray value of pixel F(i,j) corresponding to image F, and u represents the average gray value of all pixels in the image.

Mean Gradient

The mean gradient represents the ability of image to express details, which is a measure of image sharpness. Usually, the greater the mean gradient is, the more the details of the image are, and the higher the sharpness is. The calculation formula of the mean gradient is as follows

MG=1GRi=1Gj=1R[f(x,y)x]2+[f(x,y)y]2(25)

where f(x,y)x represents the gradient in the horizontal direction, and f(x,y)y represents the gradient in the vertical direction.

Information Entropy

Information entropy is an effective method to evaluate information content in images. For an image with gray scale in the range of [0,L-1], the expression of information entropy is

IE=i=0L1p(si)log2p(si)(26)

Where p(si) is the probability of gray level si, the greater the information entropy indicates that the image contains more details.

Energy Gradient

Image sharpness is an important index to measure the quality of the image, which can better correspond to the subjective feelings of people. The energy gradient can evaluate the image sharpness in real time, and the greater the energy gradient value of the image, the better the image sharpness. The definition of the function is as follows

EG=x=1Gy=1R(|f(x+1,y)f(x,y)|2+|f(x,y+1)f(x,y)|2)(27)

Where f(x,y) represents the gray value of image f at the corresponding pixel (x,y).

Local Contrast

The local contrast of the image can reflect the dynamic range of the gray distribution of the image pixels. The larger the dynamic range is, the higher the contrast is. The formula for calculating the local contrast is

LC=1GRx=1Gy=1RIx,ymaxIx,yminIx,ymax+Ix,ymin+C(28)

Where Ix,ymax and Ix,ymin represent the maximum and minimum pixel gray values in a sub-block centered on pixel (x,y), respectively. In this paper, the size of the sub-block is 5 × 5. In order to avoid the case of denominator 0, C is a smaller constant with a value of 0.1.

The calculation results of objective evaluation indexes of different methods are shown in Table 1. It can be seen from the table that the standard deviation, mean gradient, information entropy, energy gradient and local contrast of the five objective evaluation index data are higher than the corresponding values of the original detection image and the detection image after Gaussian filtering. It shows that the method in this paper has obvious advantages in contrast enhancement and level of detail and sharpness improvement.

TABLE 1
www.frontiersin.org

TABLE 1. Contrast results of image objective indexes between original image and images with different methods (Bold numbers indicate the optimal value for each set of data).

Conclusion

Aiming at the degradation phenomena of terahertz detection images, such as low contrast, poor resolution of small targets and blurred details, this paper proposes a novel method for the enhancement of composite materials’ terahertz image using unsharp masking and guided filtering technology. Through the imaging detection of a variety of composite materials, denoise and enhance the imaging by using this novel method, the experimental results and evaluation results show that the proposed method can effectively filter out the noise in the detection signal, improve the image contrast and resolution, and enhance the details of the detection image, which is conducive to the wider application of terahertz technology in the field of nondestructive testing of composite materials. In the future research, the existing methods are further improved to find a new method to achieve the size of the identified defect close to the actual size on the basis of improving the contrast and detail resolution of the terahertz detection image.

Data Availability Statement

The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.

Author Contributions

ZL: Methodology, Experiment, Validation, Investigation, Writing-Original Draft; JZ: Supervision, Investigation; YMZ: Supervision, Methodology, Writing-Reviewing and Editing; ZH: Experiment; ZX: Experiment; YZZ: Experiment; CY: Sample preparation; WH: Experiment, Supervision; CZ: Supervision, Funding acquisition.

Funding

This research was supported by the Beijing Advanced Innovation Center for Imaging Theory and Technology Scientific Research Funds (008/19530012003), the Capital Normal University Development Funds by Category–Physics Department–Practice base Projects for Degree Study Program (008-2155089).

Conflict of Interest

Author CY is employed by Shenzhen Kuang-Chi Advanced Technology Co., Ltd.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Siegel PH. Terahertz Technology. IEEE Trans Microwave Theor Techn. (2002) 50(3):910–28. doi:10.1109/22.989974

CrossRef Full Text | Google Scholar

2. Kawase K, Shibuya T, Hayashi Si., Suizu K. THz Imaging Techniques for Nondestructive Inspections. Comptes Rendus Physique (2010) 11(7-8):510–8. doi:10.1016/j.crhy.2010.04.003

CrossRef Full Text | Google Scholar

3. Ferguson B, Abbott D. De-noising Techniques for Terahertz Responses of Biological Samples. Microelectron J (2001) 32(12):943–53. doi:10.1016/S0026-2692(01)00093-3

CrossRef Full Text | Google Scholar

4. Kowalski M, Kastek M, Walczakowski M, Palka N, Szustakowski M. Passive Imaging of Concealed Objects in Terahertz and Long-Wavelength Infrared. Appl Opt (2015) 54(13):3826–33. doi:10.1364/AO.54.003826

CrossRef Full Text | Google Scholar

5. Hua Zhong H, Yongwei Li YW, Jiao LC. SAR Image Despeckling Using Bayesian Nonlocal Means Filter with Sigma Preselection. IEEE Geosci Remote Sens Lett (2011) 8(4):809–13. doi:10.1109/LGRS.2011.2112331

CrossRef Full Text | Google Scholar

6. Buades A, Coll B, Morel JM. A Review of Image Denoising Algorithms, with a New One. Multiscale Model Simul (2005) 4(2):490–530. doi:10.1137/040616024

CrossRef Full Text | Google Scholar

7. Buades A, Coll B, Morel J-M. A Non-local Algorithm for Image Denoising. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05); 2005 Jun 20–25; San Diego, CA, USA. IEEE (2005). doi:10.1109/CVPR.2005.38

CrossRef Full Text | Google Scholar

8. Shi YX, Li JS. Based on Double Threshold Canny Equalization Algorithm for Terahertz Image Enhancement. Spectrosc Spect Anal (2018) 38(6):1680–3. doi:10.3964/j.issn.1000-0593(2018)06-1680-04

CrossRef Full Text | Google Scholar

9. He K, Sun J, Tang X. Guided Image Filtering. IEEE Trans Pattern Anal Mach Intell (2013) 35(6):1397–409. doi:10.1109/TPAMI.2012.213

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Liu N, Zhao D. Detail Enhancement for High-Dynamic-Range Infrared Images Based on Guided Image Filter. Infrared Phys Technol (2014) 67:138–47. doi:10.1016/j.infrared.2014.07.013

CrossRef Full Text | Google Scholar

11. Zhou B, Luo Y, Yang M, Chen B, Wang M, Peng L, et al. An Improved Adaptive Detail Enhancement Algorithm for Infrared Images Based on Guided Image Filter. J Mod Opt (2019) 66(1):33–46. doi:10.1080/09500340.2018.1511861

CrossRef Full Text | Google Scholar

12. Li Y, Hu W, Zhang X, Zhao Y, Ni J, Ligthart LP. A Non-linear Correction Method for Terahertz LFMCW Radar. IEEE Access (2020) 8:102784–94. doi:10.1109/ACCESS.2020.2998602

CrossRef Full Text | Google Scholar

13. Dong J, Kim B, Locquet A, McKeon P, Declercq N, Citrin DS. Nondestructive Evaluation of Forced Delamination in Glass Fiber-Reinforced Composites by Terahertz and Ultrasonic Waves. Composites B: Eng (2015) 79:667–75. doi:10.1016/j.compositesb.2015.05.028

CrossRef Full Text | Google Scholar

14. Maraun D, Kurths J. Cross Wavelet Analysis: Significance Testing and Pitfalls. Nonlin Process. Geophys (2004) 11(4):505–14. doi:10.5194/npg-11-505-2004

CrossRef Full Text | Google Scholar

15. Mallat S, Hwang WL. Singularity Detection and Processing with Wavelets. IEEE Trans Inform Theor (1992) 38(2):617–43. doi:10.1109/18.119727

CrossRef Full Text | Google Scholar

16. Sappa A, Carvajal J, Aguilera C, Oliveira M, Romero D, Vintimilla B. Wavelet-Based Visible and Infrared Image Fusion: A Comparative Study. Sensors (2016) 16(6):861. doi:10.3390/s16060861

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Mallat SG. A Theory for Multiresolution Signal Decomposition: the Wavelet Representation. IEEE Trans Pattern Anal Machine Intell (1989) 11(7):674–93. doi:10.1109/34.192463

CrossRef Full Text | Google Scholar

18. González‐Audícana M, Otazu X, Fors O, Seco A. Comparison between Mallat's and the 'à trous' discrete wavelet transform based algorithms for the fusion of multispectral and panchromatic images. Int J Remote Sens (2005) 26(3):595–614. doi:10.1080/01431160512331314056

CrossRef Full Text | Google Scholar

19. Ramponi G. A Cubic Unsharp Masking Technique for Contrast Enhancement. Signal Process. (1998) 67(2):211–22. doi:10.1016/S0165-1684(98)00038-3

CrossRef Full Text | Google Scholar

20. Polesel A, Ramponi G, Mathews VJ. Image Enhancement via Adaptive Unsharp Masking. IEEE Trans Image Process (2000) 9(3):505–10. doi:10.1109/83.826787

PubMed Abstract | CrossRef Full Text | Google Scholar

21. Xing L, Cui H-L, Shi C, Zhang Z, Zhang J, Chang T, et al. Nondestructive Examination of Polymethacrylimide Composite Structures with Terahertz Time-Domain Spectroscopy. Polym Test (2017) 57:141–8. doi:10.1016/j.polymertesting.2016.11.022

CrossRef Full Text | Google Scholar

22. Frydrych I, Xu F, Duan Mu QD, Li LJ, Yang D, Xia B. Nondestructive Evaluation of Rubber Composites Using Terahertz Time Domain Spectroscopy. Fibres Text East Europe (2018) 26(1):67–72. doi:10.5604/01.3001.0010.7799

CrossRef Full Text | Google Scholar

23. Ospald F, Zouaghi W, Beigang R, Matheis C, Jonuscheit J, Recur B, et al. Aeronautics Composite Material Inspection with a Terahertz Time-Domain Spectroscopy System. Opt Eng (2013) 53(3):031208. doi:10.1117/1.OE.53.3.031208

CrossRef Full Text | Google Scholar

24. Walker J, Richter J. Nondestructive Evaluation of Foam Insulation for the External Tank Return to Flight. In: 42nd AIAA/ASME/SAE/ASEE Joint Propulsion Conference & Exhibit, Sacramento, California (2006). doi:10.2514/6.2006-4601

CrossRef Full Text | Google Scholar

25. Liu J, Zhou C, Chen P, Kang C. An Efficient Contrast Enhancement Method for Remote Sensing Images. IEEE Geosci Remote Sens Lett (2017) 14(10):1715–9. doi:10.1109/LGRS.2017.2730247

CrossRef Full Text | Google Scholar

26. Wang Y, Pan Z. Image Contrast Enhancement Using Adjacent-Blocks-Based Modification for Local Histogram Equalization. Infrared Phys Technol (2017) 86:59–65. doi:10.1016/j.infrared.2017.08.005

CrossRef Full Text | Google Scholar

27. Subbarao M, Choi T, Nikzad A. Focusing Techniques. Opt Eng (1993) 32(11):2824–36. doi:10.1117/12.147706

CrossRef Full Text | Google Scholar

Keywords: terahertz imaging, image enhancement, discrete wavelet, hard threshold shrinkage denoising, guided filtering, unsharp masking

Citation: Li Z, Zuo J, Zhao Y, Han Z, Xu Z, Zhao Y, Yang C, Hu W and Zhang C (2021) A Novel Method for the Enhancement of Composite Materials’ Terahertz Image Using Unsharp Masking and Guided Filtering Technology. Front. Phys. 9:750588. doi: 10.3389/fphy.2021.750588

Received: 30 July 2021; Accepted: 04 October 2021;
Published: 03 November 2021.

Edited by:

Yingxin Wang, Tsinghua University, China

Reviewed by:

Tao Peng, Texas A and M University, United States
Ying Liu, Beijing Normal University, China

Copyright © 2021 Li, Zuo, Zhao, Han, Xu, Zhao, Yang, Hu and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jian Zuo, jian.zuo@cnu.edu.cn

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.