CN114004833A - Composite material terahertz imaging resolution enhancement method, device, equipment and medium - Google Patents
Composite material terahertz imaging resolution enhancement method, device, equipment and medium Download PDFInfo
- Publication number
- CN114004833A CN114004833A CN202111638247.2A CN202111638247A CN114004833A CN 114004833 A CN114004833 A CN 114004833A CN 202111638247 A CN202111638247 A CN 202111638247A CN 114004833 A CN114004833 A CN 114004833A
- Authority
- CN
- China
- Prior art keywords
- range profile
- dimensional range
- wavelet
- dimensional
- composite material
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000002131 composite material Substances 0.000 title claims abstract description 78
- 238000003384 imaging method Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000001914 filtration Methods 0.000 claims abstract description 56
- 238000001514 detection method Methods 0.000 claims abstract description 43
- 230000009466 transformation Effects 0.000 claims description 56
- 150000001875 compounds Chemical class 0.000 claims description 53
- 238000013519 translation Methods 0.000 claims description 24
- 239000011159 matrix material Substances 0.000 claims description 14
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 238000002592 echocardiography Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- 239000010410 layer Substances 0.000 description 59
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000002708 enhancing effect Effects 0.000 description 5
- 238000000354 decomposition reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 239000000126 substance Substances 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000009499 grossing Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 239000006185 dispersion Substances 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000036961 partial effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 241000764238 Isis Species 0.000 description 1
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000003707 image sharpening Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000011229 interlayer Substances 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000035699 permeability Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000013441 quality evaluation Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000003746 surface roughness Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Chemical compound O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/10—Image enhancement or restoration using non-spatial domain filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
- G06T2207/20032—Median filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20056—Discrete and fast Fourier transform, [DFT, FFT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20064—Wavelet transform [DWT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20192—Edge enhancement; Edge preservation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Quality & Reliability (AREA)
- Image Processing (AREA)
Abstract
The application provides a composite material terahertz imaging resolution enhancement method, device, equipment and medium, wherein the method comprises the following steps: adopting a terahertz imaging system to perform imaging detection on the detected composite material to obtain a first one-dimensional distance image of the detected composite material; denoising the first one-dimensional range profile to obtain a denoised second one-dimensional range profile; respectively taking the second one-dimensional range profile and the second one-dimensional range profile after the detail enhancement as a first guide map and a second guide map, and respectively performing guide filtering on the second one-dimensional range profile to respectively obtain a detail layer and a basic layer; respectively performing first gain and second gain on the detail and the base layer, and superposing the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional distance image; and carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image. By the method, the background noise can be effectively suppressed, and meanwhile, the detail information such as the edge of the image can be enhanced.
Description
Technical Field
The application relates to the technical field of composite material terahertz imaging enhancement, in particular to a method, a device, equipment and a medium for enhancing terahertz imaging resolution of a composite material.
Background
The terahertz imaging detection technology has the advantage of high permeability, and when the composite material is detected, compared with other traditional detection technologies, the terahertz imaging detection technology is easier to detect the defects inside the composite material, and can perform imaging under the condition of not contacting the detected material. The photon energy of the terahertz wave is in the millielectron volt magnitude, so that structural damage to a detected material can not be caused during terahertz imaging detection, and radiation harmful to biological tissues can not be generated. However, when the technology is applied, the terahertz waves are interfered by experimental environmental noise (motion and energy level absorption of water vapor and air molecules), system internal noise (photon radiation noise, thermal noise, shot noise, and the like) and material characteristics of a sample to be detected (interlayer multiple reflection caused by tiny gaps inside a laminated structure, scattering caused by poor surface roughness or large granularity, and the like), so that degradation phenomena such as low contrast, low detail resolution, poor definition, and the like exist in a detected image, and the application of the terahertz imaging detection technology and the accurate judgment of the internal information of the detected material are influenced.
In order to solve the problem of degradation of terahertz images, a large number of scholars research and provide terahertz image denoising and enhancing methods such as mean filtering, gaussian filtering, non-local mean filtering and edge detection. The image processing method has certain effect on the terahertz image denoising and the image enhancement, but has respective defects. The mean filtering can effectively inhibit Gaussian noise, but can cause blurring on image details such as edges and the like; gaussian filtering has a good effect of removing speckle noise in an image, but can damage the edge and texture detail parts of the image to a certain extent; although the non-local mean filtering can retain image detail information, filtering parameters cannot be adjusted in a self-adaptive manner, so that an image generates an artifact; the edge detection of the laplacian gaussian operator is sensitive to noise, the noise and background information of the image can be enhanced while the edge and the details are enhanced, and a clear and high-resolution image cannot be obtained.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for enhancing the terahertz imaging resolution of a composite material, which can enhance the contrast, detail resolution and edge information of a terahertz detection image of the composite material, and can enhance the detail information such as the edge of the image while effectively inhibiting background noise.
In a first aspect, an embodiment of the application provides a composite material terahertz imaging resolution enhancement method, which includes:
adopting a terahertz imaging system to perform imaging detection on a detected composite material to obtain a first one-dimensional distance image for the detected composite material;
carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile;
respectively taking the second one-dimensional range profile and the second one-dimensional range profile after detail enhancement as a first guide graph and a second guide graph, and respectively performing guide filtering on the second one-dimensional range profile to respectively obtain a detail layer and a basic layer;
respectively performing first gain and second gain on the detail layer and the base layer, and superposing the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional distance image;
and carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
In a possible embodiment, the imaging detection of the composite material under test by using the terahertz imaging system to obtain a first one-dimensional distance image for the composite material under test includes:
imaging and detecting the detected composite material through the terahertz imaging system to acquire at least one piece of amplitude information of reflection echoes of the detected composite material on different interfaces;
obtaining a detection signal of the detected composite material in a terahertz time domain according to the at least one piece of amplitude information;
performing fast Fourier transform on the detection signal to obtain the first one-dimensional range profile; wherein the fast fourier transform is of the formula:
in the formula (I), the compound is shown in the specification,the fast fourier transform is characterized and the fast fourier transform,in order to be able to detect the signal,is the first one-dimensional range profile.
In a possible embodiment, performing high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile, includes:
performing discrete wavelet transform on the first one-dimensional distance image to decompose the first one-dimensional distance image into first transform results under multiple scales according to a wavelet mother function; wherein a first relationship between the first one-dimensional distance image and the first transformation result is:
in the formula (I), the compound is shown in the specification,for a preset discretized stretch index,t is a time variable in a detection signal of the terahertz time domain, is a preset discretization translation coefficient,in order to be the result of said first transformation,for the discretization stretch index to beThe scale factor of (a) is,for the discretized stretch index to be a discretized stretch index ofThe scale factor of (a) is,in order to be a function of the mother wavelet,is a wavelet basis function based on the discretized scaling index, the discretized shifting coefficient, and a wavelet mother function under the time variable,is the conjugate of the wavelet basis function;
decomposing the first one-dimensional range profile into second transformation results under a plurality of scales according to a scale function; wherein a second relationship between the first one-dimensional distance image and the second transformation result is:
in the formula (I), the compound is shown in the specification,in order to be the result of said second transformation,in order to be a function of the scale,for the scale function to passMultiple expansion and contractionA first scale function obtained after the time translation;is the conjugate of the first scale function;
determining a third relation between the wavelet basis functions and the scale functions under multiple scales according to a multi-resolution analysis equation; wherein the third relationship is:
in the formula (I), the compound is shown in the specification,is a translation multipleAs a function of said scaleIn thatIs carried out under the scaleA second scale function after the time translation;a first wavelet coefficient corresponding to the wavelet basis function;corresponding translation variation when the relation between the wavelet function under the j scale and the scale function under the j +1 scale is established; the wavelet function comprises a wavelet basis function and a wavelet mother function;
obtaining a fourth relation between the first transformation result and a target second transformation result under multiple scales according to the first relation, the second relation and the third relation; wherein the fourth relationship is:
in the formula (I), the compound is shown in the specification,a second transformation result corresponding to the second scale function is obtained;
determining a first wavelet coefficient corresponding to each first transformation result under multiple scales according to the fourth relation;
performing hard threshold function shrinkage denoising on a first wavelet coefficient set composed of all the first wavelet coefficients according to a preset threshold so as to change the first wavelet coefficients under each scale into corresponding second wavelet coefficients; wherein, the hard threshold function shrinkage denoising is carried out by the following formula:
in the formula (I), the compound is shown in the specification,the preset threshold value is used as the preset threshold value;is the second wavelet coefficient;is a modulus of the first wavelet coefficient; the preset threshold is a standard deviation of the first wavelet coefficient at a plurality of scales;
determining at least one target second wavelet coefficient of which the median value of the second wavelet coefficients is not zero;
determining a target first transformation result corresponding to each target second wavelet coefficient in the at least one target second wavelet coefficient according to the fourth relation;
and reconstructing all the first transformation results of the targets according to the first relation to obtain the second one-dimensional range profile.
In one possible embodiment, the formula of the guided filtering is:
in the formula (I), the compound is shown in the specification,either the detail layer or the base layer,is a guide map, the guide map is the first guide map or the second guide map;To be the size of the filtering window,the size of the filtering window and the regularization parameter are preset as the regularization parameter;the second one-dimensional range profile is guided and filtered based on the guide map, the filter window size, and the regularization parameter.
In one possible embodiment, the second guidance diagram is obtained by:
in the formula (I), the compound is shown in the specification,for the second guide map, LP characterizes a low-pass filter,is a preset gain factor of the high frequency information,and characterizing the range profile obtained after the low-pass filtering is carried out on the second one-dimensional range profile.
In a possible embodiment said third one-dimensional distance image is obtained by:
in the formula (I), the compound is shown in the specification,for the third one-dimensional range profile,、respectively a first gain coefficient and a second gain coefficient which are preset,is the fine layer;is the base layer.
In one possible embodiment, the result image is obtained by:
in the formula (I), the compound is shown in the specification,in order to be able to produce the result image,is that the third one-dimensional range profile is atGo to,A column (a),A three-dimensional matrix of page counts, the resulting image being depth of page countsA two-dimensional matrix of (a); the two-dimensional matrix comprisesGo to,Columns;respectively a first distance between the upper surface of the tested composite material and a detector and a second distance between the lower surface of the tested composite material and the detector,a third distance to the detector for the preselected imaging plane.
In a second aspect, the embodiment of the application further provides a composite terahertz imaging resolution enhancement device, where the device includes:
the detection unit is used for carrying out imaging detection on the detected composite material by adopting a terahertz imaging system so as to obtain a first one-dimensional distance image aiming at the detected composite material;
the denoising unit is used for carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile;
the guiding filtering unit is used for respectively taking the second one-dimensional range profile and the second one-dimensional range profile after the detail enhancement as a first guiding graph and a second guiding graph, and respectively guiding and filtering the second one-dimensional range profile to respectively obtain a detail layer and a basic layer;
a gain superposition unit, configured to perform a first gain and a second gain on the detail layer and the base layer, respectively, and superpose the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional range profile;
and the amplitude imaging unit is used for carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
In one possible embodiment, the detection unit is configured to:
imaging and detecting the detected composite material through the terahertz imaging system to acquire at least one piece of amplitude information of reflection echoes of the detected composite material on different interfaces;
obtaining a detection signal of the detected composite material in a terahertz time domain according to the at least one piece of amplitude information;
performing fast Fourier transform on the detection signal to obtain the first one-dimensional range profile; wherein the fast fourier transform is of the formula:
in the formula (I), the compound is shown in the specification,the fast fourier transform is characterized and the fast fourier transform,in order to be able to detect the signal,is the first one-dimensional range profile.
In one possible embodiment, the denoising unit is configured to:
performing discrete wavelet transform on the first one-dimensional distance image to decompose the first one-dimensional distance image into first transform results under multiple scales according to a wavelet mother function; wherein a first relationship between the first one-dimensional distance image and the first transformation result is:
in the formula (I), the compound is shown in the specification,for a preset discretized stretch index,t is a time variable in a detection signal of the terahertz time domain, is a preset discretization translation coefficient,in order to be the result of said first transformation,for the discretization stretch index to beThe scale factor of (a) is,for the discretized stretch index to be a discretized stretch index ofThe scale factor of (a) is,in order to be a function of the mother wavelet,is a wavelet basis function based on the discretized scaling index, the discretized shifting coefficient, and a wavelet mother function under the time variable,is the conjugate of the wavelet basis function;
decomposing the first one-dimensional range profile into second transformation results under a plurality of scales according to a scale function; wherein a second relationship between the first one-dimensional distance image and the second transformation result is:
in the formula (I), the compound is shown in the specification,in order to be the result of said second transformation,in order to be a function of the scale,for the scale function to passMultiple expansion and contractionA first scale function obtained after the time translation;is the conjugate of the first scale function;
determining a third relation between the wavelet basis functions and the scale functions under multiple scales according to a multi-resolution analysis equation; wherein the third relationship is:
in the formulaIs the translation multiple of the first lens group,as a function of said scaleIn thatIs carried out under the scaleA second scale function after the time translation;a first wavelet coefficient corresponding to the wavelet basis function;corresponding translation variation when the relation between the wavelet function under the j scale and the scale function under the j +1 scale is established; the wavelet function comprises a wavelet basis function and a wavelet mother function;
obtaining a fourth relation between the first transformation result and a target second transformation result under multiple scales according to the first relation, the second relation and the third relation; wherein the fourth relationship is:
in the formula (I), the compound is shown in the specification,a second transformation result corresponding to the second scale function is obtained;
determining a first wavelet coefficient corresponding to each first transformation result under multiple scales according to the fourth relation;
performing hard threshold function shrinkage denoising on a first wavelet coefficient set composed of all the first wavelet coefficients according to a preset threshold so as to change the first wavelet coefficients under each scale into corresponding second wavelet coefficients; wherein, the hard threshold function shrinkage denoising is carried out by the following formula:
in the formula (I), the compound is shown in the specification,the preset threshold value is used as the preset threshold value;is the second wavelet coefficient;is a modulus of the first wavelet coefficient; the preset threshold is a standard deviation of the first wavelet coefficient at a plurality of scales;
determining at least one target second wavelet coefficient of which the median value of the second wavelet coefficients is not zero;
determining a target first transformation result corresponding to each target second wavelet coefficient in the at least one target second wavelet coefficient according to the fourth relation;
and reconstructing all the first transformation results of the targets according to the first relation to obtain the second one-dimensional range profile.
In one possible embodiment, the formula of the guided filtering is:
in the formula (I), the compound is shown in the specification,either the detail layer or the base layer,is a guide map, the guide map being the first guide map or the second guide map;to be the size of the filtering window,the size of the filtering window and the regularization parameter are preset as the regularization parameter;the second one-dimensional range profile is guided and filtered based on the guide map, the filter window size, and the regularization parameter.
In one possible embodiment, the second guidance diagram is obtained by:
in the formula (I), the compound is shown in the specification,for the second guide map, LP characterizes a low-pass filter,is a preset gain factor of the high frequency information,and characterizing the range profile obtained after the low-pass filtering is carried out on the second one-dimensional range profile.
In a possible embodiment, the third one-dimensional distance image is obtained by:
in the formula (I), the compound is shown in the specification,is that it isThe third one-dimensional range profile is,、respectively a first gain coefficient and a second gain coefficient which are preset,is the fine layer;is the base layer.
In one possible embodiment, the result image is obtained by:
in the formula (I), the compound is shown in the specification,in order to be able to produce the result image,is that the third one-dimensional range profile is atGo to,A column (a),A three-dimensional matrix of page counts, the resulting image being depth of page countsA two-dimensional matrix of (a); the two-dimensional matrix comprisesGo to,Columns;respectively a first distance between the upper surface of the tested composite material and a detector and a second distance between the lower surface of the tested composite material and the detector,a third distance to the detector for the preselected imaging plane.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operated, the processor executing the machine-readable instructions to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method according to any one of the first aspect.
According to the method for enhancing the terahertz imaging resolution of the composite material, a terahertz imaging system is adopted to perform imaging detection on the composite material to be detected so as to obtain a first one-dimensional distance image for the composite material to be detected; carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile; respectively taking the second one-dimensional range profile and the second one-dimensional range profile after detail enhancement as a first guide graph and a second guide graph, and respectively performing guide filtering on the second one-dimensional range profile to respectively obtain a detail layer and a basic layer; respectively performing first gain and second gain on the detail layer and the base layer, and superposing the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional distance image; and carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
Compared with the prior art, the method for denoising the terahertz detection image of the composite material based on the discrete wavelet transform hard threshold shrinkage is used for carrying out high-frequency denoising on the terahertz detection image of the composite material, so that background noise is effectively inhibited, and the quality of the terahertz image of the composite material is improved; the image after the self and the detail enhancement are respectively used as guide images to conduct guide filtering operation, so that the smooth area of the image can be well reserved while the texture detail of the terahertz image of the composite material is enhanced; by means of respectively performing gain and superposition on the detail layer and the basic layer, the contrast, detail resolution capability and edge information of the composite terahertz image are effectively enhanced, and while background noise is effectively inhibited, detail information such as the edge of the image is enhanced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows a flowchart of a composite material terahertz imaging resolution enhancement method provided by an embodiment of the present application.
Fig. 2 shows an original image of a composite material under test provided by an embodiment of the present application.
Fig. 3 shows a terahertz image of a detected composite material, which is obtained after processing according to the composite material terahertz imaging resolution enhancement method provided by the embodiment of the application.
Fig. 4 shows a composite material terahertz imaging resolution enhancement device provided by an embodiment of the application.
Fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
It should be noted that the apparatuses, electronic devices, and the like according to the embodiments of the present application may be executed on a single server or may be executed in a server group. The server group may be centralized or distributed. In some embodiments, the server may be local or remote to the terminal. For example, the server may access information and/or data stored in the service requester terminal, the service provider terminal, or the database, or any combination thereof, via the network. As another example, the server may be directly connected to at least one of the service requester terminal, the service provider terminal and the database to access the stored information and/or data. In some embodiments, the server may be implemented on a cloud platform; by way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (community cloud), a distributed cloud, an inter-cloud, a multi-cloud, and the like, or any combination thereof.
Fig. 1 shows a flowchart of a composite terahertz imaging resolution enhancement method provided by an embodiment of the present application, in which an acquired original one-dimensional range profile is subjected to high-frequency denoising by using a hard threshold shrinkage denoising method based on discrete wavelet transform; and secondly, respectively taking the self image and the image after the detail enhancement as guide images to conduct guide filtering operation to obtain a detail layer and a basic layer, conducting gain and superposition on the detail layer and the basic layer, and obtaining a final result image with high contrast and high detail resolution capacity in an amplitude imaging mode. As shown in fig. 1, the method comprises the steps of:
The specific implementation method comprises the following steps: imaging and detecting the detected composite material through the terahertz imaging system to acquire at least one piece of amplitude information of reflection echoes of the detected composite material on different interfaces; obtaining a detection signal of the detected composite material in a terahertz time domain according to the at least one piece of amplitude information; performing fast Fourier transform on the detection signal to obtain the first one-dimensional range profile; wherein the fast fourier transform is of the formula:
in the formula (I), the compound is shown in the specification,the fast fourier transform is characterized and the fast fourier transform,in order to be able to detect the signal,is the first one-dimensional range profile.
And 102, carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile.
In particular, for the first one-dimensional distance imagePerforming discrete wavelet transform to decompose the first one-dimensional range profile into first transform results under multiple scales according to wavelet mother function(ii) a Wherein the one-dimensional range profileAnd the first transformation resultThe first relationship of (1) is:
in the formula (I), the compound is shown in the specification,for a preset discretized stretch index,t is a time variable in a detection signal of the terahertz time domain, is a preset discretization translation coefficient,in order to be the result of said first transformation,for the discretization stretch index to beThe scale factor of (a) is,for the discretized stretch index to be a discretized stretch index ofThe scale factor of (a) is,in order to be a function of the mother wavelet,is a wavelet basis function based on the discretized scaling index, the discretized shifting coefficient, and a wavelet mother function under the time variable,is the conjugate of the wavelet basis function. In order to avoid the signal distortion problem in the denoising preprocessing, the embodiment of the application performs multi-scale decomposition on the first one-dimensional distance image by using an approximate symmetric compact set (symlets) wavelet function capable of suppressing the signal distortion.
According to the multi-resolution analysis theory, the first one-dimensional distance image is decomposed at multiple scalesIn the above, the general view of the signal is observed in the large scale space, and the details of the signal are observed in the small scale space, where the large scale refers to the space corresponding to the low frequency, the small scale refers to the space corresponding to the high frequency, and the high and low of the frequency and the discretization expansion and contraction indexIn inverse proportion. Defining a scale functionThroughAfter doubling of the translation is obtainedThen, there are:
wherein the content of the first and second substances,is a symbol of an integer set, if defined by a signalThe linearly expressed signals constitute a space:
According to a scale functionTransforming the first one-dimensional distance imageDecomposition into second transformation results at multiple scales(ii) a Wherein the one-dimensional range profileAnd the second transformation resultThe second relationship of (1) is:
in the formula (I), the compound is shown in the specification,in order to be the result of said second transformation,in order to be a function of the scale,for the scale function to passMultiple expansion and contractionA first scale function obtained after the time translation;is the conjugate of the first scale function. Wherein for the first one-dimensional distance imageThen the first one-dimensional distance imageCan be expressed as:
namely, the method comprises the following steps:
determining a third relation between the wavelet basis functions and the scale functions under multiple scales according to a multi-resolution analysis equation; wherein the third relationship is:
in the formula (I), the compound is shown in the specification,as a function of said scaleIn thatIs carried out under the scaleA second scale function after the time translation;a first wavelet coefficient corresponding to the wavelet basis function;corresponding translation variation when the relation between the wavelet function under the j scale and the scale function under the j +1 scale is established; the wavelet coefficient establishes the relation between the wavelet function and the scale function; by passingAnd determining the size of the scale, wherein the scale functions under a plurality of scales correspond to different wavelet coefficients. The wavelet functions include wavelet basis functions and wavelet mother functions.
Obtaining the first transformation result under multiple scales according to the first relation, the second relation and the third relationA fourth relationship with the target second transformation result; wherein the fourth relationship is:
wherein the content of the first and second substances,and the second transformation result is the target corresponding to the second scale function.
The first transformation result corresponding to each scaleDetermining each first transformation result under multiple scales according to the fourth relationCorresponding first wavelet coefficient。
By the method, the solution through the wavelet function can be realizedIs converted into solving by wavelet coefficientThe process of (2); in the process of image detection, a first one-dimensional distance image acquired by detectionAll of the noise is contained in the noise-free air conditioner,the noise comprises white gaussian noise; a signal containing noise can be simply expressed in the form:
in the formula (I), the compound is shown in the specification,is an ideal noise-free signal and is,in order to be a function of the noise doping,in order to be able to measure the noise level,is the sample length. The essence of signal denoising is to utilize different characteristics of signal and noise to denoise noiseExtracting from the noise-containing signal to recover a noise-free signal. For an ideal effective signal, it is continuous in the time domain, so that after the effective signal is subjected to discrete wavelet transform, its energy is mainly concentrated on the low frequency sub-band, and the modulus of the generated wavelet coefficient is relatively large. For white gaussian noise, the noise is not continuous in the time domain, shows strong randomness, and also has strong randomness after discrete wavelet transform, so that the energy of the noise is mainly distributed on each high-frequency subband in the wavelet domain and is still generally considered as white gaussian noise, and the modulus of the generated wavelet coefficient is smaller. Based on the characteristics, the wavelet coefficient corresponding to the noise still meets Gaussian white noise distribution, and the standard deviation of the signal is reflected according to the definition of the standard deviation and the variance of the random signalThe dispersion degree from each point in the dispersion signal to the signal mean value, therefore, the embodiment of the application proposes that the standard deviation of the wavelet coefficient of the noise-containing signal under the decomposition of each scale of the discrete wavelet transform is taken as a preset threshold value, and the distribution range of the noise wavelet coefficient is reflected to a certain extent.
With the first transformation resultThe standard deviation of the corresponding wavelet coefficient is a preset threshold, and the calculation method of the preset threshold T comprises the following steps:
in the formula (I), the compound is shown in the specification,is a first one-dimensional distance imageThe total number of wavelet coefficients obtained after the decomposition of each scale of the discrete wavelet transform is set to zero according to the characteristics of Gaussian distribution, and the wavelet coefficients which do not exceed the preset threshold can suppress the interference of noise to the maximum extent, namely the function of a hard threshold function.
The specific method for the hard threshold function shrinkage denoising is as follows:
all the first wavelet coefficients are selected according to a preset threshold valueCarrying out hard threshold function shrinkage denoising on the constructed first wavelet coefficient set so as to remove the first wavelet coefficients under multiple scalesChange to the corresponding second wavelet coefficient(ii) a Wherein the hard threshold function is performed by the following formulaReducing and denoising:
in the formula (I), the compound is shown in the specification,the preset threshold value is used as the preset threshold value;is the second wavelet coefficient;is a modulus of the first wavelet coefficient; the preset threshold is a standard deviation of the first wavelet coefficients at a plurality of scales.
Determining the second wavelet coefficientsAt least one target second wavelet coefficient with a non-zero median。
Determining the at least one target second wavelet coefficient according to the fourth relationshipOf each of said target second wavelet coefficientsCorresponding target first transformation result。
According to the first relation, each target is subjected to first transformationReconstructing to obtain the second one-dimensional range profile。
And 103, respectively taking the second one-dimensional range profile and the second one-dimensional range profile after detail enhancement as a first guide map and a second guide map, and respectively performing guide filtering on the second one-dimensional range profile to respectively obtain a detail layer and a base layer.
Specifically, the formula of the guided filtering is as follows:
in the formula (I), the compound is shown in the specification,for the detail layerOr the base layer,Is a guide map, the guide map being the first guide map or the second guide map;to be the size of the filtering window,the filter window size for the regularization parameterThe regularization parameterAre all preset, according to the above formula, the detail layer isIs to make the second one-dimensional range profileAs a first guide map, for itself (second one-dimensional range profile)) The pilot filtering is carried out through the formula; base layerIs to use the fourth one-dimensional range profileAs a second guide map, for a second one-dimensional range profileObtained after the pilot filtering. Filter window sizeAnd the regularization parameterThe filter window size may be determined empirically, in embodiments of the present applicationPreset value of 3, regularization parameterThe preset value is 0.64.
Wherein, in calculating the detail layerDetails ofLayer(s)And a first guide map (second one-dimensional range profile)) The following assumptions are satisfied:
in a local window centred on pixel uIf the relationship is linear, the output expression of a certain pixel point on the detail layer is as follows:
in the formula (I), the compound is shown in the specification,corresponding local windowThe index of the pixel in (1) is,andas a partial windowDifferent linear coefficients in (a); wherein the content of the first and second substances,when the guide map is a first guide map, the target image is a detail map; when the guide map is the second guide map, the target image is a base layer. The gradient is calculated for both sides of the above formula, and the following can be obtained:
can see when the second one-dimensional range profileDetail layer when there is a gradient in a certain regionThe corresponding gradient is also preserved, so that the guided filtering can have good edge-preserving performance while smoothing the background. To obtain the coefficientAndthe optimal solution of (2), the detail layer is requiredTo retain the second one-dimensional range profile as much as possibleEven if the difference between the two is minimal, the implementation is usually to introduce and minimize a minimization cost function to solve the optimization problem. Minimizing a cost functionThe expression of (a) is:
in the formula (I), the compound is shown in the specification,is a penalty term; preset regularization parametersCan preventToo large a value of (c); the above formula is solved by a linear regression model to minimize it, and can be obtainedAndthe optimal solution of (a) is:
in the formula (I), the compound is shown in the specification,andrespectively in partial windows for guide mapsThe mean and variance of the medium pixels,is thatThe number of pixels included in (a) is,is the image to be filtered (in this case, the second one-dimensional range profile)) At the local windowAverage value of (1). Formula in useAndwhen calculating linear coefficients, different local windowsObtained by calculation ofAndobviously, it is also different, can pass throughAndsolving the obtained values in an averaging mode, and obtaining a target image output after guide filtering according to the method; the expression of the target image is as follows:
in the formula (I), the compound is shown in the specification,andall local windows under the same pixel indexAverage of linear coefficients of (a).
The second guide map is obtained by:
for the second one-dimensional range profileCarrying out detail enhancement to obtain a fourth one-dimensional range profile after the detail enhancementTo combine the fourth one-dimensional range profileAs the second guide map. The detail enhancement process comprises the following steps: first, mean filtering is used as a low-pass smoothing filter to carry out filtering on the second one-dimensional range profileLow-pass filtering to obtain range imageDistance image after low-pass filteringIn order to blur the image, the second one-dimensional range profile is made by using unsharp masking methodImage of distance from itPerforming difference operation to obtain high-frequency image informationGain factor according to preset high frequency informationFor high frequency information of imageInformation processing deviceGain is performed and the distance image is obtained from the second one-dimensional distance imageSuperposing to obtain a fourth one-dimensional range profile with enhanced details and edges. Among them, detail enhancement is also called sharpening enhancement.
in the formula, LP represents a low-pass filter,is a preset gain coefficient of high frequency information, theCharacterizing the second one-dimensional range profileObtaining a distance image after low-pass filtering; in the embodiment of the application, the. Using unsharpened mask method to obtain the second one-dimensional range profileA second one-dimensional range profile while performing detail enhancementThe smooth area in (1) is not affected and is preserved.
The embodiment of the application adoptsTo the second one-dimensional range profileAnd (3) performing convolution processing, wherein the average filtering template is as follows:
mean filtering the expression for smoothing an image is as follows:
in the formula (I), the compound is shown in the specification,which means that the mean value is filtered,is a second one-dimensional range profileBy pointA neighborhood that is the center;the number of pixels in the neighborhood. The mean filtering can filter noise and simultaneously enable the second one-dimensional range profileBecomes blurred, resulting in a second one-dimensional range profile for the imageDistance image ofWherein the distance image after low-pass filteringFor blurred images, range imagesThe medium and high frequency components are greatly attenuated. Second one-dimensional range profileAnd distance imageSubtracting to obtain high frequency imageI.e. an image reflecting image details; image processing method and deviceMultiplying the gain factor of the high frequency informationThen, the distance image is separated from the second one-dimensional distance imageThe second one-dimensional range profile is obtained by superpositionSome detail parts are enhanced, and the image sharpening effect is achieved.
And 104, respectively performing first gain and second gain on the detail layer and the base layer, and superposing the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional distance image.
in the formula (I), the compound is shown in the specification,for the third one-dimensional range profile,、respectively a first gain coefficient and a second gain coefficient which are preset,is the fine layer;for the base layer, in the embodiment of the present application, the first gain factorSecond gain factorThe values of (A) are all 2.
And 105, performing amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
in the formula (I), the compound is shown in the specification,is thatGo to,A column (a),A three-dimensional matrix of page numbers, the resulting imageDepth is the number of pagesA two-dimensional matrix of (a); the two-dimensional matrix comprisesGo to,Columns;respectively a first distance between the upper surface of the tested composite material and a detector and a second distance between the lower surface of the tested composite material and the detector,to select in advanceA third distance to the detector,the value can be taken according to actual requirements.
FIG. 2 shows an original image of a composite material under test provided by an embodiment of the present application; fig. 3 shows a terahertz image of a detected composite material, which is obtained after processing according to the composite material terahertz imaging resolution enhancement method provided by the embodiment of the application. Table 1 is an image quality evaluation table obtained by performing image processing according to an original detection image, a gaussian filtering method, a median filtering method, and the method of the embodiment of the present application, respectively:
table 1:
evaluation index | Raw inspection image | Gauss filtering | Median filtering | The method of the present invention |
Standard deviation of | 2.4363 | 2.0684 | 1.9722 | 8.7838 |
Mean gradient | 0.0275 | 0.0130 | 0.0157 | 0.0308 |
Entropy of information | 5.6032 | 2.2544 | 5.4011 | 7.3732 |
Energy gradient | 2.5453e+04 | 5.694e+03 | 7.9411e+03 | 3.1882e+04 |
Local contrast | 24.6274 | 23.8015 | 25.1387 | 98.5350 |
As can be seen from the images shown in fig. 2 and fig. 3 and the table 1, the embodiment of the present application can improve detail information such as image contrast, sharpness, and edge while suppressing background noise; compared with an original detection image and a traditional denoising enhancement method, the method has a better composite material terahertz imaging resolution enhancement effect and better image quality.
Fig. 4 shows a composite material terahertz imaging resolution enhancement device provided by an embodiment of the present application, and as shown in fig. 4, the device includes: the device comprises a detection unit 401, a denoising unit 402, a guide filtering unit 403, a gain superposition unit 404 and an amplitude imaging unit 405.
The detecting unit 401 is configured to perform imaging detection on a detected composite material by using a terahertz imaging system, so as to obtain a first one-dimensional distance image for the detected composite material.
A denoising unit 402, configured to perform high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile.
A guiding and filtering unit 403, configured to respectively use the second one-dimensional range profile and the second one-dimensional range profile after detail enhancement as a first guiding graph and a second guiding graph, and respectively perform guiding and filtering on the second one-dimensional range profile to obtain a detail layer and a base layer.
A gain superimposing unit 404, configured to perform a first gain and a second gain on the detail layer and the base layer, respectively, and superimpose the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional range profile.
And an amplitude imaging unit 405, configured to perform amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
In one possible embodiment, the detection unit is configured to:
and carrying out imaging detection on the detected composite material through the terahertz imaging system so as to obtain at least one piece of amplitude information of the reflection echoes of the detected composite material on different interfaces.
And obtaining a detection signal of the detected composite material in the terahertz time domain according to the at least one piece of amplitude information.
Performing fast Fourier transform on the detection signal to obtain the first one-dimensional range profile; wherein the fast fourier transform is of the formula:
in the formula (I), the compound is shown in the specification,the fast fourier transform is characterized and the fast fourier transform,in order to be able to detect the signal,is the first one-dimensional range profile.
In one possible embodiment, the denoising unit is configured to:
performing discrete wavelet transform on the first one-dimensional distance image to decompose the first one-dimensional distance image into first transform results under multiple scales according to a wavelet mother function; wherein a first relationship between the first one-dimensional distance image and the first transformation result is:
in the formula (I), the compound is shown in the specification,for a preset discretized stretch index,t is a time variable in a detection signal of the terahertz time domain, is a preset discretization translation coefficient,in order to be the result of said first transformation,for the discretization stretch index to beThe scale factor of (a) is,for the discretized stretch index to be a discretized stretch index ofThe scale factor of (a) is,in order to be a function of the mother wavelet,is a wavelet basis function based on the discretized scaling index, the discretized shifting coefficient, and a wavelet mother function under the time variable,is the conjugate of the wavelet basis function.
Decomposing the first one-dimensional range profile into second transformation results under a plurality of scales according to a scale function; wherein a second relationship between the first one-dimensional distance image and the second transformation result is:
in the formula (I), the compound is shown in the specification,in order to be the result of said second transformation,in order to be a function of the scale,for the scale function to passMultiple expansion and contractionA first scale function obtained after the time translation;is the conjugate of the first scale function.
Determining a third relation between the wavelet basis functions and the scale functions under multiple scales according to a multi-resolution analysis equation; wherein the third relationship is:
in the formulaIs the translation multiple of the first lens group,as a function of said scaleIn thatIs carried out under the scaleA second scale function after the time translation;a first wavelet coefficient corresponding to the wavelet basis function;corresponding translation variation when the relation between the wavelet function under the j scale and the scale function under the j +1 scale is established; the wavelet function comprises a wavelet basis function and a wavelet mother function.
Obtaining a fourth relation between the first transformation result and a target second transformation result under multiple scales according to the first relation, the second relation and the third relation; wherein the fourth relationship is:
in the formula (I), the compound is shown in the specification,and the second transformation result is the target corresponding to the second scale function.
And determining a first wavelet coefficient corresponding to each first transformation result under multiple scales according to the fourth relation.
Performing hard threshold function shrinkage denoising on a first wavelet coefficient set composed of all the first wavelet coefficients according to a preset threshold so as to change the first wavelet coefficients under each scale into corresponding second wavelet coefficients; wherein, the hard threshold function shrinkage denoising is carried out by the following formula:
in the formula (I), the compound is shown in the specification,the preset threshold value is used as the preset threshold value;is the second wavelet coefficient;is a modulus of the first wavelet coefficient; the preset threshold is a standard deviation of the first wavelet coefficients at a plurality of scales.
And determining at least one target second wavelet coefficient with the value of the second wavelet coefficient being not zero.
And determining a target first transformation result corresponding to each target second wavelet coefficient in the at least one target second wavelet coefficient according to the fourth relation.
And reconstructing all the first transformation results of the targets according to the first relation to obtain the second one-dimensional range profile.
In one possible embodiment, the formula of the guided filtering is:
in the formula (I), the compound is shown in the specification,either the detail layer or the base layer,is a guide map, the guide map being the first guide map or the second guide map;to be the size of the filtering window,the size of the filtering window and the regularization parameter are preset as the regularization parameter;the second one-dimensional range profile is guided and filtered based on the guide map, the filter window size, and the regularization parameter.
In one possible embodiment, the second guidance diagram is obtained by:
in the formula (I), the compound is shown in the specification,for the second guide map, LP characterizes a low-pass filter,is a preset gain factor of the high frequency information,and characterizing the range profile obtained after the low-pass filtering is carried out on the second one-dimensional range profile.
In a possible embodiment, the third one-dimensional distance image is obtained by:
in the formula (I), the compound is shown in the specification,for the third one-dimensional range profile,、respectively a first gain coefficient and a second gain coefficient which are preset,is the fine layer;is the base layer.
In one possible embodiment, the result image is obtained by:
in the formula (I), the compound is shown in the specification,in order to be able to produce the result image,is that the third one-dimensional range profile is atGo to,A column (a),A three-dimensional matrix of page counts, the resulting image being depth of page countsA two-dimensional matrix of (a); the two-dimensional matrix comprisesGo to,Columns;respectively a first distance between the upper surface of the tested composite material and a detector and a second distance between the lower surface of the tested composite material and the detector,a third distance to the detector for the preselected imaging plane.
Fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 5, the electronic device includes: a processor 501, a storage medium 502 and a bus 503, wherein the storage medium 502 stores machine readable instructions executable by the processor 501, when an electronic device runs the method for enhancing the resolution of terahertz imaging of composite materials as in the embodiment, the processor 501 communicates with the storage medium 502 through the bus 503, and the processor 501 executes the machine readable instructions to execute the steps as in the embodiment.
In an embodiment, the storage medium 502 may further execute other machine-readable instructions to perform other methods as described in the embodiments, and for the method steps and principles of specific execution, reference is made to the description of the embodiments, which is not described in detail herein.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor when the computer program is executed to perform the steps in the embodiments.
In the embodiments of the present application, when being executed by a processor, the computer program may further execute other machine-readable instructions to perform other methods as described in the embodiments, and for the method steps and principles of specific execution, reference is made to the description of the embodiments, and details are not repeated here.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A composite material terahertz imaging resolution enhancement method is characterized by comprising the following steps:
adopting a terahertz imaging system to perform imaging detection on a detected composite material to obtain a first one-dimensional distance image for the detected composite material;
carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile;
respectively taking the second one-dimensional range profile and the second one-dimensional range profile after detail enhancement as a first guide graph and a second guide graph, and respectively performing guide filtering on the second one-dimensional range profile to respectively obtain a detail layer and a basic layer;
respectively performing first gain and second gain on the detail layer and the base layer, and superposing the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional distance image;
and carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
2. The method of claim 1, wherein the performing imaging detection on the composite material under test by using a terahertz imaging system to obtain a first one-dimensional range profile for the composite material under test comprises:
imaging and detecting the detected composite material through the terahertz imaging system to acquire at least one piece of amplitude information of reflection echoes of the detected composite material on different interfaces;
obtaining a detection signal of the detected composite material in a terahertz time domain according to the at least one piece of amplitude information;
performing fast Fourier transform on the detection signal to obtain the first one-dimensional range profile; wherein the fast fourier transform is of the formula:
3. The method of claim 1, wherein performing high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile comprises:
performing discrete wavelet transform on the first one-dimensional distance image to decompose the first one-dimensional distance image into first transform results under multiple scales according to a wavelet mother function; wherein a first relationship between the first one-dimensional distance image and the first transformation result is:
in the formula (I), the compound is shown in the specification,for a preset discretized stretch index,t is a time variable in a detection signal of the terahertz time domain, is a preset discretization translation coefficient,in order to be the result of said first transformation,for the discretization stretch index to beThe scale factor of (a) is,for the discretized stretch index to be a discretized stretch index ofThe scale factor of (a) is,in order to be a function of the mother wavelet,is a wavelet basis function based on the discretized scaling index, the discretized shifting coefficient, and a wavelet mother function under the time variable,is the conjugate of the wavelet basis function;
decomposing the first one-dimensional range profile into second transformation results under a plurality of scales according to a scale function; wherein a second relationship between the first one-dimensional distance image and the second transformation result is:
in the formula (I), the compound is shown in the specification,in order to be the result of said second transformation,in order to be a function of the scale,for the scale function to passMultiple expansion and contractionFirst scale function obtained after time shift;Is the conjugate of the first scale function;
determining a third relation between the wavelet basis functions and the scale functions under multiple scales according to a multi-resolution analysis equation; wherein the third relationship is:
in the formula (I), the compound is shown in the specification,is the translation multiple of the first lens group,as a function of said scaleIn thatIs carried out under the scaleA second scale function after the time translation;a first wavelet coefficient corresponding to the wavelet basis function;corresponding translation variation when a relation is established between the wavelet function under the j scale and the scale function under the j +1 scale; the wavelet function comprises a wavelet basis function and a wavelet mother function;
obtaining a fourth relation between the first transformation result and a target second transformation result under multiple scales according to the first relation, the second relation and the third relation; wherein the fourth relationship is:
in the formula (I), the compound is shown in the specification,a second transformation result corresponding to the second scale function is obtained;
determining a first wavelet coefficient corresponding to each first transformation result under multiple scales according to the fourth relation;
performing hard threshold function shrinkage denoising on a first wavelet coefficient set composed of all the first wavelet coefficients according to a preset threshold so as to change the first wavelet coefficients under each scale into corresponding second wavelet coefficients; wherein, the hard threshold function shrinkage denoising is carried out by the following formula:
in the formula (I), the compound is shown in the specification,the preset threshold value is used as the preset threshold value;is the firstTwo wavelet coefficients;is a modulus of the first wavelet coefficient; the preset threshold is a standard deviation of the first wavelet coefficient at a plurality of scales;
determining at least one target second wavelet coefficient of which the median value of the second wavelet coefficients is not zero;
determining a target first transformation result corresponding to each target second wavelet coefficient in the at least one target second wavelet coefficient according to the fourth relation;
and reconstructing all the first transformation results of the targets according to the first relation to obtain the second one-dimensional range profile.
4. The method of claim 1, wherein the guided filtering is formulated as:
in the formula (I), the compound is shown in the specification,either the detail layer or the base layer,is a guide map, the guide map being the first guide map or the second guide map;to be the size of the filtering window,the size of the filtering window and the regularization parameter are preset as the regularization parameter;the second one-dimensional range profile is guided and filtered based on the guide map, the filter window size, and the regularization parameter.
5. The method of claim 4, wherein the second guidance map is obtained by:
in the formula (I), the compound is shown in the specification,for the second guide map, LP characterizes a low-pass filter,is a preset gain factor of the high frequency information,and characterizing the range profile obtained after the low-pass filtering is carried out on the second one-dimensional range profile.
6. The method of claim 1, wherein the third one-dimensional range image is obtained by:
7. The method of claim 1, wherein the result image is obtained by:
in the formula (I), the compound is shown in the specification,in order to be able to produce the result image,is that the third one-dimensional range profile is atGo to,A column (a),A three-dimensional matrix of page counts, the resulting image being depth of page countsA two-dimensional matrix of (a); the two-dimensional matrixIncludedGo to,Columns;respectively a first distance between the upper surface of the tested composite material and a detector and a second distance between the lower surface of the tested composite material and the detector,a third distance to the detector for the preselected imaging plane.
8. A composite terahertz imaging resolution enhancement device, characterized in that the device comprises:
the detection unit is used for carrying out imaging detection on the detected composite material by adopting a terahertz imaging system so as to obtain a first one-dimensional distance image aiming at the detected composite material;
the denoising unit is used for carrying out high-frequency denoising on the first one-dimensional range profile to obtain a denoised second one-dimensional range profile;
the guiding filtering unit is used for respectively taking the second one-dimensional range profile and the second one-dimensional range profile after the detail enhancement as a first guiding graph and a second guiding graph, and respectively guiding and filtering the second one-dimensional range profile to respectively obtain a detail layer and a basic layer;
a gain superposition unit, configured to perform a first gain and a second gain on the detail layer and the base layer, respectively, and superpose the detail layer subjected to the first gain and the base layer subjected to the second gain into a third one-dimensional range profile;
and the amplitude imaging unit is used for carrying out amplitude imaging on the third one-dimensional range profile to obtain an imaged result image.
9. An electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the composite material terahertz imaging resolution enhancement method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, performs the steps of the composite material terahertz imaging resolution enhancement method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111638247.2A CN114004833B (en) | 2021-12-30 | 2021-12-30 | Composite material terahertz imaging resolution enhancement method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111638247.2A CN114004833B (en) | 2021-12-30 | 2021-12-30 | Composite material terahertz imaging resolution enhancement method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114004833A true CN114004833A (en) | 2022-02-01 |
CN114004833B CN114004833B (en) | 2022-04-01 |
Family
ID=79932457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111638247.2A Active CN114004833B (en) | 2021-12-30 | 2021-12-30 | Composite material terahertz imaging resolution enhancement method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114004833B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130257646A1 (en) * | 2012-03-28 | 2013-10-03 | Uchicago Argonne Llc | Compressive passive millimeter wave imager |
CN104580829A (en) * | 2014-12-25 | 2015-04-29 | 深圳市一体太赫兹科技有限公司 | Terahertz image enhancing method and system |
CN110581429A (en) * | 2018-06-09 | 2019-12-17 | 滨州市腾源电子科技有限公司 | Terahertz wave radiation source based on graphene material |
CN110837130A (en) * | 2019-11-22 | 2020-02-25 | 中国电子科技集团公司第四十一研究所 | Target automatic detection algorithm based on millimeter wave/terahertz wave radiation |
CN111553877A (en) * | 2020-03-20 | 2020-08-18 | 西安交通大学 | Damage identification and service life evaluation method based on terahertz ceramic matrix composite blade |
CN112162295A (en) * | 2020-09-23 | 2021-01-01 | 青岛青源峰达太赫兹科技有限公司 | Terahertz thickness detection optimization method based on time-frequency analysis |
CN113744163A (en) * | 2021-11-03 | 2021-12-03 | 季华实验室 | Integrated circuit image enhancement method and device, electronic equipment and storage medium |
CN113850725A (en) * | 2020-07-15 | 2021-12-28 | 南京航空航天大学 | Passive terahertz image target detection method for filtering enhanced deep learning |
-
2021
- 2021-12-30 CN CN202111638247.2A patent/CN114004833B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130257646A1 (en) * | 2012-03-28 | 2013-10-03 | Uchicago Argonne Llc | Compressive passive millimeter wave imager |
CN104580829A (en) * | 2014-12-25 | 2015-04-29 | 深圳市一体太赫兹科技有限公司 | Terahertz image enhancing method and system |
CN110581429A (en) * | 2018-06-09 | 2019-12-17 | 滨州市腾源电子科技有限公司 | Terahertz wave radiation source based on graphene material |
CN110837130A (en) * | 2019-11-22 | 2020-02-25 | 中国电子科技集团公司第四十一研究所 | Target automatic detection algorithm based on millimeter wave/terahertz wave radiation |
CN111553877A (en) * | 2020-03-20 | 2020-08-18 | 西安交通大学 | Damage identification and service life evaluation method based on terahertz ceramic matrix composite blade |
CN113850725A (en) * | 2020-07-15 | 2021-12-28 | 南京航空航天大学 | Passive terahertz image target detection method for filtering enhanced deep learning |
CN112162295A (en) * | 2020-09-23 | 2021-01-01 | 青岛青源峰达太赫兹科技有限公司 | Terahertz thickness detection optimization method based on time-frequency analysis |
CN113744163A (en) * | 2021-11-03 | 2021-12-03 | 季华实验室 | Integrated circuit image enhancement method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114004833B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hou et al. | SAR image despeckling based on nonsubsampled shearlet transform | |
Bhadauria et al. | Medical image denoising using adaptive fusion of curvelet transform and total variation | |
Anand et al. | MRI denoising using bilateral filter in redundant wavelet domain | |
CN109118453B (en) | Image processing method for background suppression | |
Bhadauria et al. | Efficient denoising technique for CT images to enhance brain hemorrhage segmentation | |
Olfa et al. | Ultrasound image denoising using a combination of bilateral filtering and stationary wavelet transform | |
Seo et al. | The effects of total variation (TV) technique for noise reduction in radio-magnetic X-ray image: Quantitative study | |
CN104504664A (en) | System and method for automatically enhancing underwater images in NSCT (non-subsampled contourlet transform) regions on basis of human visual characteristics | |
KR20140109801A (en) | Method and apparatus for enhancing quality of 3D image | |
Ben Said et al. | Total variation for image denoising based on a novel smart edge detector: an application to medical images | |
Nicolae et al. | Comparative approach for speckle reduction in medical ultrasound images | |
Sharma et al. | A review on magnetic resonance images denoising techniques | |
CN114004833B (en) | Composite material terahertz imaging resolution enhancement method, device, equipment and medium | |
Wang et al. | An edge-preserving adaptive image denoising | |
Bhadauria et al. | Performance evaluation of curvelet and wavelet based denoising methods on brain computed tomography images | |
Gupta et al. | Despeckling of medical ultrasound images: a technical review | |
Bhonsle et al. | Medical Image De-Noising Using Combined Bayes Shrink and Total Variation Techniques | |
Li et al. | A novel remote sensing image enhancement method using unsharp masking in nsst domain | |
Wang et al. | Shannon‐Cosine Wavelet Precise Integration Method for Locust Slice Image Mixed Denoising | |
Panigrahi et al. | Joint bilateral filter for signal recovery from phase preserved curvelet coefficients for image denoising | |
Nisha et al. | Wavelet coefficients thresholding techniques for denoising MRI images | |
Krylov et al. | A post-processing method for 3D fundus image enhancement | |
Monir et al. | Denoising functional magnetic resonance imaging time-series using anisotropic spatial averaging | |
Purnima et al. | Non-Gradient Based Design Metrics for Underwater Image Enhancement | |
KR102096532B1 (en) | Edge Enhancement Method and Apparatus based on Curvelet Transform for Object Recognition at Sonar Image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |