CN105260990B - Contaminate the denoising method for infrared spectroscopy signals of making an uproar - Google Patents
Contaminate the denoising method for infrared spectroscopy signals of making an uproar Download PDFInfo
- Publication number
- CN105260990B CN105260990B CN201510597101.6A CN201510597101A CN105260990B CN 105260990 B CN105260990 B CN 105260990B CN 201510597101 A CN201510597101 A CN 201510597101A CN 105260990 B CN105260990 B CN 105260990B
- Authority
- CN
- China
- Prior art keywords
- signal
- noise
- infrared spectrum
- uproar
- mean square
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004566 IR spectroscopy Methods 0.000 title claims description 10
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 18
- 230000003595 spectral effect Effects 0.000 claims abstract description 7
- 230000003044 adaptive effect Effects 0.000 claims description 28
- 239000013598 vector Substances 0.000 claims description 3
- 230000014509 gene expression Effects 0.000 claims 4
- 238000002329 infrared spectrum Methods 0.000 abstract description 64
- 206010006187 Breast cancer Diseases 0.000 abstract description 21
- 208000026310 Breast neoplasm Diseases 0.000 abstract description 21
- 230000000694 effects Effects 0.000 abstract description 10
- 238000003745 diagnosis Methods 0.000 abstract description 4
- 201000010099 disease Diseases 0.000 abstract description 4
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 abstract description 4
- 238000007405 data analysis Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000005033 Fourier transform infrared spectroscopy Methods 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004043 dyeing Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000004451 qualitative analysis Methods 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 238000010186 staining Methods 0.000 description 1
Landscapes
- Investigating Or Analysing Materials By Optical Means (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
本发明涉及红外光谱信号的去噪方法技术领域,是一种染噪红外光谱信号的去噪方法,按下述步骤进行:第一步,将加入高斯白噪声后的染噪红外光谱信号进行经验模态分解后得到j个本征模态分量,将j个本征模态分量加权平均后得到加权平均本征模态分量和残余量;第二步,对染噪红外光谱信号进行信号重构后得到重构信号。本发明所述的染噪红外光谱信号的去噪方法对染噪红外光谱信号的降噪效果更佳,并且根据本发明所述的染噪红外光谱信号的去噪方法降噪后的红外光谱信号更加贴近未染噪的红外光谱信号,为乳腺癌等疾病的诊断和治疗,能够提供更好的依据。The present invention relates to the technical field of denoising methods for infrared spectral signals, and relates to a denoising method for noise-stained infrared spectral signals, which is carried out according to the following steps: the first step is to conduct empirical After modal decomposition, j eigenmode components are obtained, and the weighted average eigenmode components and residuals are obtained after j eigenmode components are weighted and averaged; the second step is to perform signal reconstruction on the noise-stained infrared spectrum signal After that, the reconstructed signal is obtained. The denoising method of the noise-stained infrared spectrum signal described in the present invention has a better denoising effect on the noise-stained infrared spectrum signal, and the infrared spectrum signal after denoising according to the denoising method of the noise-stained infrared spectrum signal of the present invention The infrared spectrum signal that is closer to the unstained noise can provide a better basis for the diagnosis and treatment of breast cancer and other diseases.
Description
技术领域technical field
本发明涉及红外光谱信号的去噪方法技术领域,是一种染噪红外光谱信号的去噪方法。The invention relates to the technical field of denoising methods for infrared spectrum signals, and relates to a denoising method for noise-stained infrared spectrum signals.
背景技术Background technique
光谱检测技术是诊断乳腺癌的一种新技术,其中红外光谱技术作为快速、简单、非破坏性的定性和定量分析的方法,因此被广泛应用。实测的红外光谱常含有大量干扰信息(噪声信号等),而噪声主要来源于三个方面,探测器噪声、电子线路噪声和环境噪声。因此,在光谱分析和处理中降噪显得极为重要。Spectral detection technology is a new technology for diagnosing breast cancer. Infrared spectroscopy is widely used as a fast, simple and non-destructive qualitative and quantitative analysis method. The measured infrared spectrum often contains a lot of interference information (noise signal, etc.), and the noise mainly comes from three aspects: detector noise, electronic circuit noise and environmental noise. Therefore, noise reduction is extremely important in spectral analysis and processing.
目前常用的降噪方法主要有小波、经验模态分解(EMD)和EEMD等,其中基于小波变换的降噪方法需要先验知识,即选取小波基、小波层数和阈值等等问题。EMD是一种新型的自适应信号处理方法,适合于非线性、非平稳信号。但EMD方法的一个重要缺陷就是模态混叠,使得降噪后的信号失真。另外,LMS自适应滤波器是基于纠错学习规则的学习算法,由于其算法简单、不需要先验知识,很快得到了广泛应用,成为自适应滤波的标准算法。但是LMS算法的稳态误差与收敛速率存在不可避免的矛盾,降噪效果时好时坏。Wu(Wu Z H,Huang NE.Ensemble empirical mode decomposition:a noise assisted data analysis method[J].Advances in Adaptive DataAnalysis)等在对EMD分解中遇到的模态混叠现象研究的基础上,提出了EEMD的方法。一个非平稳信号通过EEMD分解后可以得到若干个平稳的本征模函数(IMF),该方法得到的IMF有效地克服了EMD分解中模态混叠的问题,但是遇到低信噪比的信号,在异常事件的影响下使得EEMD分解的染噪信号的高频本征模函数出现了不同程度的白噪声污染。At present, the commonly used noise reduction methods mainly include wavelet, empirical mode decomposition (EMD) and EEMD, etc. Among them, the noise reduction method based on wavelet transform needs prior knowledge, that is, the selection of wavelet base, wavelet layer number and threshold and so on. EMD is a new adaptive signal processing method, which is suitable for nonlinear and non-stationary signals. However, an important defect of the EMD method is modal aliasing, which distorts the signal after noise reduction. In addition, the LMS adaptive filter is a learning algorithm based on error correction learning rules. Because its algorithm is simple and does not require prior knowledge, it has been widely used and has become a standard algorithm for adaptive filtering. However, there is an inevitable contradiction between the steady-state error and the convergence rate of the LMS algorithm, and the noise reduction effect is sometimes good or bad. Wu(Wu Z H, Huang NE.Ensemble empirical mode decomposition: a noise assisted data analysis method[J].Advances in Adaptive DataAnalysis) proposed EEMD on the basis of the research on the mode mixing phenomenon encountered in EMD decomposition Methods. After a non-stationary signal is decomposed by EEMD, several stationary intrinsic mode functions (IMFs) can be obtained. The IMF obtained by this method effectively overcomes the problem of mode aliasing in EMD decomposition, but encounters low signal-to-noise ratio signals , under the influence of abnormal events, the high-frequency eigenmode functions of the noise-stained signal decomposed by EEMD appear white noise pollution to varying degrees.
发明内容Contents of the invention
本发明提供了一种染噪红外光谱信号的去噪方法,克服了上述现有技术之不足,本发明所述的染噪红外光谱信号的去噪方法首次采用EEMD联合VS-LMS(可变步长最小均方自适应滤波器)对染噪红外光谱信号进行降噪,本发明所述的染噪红外光谱信号的去噪方法相对于现有的红外光谱降噪方法而言,具有更佳的降噪效果,为乳腺癌等疾病的诊断和治疗,能够提供更好的依据。The present invention provides a kind of noise-removing method of dyed-noise infrared spectrum signal, has overcome above-mentioned deficiencies in the prior art, and the de-noise method of dye-and-noise infrared spectrum signal of the present invention adopts EEMD combined with VS-LMS (variable step) for the first time Long least mean square adaptive filter) denoises the noise-stained infrared spectrum signal, and the denoising method of the noise-stained infrared spectrum signal of the present invention has better performance than the existing infrared spectrum noise reduction method The noise reduction effect can provide a better basis for the diagnosis and treatment of breast cancer and other diseases.
本发明的技术方案是通过以下措施来实现的:一种染噪红外光谱信号的去噪方法,按下述步骤进行:第一步,将加入高斯白噪声后的染噪红外光谱信号进行经验模态分解后得到j个本征模态分量,j为自然数,将j个本征模态分量加权平均后得到加权平均本征模态分量和残余量;第二步,对染噪红外光谱信号进行信号重构后得到重构信号;第三步,将重构信号输入可变步长最小均方自适应滤波器,在可变步长最小均方自适应滤波器中初始化权值、设定步长因子的初始值、设定阶数和设定运行次数,可变步长最小均方自适应滤波器在运行的过程中,更新步长因子,当均方误差的曲线为收敛曲线时,可变步长最小均方自适应滤波器输出信号为降噪信号;具体地,The technical solution of the present invention is realized by the following measures: a denoising method of a noise-stained infrared spectrum signal is carried out according to the following steps: the first step is to empirically model the noise-stained infrared spectrum signal after adding Gaussian white noise After state decomposition, j eigenmode components are obtained, j is a natural number, and the weighted average eigenmode components and residuals are obtained after j eigenmode components are weighted and averaged; in the second step, the noise-stained infrared spectrum signal is After the signal is reconstructed, the reconstructed signal is obtained; the third step is to input the reconstructed signal into the variable step-size minimum mean square adaptive filter, and initialize the weight and set the step size in the variable step-size minimum mean square adaptive filter. The initial value of the long factor, the set order and the set number of runs, the variable step size minimum mean square adaptive filter updates the step size factor during the running process, and when the curve of the mean square error is a convergent curve, it can be The variable step size minimum mean square adaptive filter output signal is a noise reduction signal; specifically,
第一步中,在染噪红外光谱信号中加入若干次均值为0、标准差是常数的高斯白噪声,高斯白噪声用ni(n)表示,i为自然数,染噪红外光谱信号用x(n)表示,加入高斯白噪声的染噪红外光谱信号用xi(n)表示,xi(n)=x(n)+ni(n),将加入高斯白噪声的染噪红外光谱信号进行经验模态分解后得到j个本征模态分量,本征模态分量用cij(n)表示,利用不相关的随机序列统计均值为0的特性,将j个本征模态分量加权平均运算,消除有噪声的本征模态分量,加权平均运算后得到加权平均本征模态分量和残余量,加权平均本征模态分量用cj表示,残余量用r(n)表示,M为自然数, In the first step, several Gaussian white noises with a mean value of 0 and a constant standard deviation are added to the noise-dyed infrared spectrum signal. (n) represents, adding the Gaussian white noise dyed noise infrared spectrum signal is represented by x i (n), x i (n)=x(n)+n i (n), will add the Gaussian white noise dyed noise infrared spectrum After the signal is subjected to empirical mode decomposition, j eigenmode components are obtained, and the eigenmode components are denoted by c ij (n), and the j eigenmode components are divided into The weighted average operation eliminates the noisy eigenmode components. After the weighted average operation, the weighted average eigenmode components and residuals are obtained. The weighted average eigenmode components are denoted by c j and the residuals are denoted by r(n) , M is a natural number,
第二步中,对染噪红外光谱信号进行信号重构后得到重构信号,重构信号用x(n)表示,x(n)=∑jcj(n)+r(n),cj(n)为对加入高斯白噪声后的染噪红外光谱信号进行经验模态分解后得到的第j个本征模态分量;In the second step, the reconstructed signal is obtained after signal reconstruction of the noise-stained infrared spectrum signal, and the reconstructed signal is represented by x(n), x(n)=∑ j c j (n)+r(n), c j (n) is the jth eigenmode component obtained after performing empirical mode decomposition on the noise-stained infrared spectrum signal after adding Gaussian white noise;
第三步中,将重构信号输入可变步长最小均方自适应滤波器中的序列用X(n)表示,In the third step, the sequence of inputting the reconstructed signal into the variable-step minimum mean square adaptive filter is denoted by X(n),
X(n)=[x(n),x(n-1),...,x(n-M+1)],X(n)=[x(n),x(n-1),...,x(n-M+1)],
可变步长最小均方自适应滤波器的加权矢量用W(n)表示,The weight vector of the variable step least mean square adaptive filter is represented by W(n),
W(n)=[Wn1,Wn2,Wn3,...,WnM]T,W(n)=[W n1 ,W n2 ,W n3 ,...,W nM ] T ,
可变步长最小均方自适应滤波器的输出信号用y(n)表示,The output signal of the variable step least mean square adaptive filter is represented by y(n),
y(n)相对于期望信号d(n)的误差用e(n)表示,The error of y(n) relative to the expected signal d(n) is represented by e(n),
e(n)=d(n)-W(n)TX(n),e(n)=d(n)-W(n) T X(n),
误差与步长因子的关系满足:The relationship between the error and the step factor satisfies:
W(n+1)=W(n)+2mue(n)X(n),W(n+1)=W(n)+2mue(n)X(n),
mu为步长因子,mu为常数,用来控制收敛速度,e(n)为信号的误差,为了保证迭代后收敛,mu必须满足:0<mu<λmax,λmax为输入序列X(n)自相关矩阵Rxx的最大特征值,步长因子的迭代公式为:mu is the step size factor, mu is a constant, used to control the convergence speed, e(n) is the error of the signal, in order to ensure convergence after iteration, mu must satisfy: 0<mu<λ max , λ max is the input sequence X(n ) the maximum eigenvalue of the autocorrelation matrix R xx , the iterative formula of the step size factor is:
mu0为步长因子的初始值,所有n均为自然数,并且在迭代公式中,n为信号点的迭代次数,迭代次数为自然数,mu为第n个步长因子,步长因子根据步长因子的迭代公式进行更新,步长因子在更新的过程中,当均方误差的曲线为收敛曲线时,可变步长最小均方自适应滤波器输出信号为降噪信号。mu 0 is the initial value of the step factor, all n are natural numbers, and in the iterative formula Among them, n is the number of iterations of the signal point, the number of iterations is a natural number, mu is the nth step factor, and the step factor is updated according to the iterative formula of the step factor. During the update process, when the mean square error When the curve of is the convergence curve, the output signal of the variable step least mean square adaptive filter is the noise reduction signal.
本发明所述的染噪红外光谱信号的去噪方法对染噪红外光谱信号的降噪效果更佳,并且根据本发明所述的染噪红外光谱信号的去噪方法降噪后的红外光谱信号更加贴近未染噪的红外光谱信号,为乳腺癌等疾病的诊断和治疗,能够提供更好的依据。The denoising method of the noise-stained infrared spectrum signal described in the present invention has a better denoising effect on the noise-stained infrared spectrum signal, and the infrared spectrum signal after denoising according to the denoising method of the noise-stained infrared spectrum signal of the present invention The infrared spectrum signal that is closer to the unstained noise can provide a better basis for the diagnosis and treatment of breast cancer and other diseases.
附图说明Description of drawings
附图1为采用EQUINOX55型傅里叶变换红外光谱仪(德国Bruker公司)采集纯乳腺癌切片的中红外光谱图(未染噪红外光谱图)。Accompanying drawing 1 is adopting EQUINOX55 type Fourier transform infrared spectrometer (Germany Bruker company) to collect the mid-infrared spectrogram (unstained noise infrared spectrogram) of pure breast cancer section.
附图2为乳腺癌切片染噪的红外光谱图。Accompanying drawing 2 is the infrared spectrogram of breast cancer slice staining noise.
附图3为本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪的红外光谱信号的学习曲线图。Accompanying drawing 3 is the learning curve of the noise-stained infrared spectrum signal of breast cancer slices by the noise-stained infrared spectral signal denoising method according to the present invention.
附图4为根据本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图。Accompanying drawing 4 is the infrared spectrogram after processing the infrared spectrum signal of the breast cancer slice stained and noised according to the denoising method of the infrared spectrum signal of the stained noise.
附图5为小波对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图。Accompanying drawing 5 is the infrared spectrogram after processing the infrared spectrum signal of the breast cancer slice stained with wavelet noise.
附图6为EEMD分解对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图。Accompanying drawing 6 is the infrared spectrogram after processing the infrared spectrum signal of EEMD decomposition to the noise of breast cancer slices.
附图7为LMS自适应滤波器对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图。Accompanying drawing 7 is the infrared spectrogram after the LMS adaptive filter processes the infrared spectral signal of the breast cancer slice stained with noise.
具体实施方式Detailed ways
本发明不受下述实施例的限制,可根据本发明的技术方案与实际情况来确定具体的实施方式。The present invention is not limited by the following examples, and specific implementation methods can be determined according to the technical solutions of the present invention and actual conditions.
下面结合实施例对本发明作进一步描述:The present invention will be further described below in conjunction with embodiment:
实施例1:该染噪红外光谱信号的去噪方法,按下述步骤进行:第一步,将加入高斯白噪声后的染噪红外光谱信号进行经验模态(EMD)分解后得到j个本征模态分量(IMF),j为自然数,将j个本征模态分量加权平均后得到加权平均本征模态分量和残余量;第二步,对染噪红外光谱信号进行信号重构后得到重构信号;第三步,将重构信号输入可变步长最小均方自适应滤波器(VS-LMS),在可变步长最小均方自适应滤波器中初始化权值、设定步长因子的初始值、设定阶数和设定运行次数,可变步长最小均方自适应滤波器在运行的过程中,更新步长因子,当均方误差(e2(n))的曲线为收敛曲线时,可变步长最小均方自适应滤波器输出信号为降噪信号;具体地,Embodiment 1: the denoising method of this noise-stained infrared spectrum signal is carried out according to the following steps: the first step, after adding Gaussian white noise, the noise-stained infrared spectrum signal is subjected to empirical mode (EMD) decomposition to obtain j basic eigenmode component (IMF), j is a natural number, and the weighted average eigenmode component and residual are obtained after j eigenmode components are weighted and averaged; in the second step, after signal reconstruction of the noise-stained infrared spectrum signal The reconstructed signal is obtained; the third step is to input the reconstructed signal into the variable step-size least mean square adaptive filter (VS-LMS), and initialize the weights and set The initial value of the step size factor, the set order and the set number of operations, the variable step size least mean square adaptive filter is in the process of running, update the step size factor, when the mean square error (e 2 (n)) When the curve of is the convergence curve, the output signal of the variable step least mean square adaptive filter is the noise reduction signal; specifically,
第一步中,在染噪红外光谱信号中加入若干次均值为0、标准差是常数的高斯白噪声,高斯白噪声用ni(n)表示,i为自然数,染噪红外光谱信号用x(n)表示,加入高斯白噪声的染噪红外光谱信号用xi(n)表示,xi(n)=x(n)+ni(n),将加入高斯白噪声的染噪红外光谱信号进行经验模态分解后得到j个本征模态分量,本征模态分量用cij(n)表示,利用不相关的随机序列统计均值为0的特性,将j个本征模态分量加权平均运算,消除有噪声的本征模态分量,加权平均运算后得到加权平均本征模态分量和残余量,加权平均本征模态分量用cj表示,残余量用r(n)表示,M为自然数, In the first step, several Gaussian white noises with a mean value of 0 and a constant standard deviation are added to the noise-dyed infrared spectrum signal. (n) represents, adding the Gaussian white noise dyed noise infrared spectrum signal is represented by x i (n), x i (n)=x(n)+n i (n), will add the Gaussian white noise dyed noise infrared spectrum After the signal is subjected to empirical mode decomposition, j eigenmode components are obtained, and the eigenmode components are denoted by c ij (n), and the j eigenmode components are divided into The weighted average operation eliminates the noisy eigenmode components. After the weighted average operation, the weighted average eigenmode components and residuals are obtained. The weighted average eigenmode components are denoted by c j and the residuals are denoted by r(n) , M is a natural number,
第二步中,对染噪红外光谱信号进行信号重构后得到重构信号,重构信号用x(n)表示,x(n)=∑jcj(n)+r(n),cj(n)为对加入高斯白噪声后的染噪红外光谱信号进行经验模态分解后得到的第j个本征模态分量;In the second step, the reconstructed signal is obtained after signal reconstruction of the noise-stained infrared spectrum signal, and the reconstructed signal is represented by x(n), x(n)=∑ j c j (n)+r(n), c j (n) is the jth eigenmode component obtained after performing empirical mode decomposition on the noise-stained infrared spectrum signal after adding Gaussian white noise;
第三步中,将重构信号输入可变步长最小均方自适应滤波器中的序列用X(n)表示,In the third step, the sequence of inputting the reconstructed signal into the variable-step minimum mean square adaptive filter is denoted by X(n),
X(n)=[x(n),x(n-1),...,x(n-M+1)],X(n)=[x(n),x(n-1),...,x(n-M+1)],
可变步长最小均方自适应滤波器的加权矢量用W(n)表示,The weight vector of the variable step least mean square adaptive filter is represented by W(n),
W(n)=[Wn1,Wn2,Wn3,...,WnM]T,W(n)=[W n1 ,W n2 ,W n3 ,...,W nM ] T ,
可变步长最小均方自适应滤波器的输出信号用y(n)表示,The output signal of the variable step least mean square adaptive filter is represented by y(n),
y(n)相对于期望信号d(n)的误差用e(n)表示,The error of y(n) relative to the expected signal d(n) is represented by e(n),
e(n)=d(n)-W(n)TX(n),e(n)=d(n)-W(n) T X(n),
误差与步长因子的关系满足:The relationship between the error and the step factor satisfies:
W(n+1)=W(n)+2mue(n)X(n),W(n+1)=W(n)+2mue(n)X(n),
mu为步长因子,mu为常数,用来控制收敛速度,e(n)为信号的误差,为了保证迭代后收敛,mu必须满足:0<mu<λmax,λmax为输入序列X(n)自相关矩阵Rxx的最大特征值,mu is the step size factor, mu is a constant, used to control the convergence speed, e(n) is the error of the signal, in order to ensure convergence after iteration, mu must satisfy: 0<mu<λ max , λ max is the input sequence X(n ) the largest eigenvalue of the autocorrelation matrix R xx ,
步长因子的迭代公式为:The iterative formula for the step factor is:
mu0为步长因子的初始值,所有n均为自然数,并且在迭代公式中,n为信号点的迭代次数,迭代次数为自然数,mu为第n个步长因子,步长因子根据步长因子的迭代公式进行更新,步长因子在更新的过程中,当均方误差的曲线为收敛曲线时,可变步长最小均方自适应滤波器输出信号为降噪信号。mu 0 is the initial value of the step factor, all n are natural numbers, and in the iterative formula Among them, n is the number of iterations of the signal point, the number of iterations is a natural number, mu is the nth step factor, and the step factor is updated according to the iterative formula of the step factor. During the update process, when the mean square error When the curve of is the convergence curve, the output signal of the variable step least mean square adaptive filter is the noise reduction signal.
根据本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪(有噪声)的红外光谱信号进行处理,可变步长最小均方自适应滤波器阶数设定为K=12、运行次数M=30,初始步长因子mu0=0.044,步长因子迭代公式中的n=1至1744,初始化前向滤波器的权值(初始化权值):According to the denoising method of the noise-stained infrared spectrum signal of the present invention, the infrared spectrum signal of breast cancer slices stained with noise (with noise) is processed, and the variable step size minimum mean square adaptive filter order is set as K= 12. The number of operations M=30, the initial step size factor mu 0 =0.044, n=1 to 1744 in the step size factor iteration formula, initialize the weight of the forward filter (initialization weight):
W=[0.1642,0.1341,0.0529,-0.0624,-0.1586,-0.1932,-0.1555,-0.0599,0.0584,0.1229,0.1106],W=[0.1642, 0.1341, 0.0529, -0.0624, -0.1586, -0.1932, -0.1555, -0.0599, 0.0584, 0.1229, 0.1106],
根据本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪的红外光谱信号进行处理过程中的均方误差e2(n)的曲线(学习曲线)如图3所示,根据本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图如图4所示,采用小波、EEMD分解和LMS自适应滤波器分别对染噪的红外光谱进行处理,小波对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图如图5所示,EEMD分解对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图如图6所示,LMS自适应滤波器对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图如图7所示,比较本发明所述的染噪红外光谱信号的去噪方法、小波、EEMD分解和LMS自适应滤波器的降噪效果,降噪效果通过SNR、RMSE和ρ三项指标来体现,本发明所述的染噪红外光谱信号的去噪方法(EEMD联合VS-LMS))、小波、EEMD分解(EEMD)和LMS自适应滤波器(LMS)的SNR、RMSE和ρ三项指标如表1所示。SNR(信噪比)表明了真实信号与噪声的能量比,故SNR越大越好,RMSE(均方根误差)反映了降噪信号与原信号的误差,故RMSE越小越好,ρ(相关系数)表示降噪前后的波形相关程度,故ρ越趋近于1越好。The curve (learning curve) of the mean square error e 2 (n) in the process of processing the noise-stained infrared spectrum signal of breast cancer slices according to the method for denoising the infrared spectrum signal of the dyed noise of the present invention is shown in Figure 3, According to the denoising method of the noise-stained infrared spectrum signal of the present invention, the infrared spectrum diagram after the processing of the infrared spectrum signal of the breast cancer slice stained noise is shown in Figure 4, using wavelet, EEMD decomposition and LMS adaptive filter to respectively The infrared spectrum of breast cancer slices is processed with wavelet noise, and the infrared spectrum after wavelet processing is shown in Figure 5. The infrared spectrum of breast cancer slices with EEMD decomposition is shown in Figure 5. As shown in Fig. 6, the infrared spectrogram after LMS adaptive filter is processed to the infrared spectrum signal of breast cancer slice dyeing noise is shown in Fig. 7, compares the denoising method, wavelet, wavelet, EEMD decomposition and the denoising effect of the LMS adaptive filter, the denoising effect is reflected by the three indicators of SNR, RMSE and ρ, the denoising method of the noise-stained infrared spectrum signal of the present invention (EEMD combined with VS-LMS)) , wavelet, EEMD decomposition (EEMD) and LMS adaptive filter (LMS) SNR, RMSE and ρ three indicators are shown in Table 1. SNR (signal-to-noise ratio) indicates the energy ratio of the real signal to noise, so the larger the SNR, the better, RMSE (root mean square error) reflects the error between the noise reduction signal and the original signal, so the smaller the RMSE, the better, ρ (correlation Coefficient) indicates the degree of waveform correlation before and after noise reduction, so the closer ρ is to 1, the better.
图1至图7中,图5中的红外光谱的分辨率有所提高,但是,小波的降噪能力不足,与图1中未染噪红外光谱相比,图5中有细节淹没在噪声中并新添了不少的波峰和波谷,使得滤波后的波峰特征偏离原图(图1);从图6可以看出,图6很好的保留了波峰的特点而且稳定性高,但是降噪能力不足,降噪后光谱的波峰分辨率不足;从图7可以看出,LMS自适应滤波器对乳腺癌切片染噪的红外光谱信号处理后的红外光谱图依然有明显的噪声信号;从图3可以看出,学习曲线为收敛曲线,并且图4很好的保留了光谱的特性,主要波峰更加贴近图1中的主要波峰,即采用本发明所述的染噪红外光谱信号的去噪方法降噪后的乳腺癌红外光谱更能反应样本的特征。From Figure 1 to Figure 7, the resolution of the infrared spectrum in Figure 5 has been improved, but the noise reduction ability of the wavelet is insufficient. Compared with the unstained infrared spectrum in Figure 1, the details in Figure 5 are submerged in the noise And added a lot of peaks and troughs, making the filtered peak characteristics deviate from the original image (Figure 1); from Figure 6, we can see that Figure 6 well retains the characteristics of the peak and has high stability, but the noise reduction Insufficient ability, the peak resolution of the spectrum after noise reduction is insufficient; from Figure 7, it can be seen that the infrared spectrum image processed by the LMS adaptive filter to the noise-stained infrared spectrum signal of breast cancer slices still has obvious noise signals; from Figure 7 3 It can be seen that the learning curve is a convergence curve, and Figure 4 retains the characteristics of the spectrum well, and the main peak is closer to the main peak in Figure 1, that is, the denoising method of the noise-stained infrared spectral signal according to the present invention is adopted The infrared spectrum of breast cancer after noise reduction can better reflect the characteristics of the sample.
由表1可以看出,EEMD联合VS-LMS的SNR均大于表1中其他三种方法的SNR,EEMD联合VS-LMS的RMSE均小于表1中其他三种方法的RMSE,EEMD联合VS-LMS的ρ相对于表1中其他三种方法的ρ更加趋近于1,由此可知,本发明所述的染噪红外光谱信号的去噪方法对乳腺癌切片染噪的红外光谱信号的降噪效果更佳。It can be seen from Table 1 that the SNR of EEMD combined with VS-LMS is greater than the SNR of the other three methods in Table 1, and the RMSE of EEMD combined with VS-LMS is smaller than that of the other three methods in Table 1. EEMD combined with VS-LMS Compared with the ρ of the other three methods in Table 1, the ρ is closer to 1. It can be seen that the denoising method of the noise-stained infrared spectrum signal of the present invention can reduce the noise of the infrared spectrum signal of the breast cancer section. The effect is better.
综上所述,根据本发明所述的染噪红外光谱信号的去噪方法对染噪红外光谱信号的降噪效果更佳,并且根据本发明所述的染噪红外光谱信号的去噪方法降噪后的红外光谱信号更加贴近未染噪的红外光谱信号,为乳腺癌等疾病的诊断和治疗,能够提供更好的依据。In summary, according to the denoising method of the noise-stained infrared spectrum signal of the present invention, the denoising effect of the noise-stained infrared spectrum signal is better, and according to the de-noising method of the noise-stained infrared spectrum signal of the present invention, the denoising effect is reduced. The noised infrared spectrum signal is closer to the unstained infrared spectrum signal, which can provide a better basis for the diagnosis and treatment of breast cancer and other diseases.
以上技术特征构成了本发明的实施例,其具有较强的适应性和实施效果,可根据实际需要增减非必要的技术特征,来满足不同情况的需求。The above technical features constitute the embodiment of the present invention, which has strong adaptability and implementation effect, and non-essential technical features can be increased or decreased according to actual needs to meet the needs of different situations.
Claims (1)
- The denoising method of infrared spectroscopy signals 1. a kind of dye is made an uproar, it is characterised in that carry out in the steps below:The first step is high by being added Dye after this white noise makes an uproar after infrared spectroscopy signals carry out empirical mode decomposition and obtains j intrinsic modal components, and j is natural number, The intrinsic modal components of weighted average and residual volume will be obtained after j intrinsic modal components weighted averages;Second step makes an uproar to dye infrared Spectral signal obtains reconstruction signal after carrying out signal reconstruction;Third walks, and reconstruction signal input variable step size lowest mean square is adaptive Filter is answered, weights, the initial value for setting step factor, setting are initialized in variable step size minimum mean square self-adaption filter Exponent number and setting number of run, variable step size minimum mean square self-adaption filter in the process of running, update step factor, when When the curve of mean square error is convergence curve, variable step size minimum mean square self-adaption filter output signal is de-noising signal;Tool Body,In the first step, it is the white Gaussian noise that 0, standard deviation is constant that mean value several times is added in dye makes an uproar infrared spectroscopy signals, White Gaussian noise ni(n) it indicates, i is natural number, contaminates infrared spectroscopy signals x (n) expressions of making an uproar, the dye of white Gaussian noise is added Infrared spectroscopy signals of making an uproar xi(n) it indicates, xi(n)=x (n)+ni(n), the dye that white Gaussian noise is added is made an uproar infrared spectroscopy signals J intrinsic modal components, intrinsic modal components c are obtained after carrying out empirical mode decompositionij(n) indicate, using it is incoherent with J intrinsic modal components weighted mean operations are eliminated noisy intrinsic mode point by the characteristic that machine sequence statistic mean value is 0 It measures, the intrinsic modal components of weighted average and residual volume, the intrinsic modal components c of weighted average is obtained after weighted mean operationjTable Showing, residual volume indicates that M is natural number with r (n),In second step, to make an uproar after infrared spectroscopy signals carry out signal reconstruction to dye and obtain reconstruction signal, reconstruction signal is indicated with x (n), X (n)=∑jcj(n)+r (n), cj(n) it is to carry out empirical modal point to the infrared spectroscopy signals of making an uproar of the dye after white Gaussian noise are added J-th of the intrinsic modal components obtained after solution;In third step, the sequence X (n) that reconstruction signal inputs in variable step size minimum mean square self-adaption filter is indicated,X (n)=[x (n), x (n-1) ..., x (n-M+1)],W (n) expressions of the weight vectors of variable step size minimum mean square self-adaption filter,W (n)=[Wn1,Wn2,Wn3,...,WnM]T,Y (n) expressions of the output signal of variable step size minimum mean square self-adaption filter,Error e (n) expressions of the y (n) relative to desired signal d (n),E (n)=d (n)-W (n)TX (n),Error and the relationship of step factor meet:W (n+1)=W (n)+2mue (n) X (n),Mu is step factor, and mu is constant, is used for control convergence speed, and e (n) is the error of signal, in order to receive after ensureing iteration It holds back, mu must satisfy:0 < mu < λmax, λmaxFor list entries X (n) autocorrelation matrixes RxxMaximum eigenvalue,The iterative formula of step factor is:mu0For the initial value of step factor, all n are natural number, and in iterative formulaIn, n is letter The iterations of number point, iterations are natural number, and mu is n-th of step factor, and step factor is according to the iteration of step factor Formula is updated, and for step factor during newer, when the curve of mean square error is convergence curve, variable step size is minimum Square sef-adapting filter output signal is de-noising signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510597101.6A CN105260990B (en) | 2015-09-18 | 2015-09-18 | Contaminate the denoising method for infrared spectroscopy signals of making an uproar |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510597101.6A CN105260990B (en) | 2015-09-18 | 2015-09-18 | Contaminate the denoising method for infrared spectroscopy signals of making an uproar |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105260990A CN105260990A (en) | 2016-01-20 |
| CN105260990B true CN105260990B (en) | 2018-10-09 |
Family
ID=55100665
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510597101.6A Active CN105260990B (en) | 2015-09-18 | 2015-09-18 | Contaminate the denoising method for infrared spectroscopy signals of making an uproar |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105260990B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106018331B (en) * | 2016-07-13 | 2018-08-28 | 广州讯动网络科技有限公司 | The method for estimating stability and pretreatment optimization method of multi-channel spectral system |
| CN106383107A (en) * | 2016-09-23 | 2017-02-08 | 新疆大学 | Spectral signal noise reduction method based on smoothing filtering with combination of VS-LMS |
| CN107246952A (en) * | 2017-05-19 | 2017-10-13 | 北京邮电大学 | A kind of polarization mode dispersion measurement precision improvement method and system |
| CN108088834B (en) * | 2017-09-13 | 2020-04-28 | 新疆大学 | Serum Raman spectroscopic diagnostic instrument for hydatid disease based on optimized back-propagation neural network |
| CN111934647A (en) * | 2020-07-14 | 2020-11-13 | 广东技术师范大学 | EMD-LMS hybrid filtering method and filter |
| CN117664906B (en) * | 2024-02-01 | 2024-04-30 | 国检测试控股集团湖南华科科技有限公司 | Water body antibiotic pollution detection method based on spectral characteristics |
| CN120522214B (en) * | 2025-07-25 | 2025-09-16 | 跃迁科技(天津)有限公司 | Precision point measurement method and system for precious metal analyzers based on micro-area X-ray fluorescence spectroscopy |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201927079U (en) * | 2011-03-07 | 2011-08-10 | 山东电力研究院 | Rapid real-time integration processing system for visible image and infrared image |
| US8577129B2 (en) * | 2000-04-11 | 2013-11-05 | Cornell Research Foundation, Inc. | System and method for three-dimensional image rendering and analysis |
| CN103839239A (en) * | 2014-02-28 | 2014-06-04 | 华南理工大学 | Self-adaption denoising method for cable porcelain shell terminal infrared images |
-
2015
- 2015-09-18 CN CN201510597101.6A patent/CN105260990B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8577129B2 (en) * | 2000-04-11 | 2013-11-05 | Cornell Research Foundation, Inc. | System and method for three-dimensional image rendering and analysis |
| CN201927079U (en) * | 2011-03-07 | 2011-08-10 | 山东电力研究院 | Rapid real-time integration processing system for visible image and infrared image |
| CN103839239A (en) * | 2014-02-28 | 2014-06-04 | 华南理工大学 | Self-adaption denoising method for cable porcelain shell terminal infrared images |
Non-Patent Citations (1)
| Title |
|---|
| "近红外"3R"法双谱自适应去噪";赵肖宇 等;《光谱学与光谱分析》;20150430;第35卷(第4期);第1146-1150页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105260990A (en) | 2016-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105260990B (en) | Contaminate the denoising method for infrared spectroscopy signals of making an uproar | |
| CN107274908B (en) | Wavelet Speech Denoising Method Based on New Threshold Function | |
| CN109446928B (en) | Signal noise reduction method based on variational modal decomposition and minimum mean square error adaptive filter | |
| CN110244202B (en) | Transformer Partial Discharge Denoising Method Based on Synchronous Compressed Wavelet Transform Domain | |
| CN110059639A (en) | A kind of Frequency Hopping Signal detection method based on fractional wavelet transform and Hilbert-Huang transform | |
| CN109360581A (en) | Sound enhancement method, readable storage medium storing program for executing and terminal device neural network based | |
| CN110503060B (en) | A spectral signal denoising method and system thereof | |
| CN109883547A (en) | A Broadband Spectral Signal Denoising Method Based on Wavelet Threshold Difference | |
| CN107315714B (en) | Deconvolution power spectrum estimation method | |
| CN109374568B (en) | A Sample Identification Method Using Terahertz Time-Domain Spectroscopy | |
| CN114386452A (en) | Fault detection method of sun gear of nuclear power circulating water pump | |
| CN113589253A (en) | Method for detecting weak echo signal based on wavelet transform algorithm of pseudo time domain | |
| CN106706122B (en) | Method for denoising bump-scrape acoustic emission signal based on related coefficient and EMD filtering characteristic | |
| CN111198167B (en) | Method for detecting concentration of metal ions in solution, terminal device and storage medium | |
| CN114077852A (en) | An Intelligent Denoising Method for Strong Noise Spectral Signals | |
| CN117454081A (en) | A denoising processing method and device for mechanical vibration signals | |
| CN113971641A (en) | Wavelet threshold denoising method, device, equipment and medium | |
| CN116975527A (en) | Fault diagnosis method based on soft thresholding and wavelet transformation denoising | |
| CN113705347A (en) | Space charge noise suppression method and device based on time-frequency analysis | |
| CN109724693A (en) | A Fusion Spectral Denoising Method Based on Stationary Wavelet | |
| CN104345049A (en) | Threshold correction method applied to wavelet threshold noise reduction of laser-induced breakdown spectroscopy | |
| CN116522080A (en) | Partial discharge signal noise reduction method | |
| CN113011321B (en) | Spectral signal denoising method, system, terminal and readable storage medium based on joint dictionary | |
| CN110208211B (en) | A near-infrared spectral noise reduction method for pesticide residue detection | |
| CN105574831B (en) | An Image Denoising Method Based on Modified Image Patch Expectation Log-Likelihood Estimation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |