<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">750588</article-id>
<article-id pub-id-type="doi">10.3389/fphy.2021.750588</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A Novel Method for the Enhancement of Composite Materials&#x2019; Terahertz Image Using Unsharp Masking and Guided Filtering Technology</article-title>
<alt-title alt-title-type="left-running-head">Li et&#x20;al.</alt-title>
<alt-title alt-title-type="right-running-head">Enhancement of Composite Materials&#x2019; Image</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Zhilong</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1373512/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Zuo</surname>
<given-names>Jian</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1503967/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhao</surname>
<given-names>Yuanmeng</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Han</surname>
<given-names>Zhongde</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xu</surname>
<given-names>Zhihao</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhao</surname>
<given-names>Yunzhang</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yang</surname>
<given-names>Chao</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Hu</surname>
<given-names>Weidong</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhang</surname>
<given-names>Cunlin</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<label>
<sup>1</sup>
</label>Beijing Key Laboratory for Terahertz Spectroscopy and Imaging, MOE Key Laboratory of Terahertz Optoelectronics, Department of Physics, Capital Normal University, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<label>
<sup>2</sup>
</label>Beijing Key Laboratory of Millimeter Wave and Terahertz Technology, Beijing Institute of Technology, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<label>
<sup>3</sup>
</label>Kuang-Chi Silver Star Base Technology Room, Shenzhen Kuang-Chi Advanced Technology Co., Ltd, <addr-line>Shenzhen</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/936052/overview">Yingxin Wang</ext-link>, Tsinghua University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1203465/overview">Tao Peng</ext-link>, Texas A and M University, United&#x20;States</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1438316/overview">Ying Liu</ext-link>, Beijing Normal University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Jian Zuo, <email>jian.zuo@cnu.edu.cn</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Optics and Photonics, a section of the journal Frontiers in Physics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>03</day>
<month>11</month>
<year>2021</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>9</volume>
<elocation-id>750588</elocation-id>
<history>
<date date-type="received">
<day>30</day>
<month>07</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>04</day>
<month>10</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2021 Li, Zuo, Zhao, Han, Xu, Zhao, Yang, Hu and Zhang.</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Li, Zuo, Zhao, Han, Xu, Zhao, Yang, Hu and Zhang</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>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&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>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&#x2019; 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&#x2013;220&#xa0;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.</p>
</abstract>
<kwd-group>
<kwd>terahertz imaging</kwd>
<kwd>image enhancement</kwd>
<kwd>discrete wavelet</kwd>
<kwd>hard threshold shrinkage denoising</kwd>
<kwd>guided filtering</kwd>
<kwd>unsharp masking</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>Introduction</title>
<p>Terahertz imaging detection technology has the advantages of high penetrability. In the detection of composite materials&#x2019; 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 [<xref ref-type="bibr" rid="B1">1</xref>]. 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 [<xref ref-type="bibr" rid="B2">2</xref>]. 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) [<xref ref-type="bibr" rid="B3">3</xref>, <xref ref-type="bibr" rid="B4">4</xref>], 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.</p>
<p>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 [<xref ref-type="bibr" rid="B5">5</xref>&#x2013;<xref ref-type="bibr" rid="B8">8</xref>]. 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 [<xref ref-type="bibr" rid="B9">9</xref>]. 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&#x20;al. and Zhou et&#x20;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 [<xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B11">11</xref>]. 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&#x2013;220&#xa0;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.</p>
</sec>
<sec id="s2">
<title>THE Principles of Terahertz Frequency Modulated Radar Imaging System</title>
<p>In this paper, a 150&#x2013;220&#xa0;GHz high frequency terahertz frequency modulated radar imaging system had been used for imaging experiments [<xref ref-type="bibr" rid="B12">12</xref>]. 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&#x2013;220&#xa0;GHz, and the frequency modulation bandwidth is 70&#xa0;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 <xref ref-type="fig" rid="F1">Figure&#x20;1</xref>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The relationship between angular frequency of the sawtooth wave interference signal and the generated beat frequency signal.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g001.tif"/>
</fig>
<p>Among them, solid line <inline-formula id="inf1">
<mml:math id="m1">
<mml:mi>T</mml:mi>
</mml:math>
</inline-formula> represents the modulated signal directly received by the detector, dotted line <inline-formula id="inf2">
<mml:math id="m2">
<mml:mi>R</mml:mi>
</mml:math>
</inline-formula> represents the sample signal that carries the sample information after the sample reflection, dotted line <inline-formula id="inf3">
<mml:math id="m3">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> represents the beat frequency signal generated by the interference between the modulated signal and the sample signal, <inline-formula id="inf4">
<mml:math id="m4">
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:mi>&#x3c9;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the range of the angular frequency of the modulated signal, <inline-formula id="inf5">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the period of the modulated signal, <inline-formula id="inf6">
<mml:math id="m6">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the frequency difference between the modulated signal and the sample signal, <inline-formula id="inf7">
<mml:math id="m7">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula> represents the time delay of the sample signal relative to the modulated signal, and <inline-formula id="inf8">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> 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<disp-formula id="e1">
<mml:math id="m9">
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>Where <inline-formula id="inf9">
<mml:math id="m10">
<mml:mi>c</mml:mi>
</mml:math>
</inline-formula> is the speed of light, and <inline-formula id="inf10">
<mml:math id="m11">
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the frequency modulation bandwidth of the terahertz source. Therefore, the theoretical longitudinal resolution of the system is 2.1&#xa0;mm.</p>
<p>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 [<xref ref-type="bibr" rid="B13">13</xref>], so as to obtain the internal section information of the sample. The amplitude imaging method is expressed as<disp-formula id="e2">
<mml:math id="m12">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2003;</mml:mtext>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>Where <inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the terahertz signal set at <inline-formula id="inf12">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> depth within the sample, and its size is <inline-formula id="inf13">
<mml:math id="m15">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>; <inline-formula id="inf14">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the terahertz signal set at different depths, and its size is <inline-formula id="inf15">
<mml:math id="m17">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>; <inline-formula id="inf16">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf17">
<mml:math id="m19">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are distances between the upper surface and the lower surface of the sample and the detector respectively, and <inline-formula id="inf18">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are values according to the actual detection requirements.</p>
</sec>
<sec id="s3">
<title>Image Denoising Enhancement Based on Wavelet Unsharp Masking and Guided Filtering Technology</title>
<p>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 [<xref ref-type="bibr" rid="B14">14</xref>]. 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 <xref ref-type="fig" rid="F2">Figure&#x20;2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Block diagram of terahertz image processing method based on wavelet unsharp masking and guided filtering technology.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g002.tif"/>
</fig>
<p>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 <inline-formula id="inf19">
<mml:math id="m21">
<mml:mi>I</mml:mi>
</mml:math>
</inline-formula>, and the terahertz detection signal <inline-formula id="inf20">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> 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 <inline-formula id="inf21">
<mml:math id="m23">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> after wavelet denoising, and the preliminary terahertz detection image <inline-formula id="inf22">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is obtained; In the third step, the guided filtering technique with the image <inline-formula id="inf23">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> after wavelet denoising as the guidance image is used to filter its own image to obtain the detail layer <inline-formula id="inf24">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>; At the same time, the unsharp masking based on mean filtering is applied to the denoised images <inline-formula id="inf25">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to get the sharpened image <inline-formula id="inf26">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>; The fourth step is to use the sharpened image <inline-formula id="inf27">
<mml:math id="m29">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> as the guidance image, to repeat the guided filtering operation, and obtain the base layer <inline-formula id="inf28">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>; In the fifth step, the detail layer <inline-formula id="inf29">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and the base layer <inline-formula id="inf30">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are gained and superimposed to obtain the terahertz detection image <inline-formula id="inf31">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> 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 <inline-formula id="inf32">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> 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&#x20;image.</p>
<sec id="s3-1">
<title>Hard Threshold Shrinkage Denoising Enhancement Based on Discrete Wavelet Transform</title>
<p>For a square integrable function <inline-formula id="inf33">
<mml:math id="m35">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi>L</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>R</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf34">
<mml:math id="m36">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the continuous wavelet generator function, <inline-formula id="inf35">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the continuous wavelet basis function, and the continuous wavelet transform of <inline-formula id="inf36">
<mml:math id="m38">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is defined as<disp-formula id="e3">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2329;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
<mml:mo>&#x232a;</mml:mo>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>(</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mi>a</mml:mi>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>)</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>a</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>Where <inline-formula id="inf37">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the result of <inline-formula id="inf38">
<mml:math id="m41">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> continuous wavelet transform, <inline-formula id="inf39">
<mml:math id="m42">
<mml:mi>a</mml:mi>
</mml:math>
</inline-formula> is the scale factor, <inline-formula id="inf40">
<mml:math id="m43">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> is the time shift factor, and <inline-formula id="inf41">
<mml:math id="m44">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is the conjugate of the wavelet generating function. Taking <inline-formula id="inf42">
<mml:math id="m45">
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>a</mml:mi>
<mml:mn>0</mml:mn>
<mml:mi>j</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>a</mml:mi>
<mml:mn>0</mml:mn>
<mml:mi>j</mml:mi>
</mml:msubsup>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> (<inline-formula id="inf43">
<mml:math id="m46">
<mml:mi>j</mml:mi>
</mml:math>
</inline-formula> is the discretization index, <inline-formula id="inf44">
<mml:math id="m47">
<mml:mi>k</mml:mi>
</mml:math>
</inline-formula> is the discretization coefficient, <inline-formula id="inf45">
<mml:math id="m48">
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>), the two are discretized, and the discrete wavelet transform can be defined as<disp-formula id="e4">
<mml:math id="m49">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x2329;</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x232a;</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>a</mml:mi>
<mml:mn>0</mml:mn>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mi>j</mml:mi>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:msubsup>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>a</mml:mi>
<mml:mn>0</mml:mn>
<mml:mi>j</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>Where <inline-formula id="inf46">
<mml:math id="m50">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the result of discrete wavelet transform of <inline-formula id="inf47">
<mml:math id="m51">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> [<xref ref-type="bibr" rid="B15">15</xref>,&#x20;<xref ref-type="bibr" rid="B16">16</xref>].</p>
<p>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<disp-formula id="e5">
<mml:math id="m52">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b4;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>...</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>Where <inline-formula id="inf48">
<mml:math id="m53">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the signal containing noise, <inline-formula id="inf49">
<mml:math id="m54">
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the ideal noise-free signal, <inline-formula id="inf50">
<mml:math id="m55">
<mml:mrow>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the doped noise, <inline-formula id="inf51">
<mml:math id="m56">
<mml:mi>&#x3b4;</mml:mi>
</mml:math>
</inline-formula> is the noise level, and <inline-formula id="inf52">
<mml:math id="m57">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> is the sampling length. The essence of signal denoising is to use the different characteristics of signal and noise to extract noise <inline-formula id="inf53">
<mml:math id="m58">
<mml:mrow>
<mml:mi>&#x3b4;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> from noise containing signal <inline-formula id="inf54">
<mml:math id="m59">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and restore the ideal signal <inline-formula id="inf55">
<mml:math id="m60">
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. 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.</p>
<p>Define the scale function <inline-formula id="inf56">
<mml:math id="m61">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi>L</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>R</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> by an integer multiple translation <inline-formula id="inf57">
<mml:math id="m62">
<mml:mi>k</mml:mi>
</mml:math>
</inline-formula> to get <inline-formula id="inf58">
<mml:math id="m63">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, then<disp-formula id="e6">
<mml:math id="m64">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>If space <inline-formula id="inf59">
<mml:math id="m65">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:munder>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is defined by a signal linearly expressed by signal <inline-formula id="inf60">
<mml:math id="m66">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, then <inline-formula id="inf61">
<mml:math id="m67">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is called a closed signal space of <inline-formula id="inf62">
<mml:math id="m68">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.By translating and stretching the scale function, a new scale function <inline-formula id="inf63">
<mml:math id="m69">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is obtained, which is expressed as<disp-formula id="e7">
<mml:math id="m70">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mi>j</mml:mi>
</mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>Similarly, the newly closed signal space spanned by <inline-formula id="inf64">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is<disp-formula id="e8">
<mml:math id="m72">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:munder>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:munder>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mo>(</mml:mo>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mi>j</mml:mi>
</mml:msup>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>After further derivation of the scale function <inline-formula id="inf65">
<mml:math id="m73">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, the multi-resolution analysis equation corresponding to the scale function coefficient is obtained, and the expression is<disp-formula id="e9">
<mml:math id="m74">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>The equation shows that different scale functions correspond to different <inline-formula id="inf66">
<mml:math id="m75">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> [<xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B18">18</xref>]. When the noise containing signal <inline-formula id="inf67">
<mml:math id="m76">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, the noise containing signal can be expressed as<disp-formula id="e10">
<mml:math id="m77">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
<p>Among them, there is<disp-formula id="e11">
<mml:math id="m78">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x2329;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x232a;</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2003;</mml:mtext>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x2329;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x232a;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>According to the multi-resolution analysis equation <inline-formula id="inf68">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>k</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> of the scale function, we can obtain<disp-formula id="e12">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
<p>Then there is<disp-formula id="e13">
<mml:math id="m81">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x2329;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x232a;</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mo>&#x2329;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x232a;</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
</p>
<p>Similarly, according to <inline-formula id="inf69">
<mml:math id="m82">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, the wavelet coefficient <inline-formula id="inf70">
<mml:math id="m83">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> at each scale and each decomposition layer can be obtained as<disp-formula id="e14">
<mml:math id="m84">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>Set the standard deviation of the wavelet coefficient <inline-formula id="inf71">
<mml:math id="m85">
<mml:mrow>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> as threshold <inline-formula id="inf72">
<mml:math id="m86">
<mml:mi>U</mml:mi>
</mml:math>
</inline-formula>, and the expression is<disp-formula id="e15">
<mml:math id="m87">
<mml:mrow>
<mml:mi>U</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>M</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>n</mml:mi>
</mml:munder>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mi>M</mml:mi>
</mml:mfrac>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>where <inline-formula id="inf73">
<mml:math id="m88">
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> is the number of wavelet coefficients of the noise containing signal under the decomposition of each scale of the discrete wavelet transform.</p>
<p>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&#x20;image.</p>
</sec>
<sec id="s3-2">
<title>Guided Filtering</title>
<p>Guided filtering [<xref ref-type="bibr" rid="B9">9</xref>&#x2013;<xref ref-type="bibr" rid="B11">11</xref>] 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 <inline-formula id="inf74">
<mml:math id="m89">
<mml:mi>q</mml:mi>
</mml:math>
</inline-formula> can be expressed as follows<disp-formula id="e16">
<mml:math id="m90">
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>I</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>Where <inline-formula id="inf75">
<mml:math id="m91">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> is the input image, i.e.,&#x20;the image after wavelet denoising, <inline-formula id="inf76">
<mml:math id="m92">
<mml:mi>I</mml:mi>
</mml:math>
</inline-formula> is the guidance image, <inline-formula id="inf77">
<mml:math id="m93">
<mml:mi>r</mml:mi>
</mml:math>
</inline-formula> is the size of the filtering window, <inline-formula id="inf78">
<mml:math id="m94">
<mml:mi>&#x3b5;</mml:mi>
</mml:math>
</inline-formula> is the regularization parameter, <inline-formula id="inf79">
<mml:math id="m95">
<mml:mi>r</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf80">
<mml:math id="m96">
<mml:mi>&#x3b5;</mml:mi>
</mml:math>
</inline-formula> can be determined by empirical value. In this paper, <inline-formula id="inf81">
<mml:math id="m97">
<mml:mi>r</mml:mi>
</mml:math>
</inline-formula> is 3 and <inline-formula id="inf82">
<mml:math id="m98">
<mml:mi>&#x3b5;</mml:mi>
</mml:math>
</inline-formula> is 0.64. The assumption between output image <inline-formula id="inf83">
<mml:math id="m99">
<mml:mi>q</mml:mi>
</mml:math>
</inline-formula> and guidance image <inline-formula id="inf84">
<mml:math id="m100">
<mml:mi>I</mml:mi>
</mml:math>
</inline-formula> is as follows : there is a linear relationship in local window <inline-formula id="inf85">
<mml:math id="m101">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mtext>v</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> centered on pixel <inline-formula id="inf86">
<mml:math id="m102">
<mml:mi>v</mml:mi>
</mml:math>
</inline-formula>, and the output expression of a pixel can be expressed as<disp-formula id="e17">
<mml:math id="m103">
<mml:mrow>
<mml:msub>
<mml:mi>q</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mtext>&#x2002;</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>Where <inline-formula id="inf87">
<mml:math id="m104">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> corresponds to the pixel index in the local window, <inline-formula id="inf88">
<mml:math id="m105">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf89">
<mml:math id="m106">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are linear coefficients in the window. By calculating the derivative gradient on both sides of the above equation, <inline-formula id="inf90">
<mml:math id="m107">
<mml:mrow>
<mml:mo>&#x2207;</mml:mo>
<mml:mi>q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>g</mml:mi>
<mml:mo>&#x2207;</mml:mo>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> 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 <inline-formula id="inf91">
<mml:math id="m108">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf92">
<mml:math id="m109">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, it is necessary to retain the effective information of the input image <inline-formula id="inf93">
<mml:math id="m110">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> as much as possible in the output image <inline-formula id="inf94">
<mml:math id="m111">
<mml:mi>q</mml:mi>
</mml:math>
</inline-formula>. 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. <inline-formula id="inf95">
<mml:math id="m112">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the minimization cost function, and the expression is as follows<disp-formula id="e18">
<mml:math id="m113">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
<mml:msubsup>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>Where <inline-formula id="inf96">
<mml:math id="m114">
<mml:mrow>
<mml:mi>&#x3b5;</mml:mi>
<mml:msubsup>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the penalty term, <inline-formula id="inf97">
<mml:math id="m115">
<mml:mi>&#x3b5;</mml:mi>
</mml:math>
</inline-formula> is used to prevent <inline-formula id="inf98">
<mml:math id="m116">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> too large regularization parameters. The <xref ref-type="disp-formula" rid="e18">Eq. 18</xref> is solved by linear regression model to minimize it, and the optimal solution of <inline-formula id="inf99">
<mml:math id="m117">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf100">
<mml:math id="m118">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> can be obtained as<disp-formula id="e19">
<mml:math id="m119">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>v</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e20">
<mml:math id="m120">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>Where <inline-formula id="inf101">
<mml:math id="m121">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf102">
<mml:math id="m122">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>v</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the mean value and variance of pixels in local window <inline-formula id="inf103">
<mml:math id="m123">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of the guidance image, <inline-formula id="inf104">
<mml:math id="m124">
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the number of pixels contained in <inline-formula id="inf105">
<mml:math id="m125">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf106">
<mml:math id="m126">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the mean value of image <inline-formula id="inf107">
<mml:math id="m127">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> to be filtered in the window. When using <xref ref-type="disp-formula" rid="e19">Eq. 19</xref> to calculate the linear coefficient, the <inline-formula id="inf108">
<mml:math id="m128">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf109">
<mml:math id="m129">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> calculated in different window <inline-formula id="inf110">
<mml:math id="m130">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are obviously different, which can be solved by averaging the values obtained from <inline-formula id="inf111">
<mml:math id="m131">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf112">
<mml:math id="m132">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, so the output image can be expressed as<disp-formula id="e21">
<mml:math id="m133">
<mml:mrow>
<mml:msub>
<mml:mi>q</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>Where <inline-formula id="inf113">
<mml:math id="m134">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf114">
<mml:math id="m135">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the average of linear coefficients of all local windows under the same pixel&#x20;index.</p>
</sec>
<sec id="s3-3">
<title>Guided Filtering Based on Unsharp Masking</title>
<p>Unsharp masking [<xref ref-type="bibr" rid="B19">19</xref>, <xref ref-type="bibr" rid="B20">20</xref>] 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<disp-formula id="e22">
<mml:math id="m136">
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b6;</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>where <inline-formula id="inf115">
<mml:math id="m137">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the original input image, <inline-formula id="inf116">
<mml:math id="m138">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the low-pass filter, <inline-formula id="inf117">
<mml:math id="m139">
<mml:mi>&#x3b6;</mml:mi>
</mml:math>
</inline-formula> is the gain coefficient of high-frequency details, and <inline-formula id="inf118">
<mml:math id="m140">
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the enhanced output&#x20;image.</p>
<p>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&#x20;&#xd7; 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 <inline-formula id="inf119">
<mml:math id="m141">
<mml:mi>&#x3b6;</mml:mi>
</mml:math>
</inline-formula> 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&#x20;image.</p>
<p>Image <inline-formula id="inf120">
<mml:math id="m142">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> after wavelet denoising is processed by guided filtering technology with its own image <inline-formula id="inf121">
<mml:math id="m143">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and sharpened image <inline-formula id="inf122">
<mml:math id="m144">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> as the guidance image, the detail layer <inline-formula id="inf123">
<mml:math id="m145">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> reflecting the image detail information and the base layer <inline-formula id="inf124">
<mml:math id="m146">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> reflecting the image contour are obtained. The obtained detail layer <inline-formula id="inf125">
<mml:math id="m147">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and the base layer <inline-formula id="inf126">
<mml:math id="m148">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are superposed with the gain of <inline-formula id="inf127">
<mml:math id="m149">
<mml:mi>&#x3b2;</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf128">
<mml:math id="m150">
<mml:mi>&#x3b3;</mml:mi>
</mml:math>
</inline-formula> coefficients respectively, and the terahertz detection resulting image <inline-formula id="inf129">
<mml:math id="m151">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> with improved contrast, enhanced detail and edge information is obtained. The process can be expressed as follows<disp-formula id="e23">
<mml:math id="m152">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b3;</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>Where <inline-formula id="inf130">
<mml:math id="m153">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the output terahertz detection resulting image, <inline-formula id="inf131">
<mml:math id="m154">
<mml:mi>&#x3b2;</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf132">
<mml:math id="m155">
<mml:mi>&#x3b3;</mml:mi>
</mml:math>
</inline-formula> are the gain coefficients, <inline-formula id="inf133">
<mml:math id="m156">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the detail layer, and <inline-formula id="inf134">
<mml:math id="m157">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the base&#x20;layer.</p>
</sec>
</sec>
<sec id="s4">
<title>Imaging Samples, Experimental Methods and Image Processing</title>
<sec id="s4-1">
<title>Sample Introduction and Experimental Setup</title>
<p>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 [<xref ref-type="bibr" rid="B21">21</xref>]. 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 [<xref ref-type="bibr" rid="B22">22</xref>]. 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 [<xref ref-type="bibr" rid="B23">23</xref>]. 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 [<xref ref-type="bibr" rid="B24">24</xref>], so the accurate detection of composite materials has important practical significance.</p>
<sec id="s4-1-1">
<title>Polymethacrylimide Foam Sandwich Structure Composite Material</title>
<p>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 <xref ref-type="fig" rid="F3">Figure&#x20;3</xref>). The sample was composed of thin aramid fiber paper honeycomb with thickness of 4.0&#xa0;mm, two layers of polymethacrylimide foam with thickness of 4.3&#xa0;mm and aramid fiber paper honeycomb with thickness of 40.0&#xa0;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&#xa0;mm and thicknesses of 0.1&#xa0;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 <xref ref-type="fig" rid="F3">Figure&#x20;3</xref>.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The actual photos, defect location and size, structure diagram of aramid fiber paper honeycomb and polymethacrylimide foam sandwich composite material. <bold>(A)</bold> the actual photo <bold>(top view)</bold>, <bold>(B)</bold> the actual photo (side view), <bold>(C)</bold> the diagram of defect location and size <bold>(top view)</bold>, <bold>(D)</bold> the diagram of defect location and size (side view), <bold>(E)</bold> the structure diagram.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g003.tif"/>
</fig>
</sec>
<sec id="s4-1-2">
<title>Rubber and Glass Fiber Reinforced Composite Sandwich Structure</title>
<p>Sample two rubber and glass fiber reinforced composite sandwich structure (the actual photos, defect location and size, structure diagram were shown in <xref ref-type="fig" rid="F4">Figure&#x20;4</xref>). The sample consisted of a rubber of 10.0&#xa0;cm &#xd7; 10.0&#xa0;cm in size and 5.0&#xa0;mm in thickness and a glass fiber reinforced composite of the same size and 13.0&#xa0;mm in thickness. The two were bonded to each other by epoxy resin adhesive, and three delamination defects with a length of 4.2&#xa0;cm and a depth of 2.0&#xa0;mm were prefabricated in the glass fiber reinforced composite. The locations of the defects were shown in the yellow block in <xref ref-type="fig" rid="F4">Figure&#x20;4</xref>.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The actual photos, defect location and size, structure diagram of rubber and glass fiber reinforced composite sandwich structure. <bold>(A)</bold> the actual photo <bold>(top view)</bold>, <bold>(B)</bold> the actual photo (side view), <bold>(C)</bold> the diagram of defect location and size <bold>(top view)</bold>, <bold>(D)</bold> the diagram of defect location and size (side view), <bold>(E)</bold> the structure diagram.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g004.tif"/>
</fig>
</sec>
<sec id="s4-1-3">
<title>Polymethacrylimide Foam and Polyvinyl Chloride Sheet Sandwich Composite Material</title>
<p>Sample 3 polymethacrylimide foam and polyvinyl chloride sheet sandwich composite material (the actual photos, defect location and size, structure diagram were shown in <xref ref-type="fig" rid="F5">Figure&#x20;5</xref>). The sample was composed of two layers of 4.3&#xa0;mm in thickness of polymethacrylimide foam and a layer of 2.0&#xa0;mm in thickness of polyvinyl chloride sheet, which were also bonded with epoxy resin adhesive, and Teflon films of 10.0 and 3.0&#xa0;mm in diameter and 0.1&#xa0;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 <xref ref-type="fig" rid="F5">Figure&#x20;5</xref>.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>The actual photos, defect location and size, structure diagram of polymethacrylimide foam and polyvinyl chloride sheet sandwich composite material. <bold>(A)</bold> the actual photo <bold>(top view)</bold>, <bold>(B)</bold> the actual photo (side view), <bold>(C)</bold> the diagram of defect location and size <bold>(top view)</bold>, <bold>(D)</bold> the diagram of defect location and size (side view), <bold>(E)</bold> the structure diagram.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g005.tif"/>
</fig>
</sec>
<sec id="s4-1-4">
<title>Experimental Setup</title>
<p>In this paper, when the 150&#x2013;220&#xa0;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&#xa0;mm was set as 2.0&#xa0;mm &#xd7; 2.0&#xa0;mm, and the minimum detection accuracy of the stepper motor for the adhesive debonding defect with a diameter of 6.0&#xa0;mm was set as 1.0&#xa0;mm &#xd7; 1.0&#xa0;mm; The minimum detection accuracy of the stepper motor was set as 1.5&#xa0;mm &#xd7; 1.5&#xa0;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&#xa0;mm was also set as 1.5&#xa0;mm &#xd7; 1.5&#xa0;mm, and the minimum detection accuracy of the stepper motor for the adhesive debonding defect with a diameter of 3.0&#xa0;mm was set as 1.0&#xa0;mm &#xd7; 1.0&#xa0;mm.</p>
</sec>
</sec>
<sec id="s4-2">
<title>Image Processing Results and Analysis</title>
<p>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&#xa0;mm in sample 1, &#x201c;sym4&#x201d; was selected as the wavelet denoising combination with 3 layers of decomposition layer, and &#x201c;sym5&#x201d; was selected as the wavelet denoising combination with four layers of decomposition layer for the adhesive debonding defect with a diameter of 6.0&#xa0;mm; For the delamination defects in sample 2, &#x201c;sym5&#x201d; was selected as the wavelet denoising combination with two layers of decomposition layer; For the adhesive debonding defect with a diameter of 10.0&#xa0;mm and the adhesive debonding defect with a diameter of 3.0&#xa0;mm in sample 3, the combination of wavelet denoising with &#x201c;sym5&#x201d; as the wavelet basis and the decomposition layer of 3 layers was selected for hard threshold shrinkage denoising.</p>
<sec id="s4-2-1">
<title>Sample1: Imaging Results Analysis</title>
<p>The imaging results of each method for the adhesive debonding defect in sample 1 with a diameter of 10.0&#xa0;mm are shown in <xref ref-type="fig" rid="F6">Figure&#x20;6</xref>, and the imaging results of each method for the adhesive debonding defect with a diameter of 6.0&#xa0;mm are shown in <xref ref-type="fig" rid="F7">Figure&#x20;7</xref>. 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&#xa0;mm or 10.0&#xa0;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&#x20;image.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Image of processing results of each method for adhesive debonding with a diameter of 10.0&#xa0;mm in sample 1. <bold>(A)</bold> image of original detection, <bold>(B)</bold> Gaussian filtering, <bold>(C)</bold> method in this&#x20;paper.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g006.tif"/>
</fig>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Image of processing results of each method for adhesive debonding with a diameter of 6.0&#xa0;mm in sample 1. <bold>(A)</bold> image of original detection, <bold>(B)</bold> Gaussian filtering, <bold>(C)</bold> method in this&#x20;paper.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g007.tif"/>
</fig>
</sec>
<sec id="s4-2-2">
<title>Sample2: Imaging Results Analysis</title>
<p>The imaging results of each method of the delamination defects with depth of 2.0&#xa0;mm in sample two are shown in <xref ref-type="fig" rid="F8">Figure&#x20;8</xref>. 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.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Image of processing results of each method for delamination defects in sample 2. <bold>(A)</bold> image of original detection, <bold>(B)</bold> Gaussian filtering, <bold>(C)</bold> method in this&#x20;paper.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g008.tif"/>
</fig>
</sec>
<sec id="s4-2-3">
<title>Sample3: Imaging Results Analysis</title>
<p>The imaging results of each method for the adhesive debonding defect in sample 3 with a diameter of 10.0&#xa0;mm are shown in <xref ref-type="fig" rid="F9">Figure&#x20;9</xref>, and the imaging results of each method for the adhesive debonding defect with a diameter of 3.0&#xa0;mm are shown in <xref ref-type="fig" rid="F10">Figure&#x20;10</xref>. 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&#xa0;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&#x20;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.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Image of processing results of each method for adhesive debonding with a diameter of 10.0&#xa0;mm in sample 3. <bold>(A)</bold> image of original detection, <bold>(B)</bold> Gaussian filtering, <bold>(C)</bold> method in this&#x20;paper.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g009.tif"/>
</fig>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Image of processing results of each method for adhesive debonding with a diameter of 3.0&#xa0;mm in sample 3. <bold>(A)</bold> image of original detection, <bold>(B)</bold> Gaussian filtering, <bold>(C)</bold> method in this&#x20;paper.</p>
</caption>
<graphic xlink:href="fphy-09-750588-g010.tif"/>
</fig>
</sec>
</sec>
</sec>
<sec id="s5">
<title>Objective Evaluation of Resulting Images</title>
<p>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 [<xref ref-type="bibr" rid="B25">25</xref>&#x2013;<xref ref-type="bibr" rid="B27">27</xref>].</p>
<sec id="s5-1">
<title>Standard Deviation</title>
<p>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<disp-formula id="e24">
<mml:math id="m158">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>D</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>u</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>where <inline-formula id="inf135">
<mml:math id="m159">
<mml:mi>G</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf136">
<mml:math id="m160">
<mml:mi>R</mml:mi>
</mml:math>
</inline-formula> represent the sizes of the image, <inline-formula id="inf137">
<mml:math id="m161">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the gray value of pixel <inline-formula id="inf138">
<mml:math id="m162">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> corresponding to image <inline-formula id="inf139">
<mml:math id="m163">
<mml:mi>F</mml:mi>
</mml:math>
</inline-formula>, and <inline-formula id="inf140">
<mml:math id="m164">
<mml:mi>u</mml:mi>
</mml:math>
</inline-formula> represents the average gray value of all pixels in the&#x20;image.</p>
</sec>
<sec id="s5-2">
<title>Mean Gradient</title>
<p>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<disp-formula id="e25">
<mml:math id="m165">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>G</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>R</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>where <inline-formula id="inf141">
<mml:math id="m166">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</inline-formula> represents the gradient in the horizontal direction, and <inline-formula id="inf142">
<mml:math id="m167">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</inline-formula> represents the gradient in the vertical direction.</p>
</sec>
<sec id="s5-3">
<title>Information Entropy</title>
<p>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<disp-formula id="e26">
<mml:math id="m168">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munderover>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>log</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>Where <inline-formula id="inf143">
<mml:math id="m169">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the probability of gray level <inline-formula id="inf144">
<mml:math id="m170">
<mml:mrow>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, the greater the information entropy indicates that the image contains more details.</p>
</sec>
<sec id="s5-4">
<title>Energy Gradient</title>
<p>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<disp-formula id="e27">
<mml:math id="m171">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>G</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>R</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
<label>(27)</label>
</disp-formula>Where <inline-formula id="inf145">
<mml:math id="m172">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the gray value of image <inline-formula id="inf146">
<mml:math id="m173">
<mml:mi>f</mml:mi>
</mml:math>
</inline-formula> at the corresponding pixel&#x20;<inline-formula id="inf147">
<mml:math id="m174">
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</sec>
<sec id="s5-5">
<title>Local Contrast</title>
<p>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<disp-formula id="e28">
<mml:math id="m175">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>C</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>R</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mstyle displaystyle="true">
<mml:mi>I</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mstyle displaystyle="true">
<mml:mi>I</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mstyle displaystyle="true">
<mml:mi>I</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mstyle displaystyle="true">
<mml:mi>I</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
<label>(28)</label>
</disp-formula>Where <inline-formula id="inf148">
<mml:math id="m176">
<mml:mrow>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf149">
<mml:math id="m177">
<mml:mrow>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> represent the maximum and minimum pixel gray values in a sub-block centered on pixel <inline-formula id="inf150">
<mml:math id="m178">
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, respectively. In this paper, the size of the sub-block is 5&#x20;&#xd7; 5. In order to avoid the case of denominator 0, <inline-formula id="inf151">
<mml:math id="m179">
<mml:mi>C</mml:mi>
</mml:math>
</inline-formula> is a smaller constant with a value of&#x20;0.1.</p>
<p>The calculation results of objective evaluation indexes of different methods are shown in <xref ref-type="table" rid="T1">Table&#x20;1</xref>. 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.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>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).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Detection image</th>
<th align="center">Index</th>
<th align="center">Original image</th>
<th align="center">Gaussian filtering</th>
<th align="center">Method in this paper</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td/>
<td align="left">SD</td>
<td align="char" char=".">3.0047</td>
<td align="char" char=".">2.7121</td>
<td align="char" char=".">
<bold>3.6210</bold>
</td>
</tr>
<tr>
<td rowspan="5" align="left">Adhesive debonding defect with diameter 10.0&#xa0;mm (Sample 1)</td>
<td align="left">MG</td>
<td align="char" char=".">0.0459</td>
<td align="char" char=".">0.0198</td>
<td align="char" char=".">
<bold>0.0557</bold>
</td>
</tr>
<tr>
<td align="left">IE</td>
<td align="char" char=".">6.6520</td>
<td align="char" char=".">3.1218</td>
<td align="char" char=".">
<bold>6.7522</bold>
</td>
</tr>
<tr>
<td align="left">EG</td>
<td align="char" char=".">2.8653e&#x2b;04</td>
<td align="char" char=".">5.3570e&#x2b;03</td>
<td align="char" char=".">
<bold>4.2509e&#x2b;04</bold>
</td>
</tr>
<tr>
<td align="left">LC</td>
<td align="char" char=".">35.6725</td>
<td align="char" char=".">35.0706</td>
<td align="char" char=".">
<bold>54.6020</bold>
</td>
</tr>
<tr>
<td align="left">SD</td>
<td align="char" char=".">2.9775</td>
<td align="char" char=".">2.2973</td>
<td align="char" char=".">
<bold>13.9005</bold>
</td>
</tr>
<tr>
<td rowspan="5" align="left">Adhesive debonding defect with diameter 6.0&#xa0;mm (Sample 1)</td>
<td align="left">MG</td>
<td align="char" char=".">0.0264</td>
<td align="char" char=".">0.0135</td>
<td align="char" char=".">
<bold>0.0481</bold>
</td>
</tr>
<tr>
<td align="left">IE</td>
<td align="char" char=".">6.7008</td>
<td align="char" char=".">3.1171</td>
<td align="char" char=".">
<bold>8.9169</bold>
</td>
</tr>
<tr>
<td align="left">EG</td>
<td align="char" char=".">2.8306e&#x2b;04</td>
<td align="char" char=".">7.4000e&#x2b;03</td>
<td align="char" char=".">
<bold>9.4433e&#x2b;04</bold>
</td>
</tr>
<tr>
<td align="left">LC</td>
<td align="char" char=".">9.6327</td>
<td align="char" char=".">10.1058</td>
<td align="char" char=".">
<bold>76.1488</bold>
</td>
</tr>
<tr>
<td align="left">SD</td>
<td align="char" char=".">6.6101</td>
<td align="char" char=".">4.9137</td>
<td align="char" char=".">
<bold>13.3256</bold>
</td>
</tr>
<tr>
<td rowspan="5" align="left">Delamination defect with depth of 2.0&#xa0;mm (Sample 2)</td>
<td align="left">MG</td>
<td align="char" char=".">0.0618</td>
<td align="char" char=".">0.0306</td>
<td align="char" char=".">
<bold>0.1055</bold>
</td>
</tr>
<tr>
<td align="left">IE</td>
<td align="char" char=".">7.7592</td>
<td align="char" char=".">4.1788</td>
<td align="char" char=".">
<bold>8.6975</bold>
</td>
</tr>
<tr>
<td align="left">EG</td>
<td align="char" char=".">6.5960e&#x2b;04</td>
<td align="char" char=".">1.6507e&#x2b;04</td>
<td align="char" char=".">
<bold>1.9495e&#x2b;05</bold>
</td>
</tr>
<tr>
<td align="left">LC</td>
<td align="char" char=".">2.4933</td>
<td align="char" char=".">1.9407</td>
<td align="char" char=".">
<bold>2.7272</bold>
</td>
</tr>
<tr>
<td align="left">SD</td>
<td align="char" char=".">2.4363</td>
<td align="char" char=".">2.0684</td>
<td align="char" char=".">
<bold>8.7838</bold>
</td>
</tr>
<tr>
<td rowspan="5" align="left">Adhesive debonding defect with diameter 10.0&#xa0;mm (Sample 3)</td>
<td align="left">MG</td>
<td align="char" char=".">0.0275</td>
<td align="char" char=".">0.0130</td>
<td align="char" char=".">
<bold>0.0308</bold>
</td>
</tr>
<tr>
<td align="left">IE</td>
<td align="char" char=".">5.6032</td>
<td align="char" char=".">2.2544</td>
<td align="char" char=".">
<bold>7.3732</bold>
</td>
</tr>
<tr>
<td align="left">EG</td>
<td align="char" char=".">2.5453e&#x2b;04</td>
<td align="char" char=".">5.6940e&#x2b;03</td>
<td align="char" char=".">
<bold>3.1882e&#x2b;04</bold>
</td>
</tr>
<tr>
<td align="left">LC</td>
<td align="char" char=".">24.6274</td>
<td align="char" char=".">23.8015</td>
<td align="char" char=".">
<bold>98.5350</bold>
</td>
</tr>
<tr>
<td align="left">SD</td>
<td align="char" char=".">1.3442</td>
<td align="char" char=".">1.6127</td>
<td align="char" char=".">
<bold>2.6318</bold>
</td>
</tr>
<tr>
<td rowspan="4" align="left">Adhesive debonding defect with diameter 3.0&#xa0;mm (Sample 3)</td>
<td align="left">MG</td>
<td align="char" char=".">0.0067</td>
<td align="char" char=".">0.0080</td>
<td align="char" char=".">
<bold>0.0094</bold>
</td>
</tr>
<tr>
<td align="left">IE</td>
<td align="char" char=".">5.3768</td>
<td align="char" char=".">2.0963</td>
<td align="char" char=".">
<bold>6.2558</bold>
</td>
</tr>
<tr>
<td align="left">EG</td>
<td align="char" char=".">6.3414e&#x2b;03</td>
<td align="char" char=".">9.2660e&#x2b;03</td>
<td align="char" char=".">
<bold>1.2713e&#x2b;04</bold>
</td>
</tr>
<tr>
<td align="left">LC</td>
<td align="char" char=".">35.3572</td>
<td align="char" char=".">34.4890</td>
<td align="char" char=".">
<bold>79.1244</bold>
</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s6">
<title>Conclusion</title>
<p>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&#x2019; 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&#x20;image.</p>
</sec>
</body>
<back>
<sec id="s7">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s8">
<title>Author Contributions</title>
<p>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.</p>
</sec>
<sec id="s9">
<title>Funding</title>
<p>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&#x2013;Physics Department&#x2013;Practice base Projects for Degree Study Program (008-2155089).</p>
</sec>
<sec sec-type="COI-statement" id="s10">
<title>Conflict of Interest</title>
<p>Author CY is employed by Shenzhen Kuang-Chi Advanced Technology Co.,&#x20;Ltd.</p>
<p>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.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s Note</title>
<p>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.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Siegel</surname>
<given-names>PH</given-names>
</name>
</person-group>. <article-title>Terahertz Technology</article-title>. <source>IEEE Trans Microwave Theor Techn.</source> (<year>2002</year>) <volume>50</volume>(<issue>3</issue>):<fpage>910</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1109/22.989974</pub-id> </citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kawase</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Shibuya</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Hayashi</surname>
<given-names>Si.</given-names>
</name>
<name>
<surname>Suizu</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>THz Imaging Techniques for Nondestructive Inspections</article-title>. <source>Comptes Rendus Physique</source> (<year>2010</year>) <volume>11</volume>(<issue>7-8</issue>):<fpage>510</fpage>&#x2013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1016/j.crhy.2010.04.003</pub-id> </citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ferguson</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Abbott</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>De-noising Techniques for Terahertz Responses of Biological Samples</article-title>. <source>Microelectron J</source> (<year>2001</year>) <volume>32</volume>(<issue>12</issue>):<fpage>943</fpage>&#x2013;<lpage>53</lpage>. <pub-id pub-id-type="doi">10.1016/S0026-2692(01)00093-3</pub-id> </citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kowalski</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Kastek</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Walczakowski</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Palka</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Szustakowski</surname>
<given-names>M</given-names>
</name>
</person-group>. <article-title>Passive Imaging of Concealed Objects in Terahertz and Long-Wavelength Infrared</article-title>. <source>Appl Opt</source> (<year>2015</year>) <volume>54</volume>(<issue>13</issue>):<fpage>3826</fpage>&#x2013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1364/AO.54.003826</pub-id> </citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hua Zhong</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Yongwei Li</surname>
<given-names>YW</given-names>
</name>
<name>
<surname>Jiao</surname>
<given-names>LC</given-names>
</name>
</person-group>. <article-title>SAR Image Despeckling Using Bayesian Nonlocal Means Filter with Sigma Preselection</article-title>. <source>IEEE Geosci Remote Sens Lett</source> (<year>2011</year>) <volume>8</volume>(<issue>4</issue>):<fpage>809</fpage>&#x2013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1109/LGRS.2011.2112331</pub-id> </citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Buades</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Coll</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Morel</surname>
<given-names>JM</given-names>
</name>
</person-group>. <article-title>A Review of Image Denoising Algorithms, with a New One</article-title>. <source>Multiscale Model Simul</source> (<year>2005</year>) <volume>4</volume>(<issue>2</issue>):<fpage>490</fpage>&#x2013;<lpage>530</lpage>. <pub-id pub-id-type="doi">10.1137/040616024</pub-id> </citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Buades</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Coll</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Morel</surname>
<given-names>J-M</given-names>
</name>
</person-group>. <article-title>A Non-local Algorithm for Image Denoising</article-title>. In: <conf-name>IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR&#x27;05)</conf-name>; <conf-date>2005 Jun 20&#x2013;25</conf-date>; <conf-loc>San Diego, CA, USA</conf-loc>. <publisher-name>IEEE</publisher-name> (<year>2005</year>). <pub-id pub-id-type="doi">10.1109/CVPR.2005.38</pub-id> </citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shi</surname>
<given-names>YX</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>JS</given-names>
</name>
</person-group>. <article-title>Based on Double Threshold Canny Equalization Algorithm for Terahertz Image Enhancement</article-title>. <source>Spectrosc Spect Anal</source> (<year>2018</year>) <volume>38</volume>(<issue>6</issue>):<fpage>1680</fpage>&#x2013;<lpage>3</lpage>. <pub-id pub-id-type="doi">10.3964/j.issn.1000-0593(2018)06-1680-04</pub-id> </citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Tang</surname>
<given-names>X</given-names>
</name>
</person-group>. <article-title>Guided Image Filtering</article-title>. <source>IEEE Trans Pattern Anal Mach Intell</source> (<year>2013</year>) <volume>35</volume>(<issue>6</issue>):<fpage>1397</fpage>&#x2013;<lpage>409</lpage>. <pub-id pub-id-type="doi">10.1109/TPAMI.2012.213</pub-id> </citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>Detail Enhancement for High-Dynamic-Range Infrared Images Based on Guided Image Filter</article-title>. <source>Infrared Phys Technol</source> (<year>2014</year>) <volume>67</volume>:<fpage>138</fpage>&#x2013;<lpage>47</lpage>. <pub-id pub-id-type="doi">10.1016/j.infrared.2014.07.013</pub-id> </citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>L</given-names>
</name>
<etal/>
</person-group> <article-title>An Improved Adaptive Detail Enhancement Algorithm for Infrared Images Based on Guided Image Filter</article-title>. <source>J&#x20;Mod Opt</source> (<year>2019</year>) <volume>66</volume>(<issue>1</issue>):<fpage>33</fpage>&#x2013;<lpage>46</lpage>. <pub-id pub-id-type="doi">10.1080/09500340.2018.1511861</pub-id> </citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>W</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Ni</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Ligthart</surname>
<given-names>LP</given-names>
</name>
</person-group>. <article-title>A Non-linear Correction Method for Terahertz LFMCW Radar</article-title>. <source>IEEE Access</source> (<year>2020</year>) <volume>8</volume>:<fpage>102784</fpage>&#x2013;<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2020.2998602</pub-id> </citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dong</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Locquet</surname>
<given-names>A</given-names>
</name>
<name>
<surname>McKeon</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Declercq</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Citrin</surname>
<given-names>DS</given-names>
</name>
</person-group>. <article-title>Nondestructive Evaluation of Forced Delamination in Glass Fiber-Reinforced Composites by Terahertz and Ultrasonic Waves</article-title>. <source>Composites B: Eng</source> (<year>2015</year>) <volume>79</volume>:<fpage>667</fpage>&#x2013;<lpage>75</lpage>. <pub-id pub-id-type="doi">10.1016/j.compositesb.2015.05.028</pub-id> </citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Maraun</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Kurths</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Cross Wavelet Analysis: Significance Testing and Pitfalls</article-title>. <source>Nonlin Process. Geophys</source> (<year>2004</year>) <volume>11</volume>(<issue>4</issue>):<fpage>505</fpage>&#x2013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.5194/npg-11-505-2004</pub-id> </citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mallat</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Hwang</surname>
<given-names>WL</given-names>
</name>
</person-group>. <article-title>Singularity Detection and Processing with Wavelets</article-title>. <source>IEEE Trans Inform Theor</source> (<year>1992</year>) <volume>38</volume>(<issue>2</issue>):<fpage>617</fpage>&#x2013;<lpage>43</lpage>. <pub-id pub-id-type="doi">10.1109/18.119727</pub-id> </citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sappa</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Carvajal</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Aguilera</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Oliveira</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Romero</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Vintimilla</surname>
<given-names>B</given-names>
</name>
</person-group>. <article-title>Wavelet-Based Visible and Infrared Image Fusion: A Comparative Study</article-title>. <source>Sensors</source> (<year>2016</year>) <volume>16</volume>(<issue>6</issue>):<fpage>861</fpage>. <pub-id pub-id-type="doi">10.3390/s16060861</pub-id> </citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mallat</surname>
<given-names>SG</given-names>
</name>
</person-group>. <article-title>A Theory for Multiresolution Signal Decomposition: the Wavelet Representation</article-title>. <source>IEEE Trans Pattern Anal Machine Intell</source> (<year>1989</year>) <volume>11</volume>(<issue>7</issue>):<fpage>674</fpage>&#x2013;<lpage>93</lpage>. <pub-id pub-id-type="doi">10.1109/34.192463</pub-id> </citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gonz&#xe1;lez&#x2010;Aud&#xed;cana</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Otazu</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Fors</surname>
<given-names>O</given-names>
</name>
<name>
<surname>Seco</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Comparison between Mallat&#x27;s and the &#x27;&#xe0; trous&#x27; discrete wavelet transform based algorithms for the fusion of multispectral and panchromatic images</article-title>. <source>Int J&#x20;Remote Sens</source> (<year>2005</year>) <volume>26</volume>(<issue>3</issue>):<fpage>595</fpage>&#x2013;<lpage>614</lpage>. <pub-id pub-id-type="doi">10.1080/01431160512331314056</pub-id> </citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ramponi</surname>
<given-names>G</given-names>
</name>
</person-group>. <article-title>A Cubic Unsharp Masking Technique for Contrast Enhancement</article-title>. <source>Signal Process.</source> (<year>1998</year>) <volume>67</volume>(<issue>2</issue>):<fpage>211</fpage>&#x2013;<lpage>22</lpage>. <pub-id pub-id-type="doi">10.1016/S0165-1684(98)00038-3</pub-id> </citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Polesel</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ramponi</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Mathews</surname>
<given-names>VJ</given-names>
</name>
</person-group>. <article-title>Image Enhancement via Adaptive Unsharp Masking</article-title>. <source>IEEE Trans Image Process</source> (<year>2000</year>) <volume>9</volume>(<issue>3</issue>):<fpage>505</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1109/83.826787</pub-id> </citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xing</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Cui</surname>
<given-names>H-L</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>T</given-names>
</name>
<etal/>
</person-group> <article-title>Nondestructive Examination of Polymethacrylimide Composite Structures with Terahertz Time-Domain Spectroscopy</article-title>. <source>Polym Test</source> (<year>2017</year>) <volume>57</volume>:<fpage>141</fpage>&#x2013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1016/j.polymertesting.2016.11.022</pub-id> </citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Frydrych</surname>
<given-names>I</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Duan Mu</surname>
<given-names>QD</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>LJ</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Xia</surname>
<given-names>B</given-names>
</name>
</person-group>. <article-title>Nondestructive Evaluation of Rubber Composites Using Terahertz Time Domain Spectroscopy</article-title>. <source>Fibres Text East Europe</source> (<year>2018</year>) <volume>26</volume>(<issue>1</issue>):<fpage>67</fpage>&#x2013;<lpage>72</lpage>. <pub-id pub-id-type="doi">10.5604/01.3001.0010.7799</pub-id> </citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ospald</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Zouaghi</surname>
<given-names>W</given-names>
</name>
<name>
<surname>Beigang</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Matheis</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Jonuscheit</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Recur</surname>
<given-names>B</given-names>
</name>
<etal/>
</person-group> <article-title>Aeronautics Composite Material Inspection with a Terahertz Time-Domain Spectroscopy System</article-title>. <source>Opt Eng</source> (<year>2013</year>) <volume>53</volume>(<issue>3</issue>):<fpage>031208</fpage>. <pub-id pub-id-type="doi">10.1117/1.OE.53.3.031208</pub-id> </citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Walker</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Richter</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Nondestructive Evaluation of Foam Insulation for the External Tank Return to Flight</article-title>. In: <conf-name>42nd AIAA/ASME/SAE/ASEE Joint Propulsion Conference &#x26; Exhibit</conf-name>, <conf-loc>Sacramento, California</conf-loc> (<year>2006</year>). <pub-id pub-id-type="doi">10.2514/6.2006-4601</pub-id> </citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>C</given-names>
</name>
</person-group>. <article-title>An Efficient Contrast Enhancement Method for Remote Sensing Images</article-title>. <source>IEEE Geosci Remote Sens Lett</source> (<year>2017</year>) <volume>14</volume>(<issue>10</issue>):<fpage>1715</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1109/LGRS.2017.2730247</pub-id> </citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Pan</surname>
<given-names>Z</given-names>
</name>
</person-group>. <article-title>Image Contrast Enhancement Using Adjacent-Blocks-Based Modification for Local Histogram Equalization</article-title>. <source>Infrared Phys Technol</source> (<year>2017</year>) <volume>86</volume>:<fpage>59</fpage>&#x2013;<lpage>65</lpage>. <pub-id pub-id-type="doi">10.1016/j.infrared.2017.08.005</pub-id> </citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Subbarao</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Choi</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Nikzad</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Focusing Techniques</article-title>. <source>Opt Eng</source> (<year>1993</year>) <volume>32</volume>(<issue>11</issue>):<fpage>2824</fpage>&#x2013;<lpage>36</lpage>. <pub-id pub-id-type="doi">10.1117/12.147706</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>