CN114129171B - Electrocardiosignal noise reduction method based on improved residual error dense network - Google Patents

Electrocardiosignal noise reduction method based on improved residual error dense network Download PDF

Info

Publication number
CN114129171B
CN114129171B CN202111460457.7A CN202111460457A CN114129171B CN 114129171 B CN114129171 B CN 114129171B CN 202111460457 A CN202111460457 A CN 202111460457A CN 114129171 B CN114129171 B CN 114129171B
Authority
CN
China
Prior art keywords
convolution
block
residual
noise
dense network
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
Application number
CN202111460457.7A
Other languages
Chinese (zh)
Other versions
CN114129171A (en
Inventor
陈长芳
相潇学
舒明雷
刘瑞霞
高天雷
单珂
卞立攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Institute of Artificial Intelligence
Original Assignee
Shandong Institute of Artificial Intelligence
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Institute of Artificial Intelligence filed Critical Shandong Institute of Artificial Intelligence
Priority to CN202111460457.7A priority Critical patent/CN114129171B/en
Publication of CN114129171A publication Critical patent/CN114129171A/en
Application granted granted Critical
Publication of CN114129171B publication Critical patent/CN114129171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • A61B5/346Analysis of electrocardiograms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • A61B5/7207Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal of noise induced by motion artifacts
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems

Abstract

An improved residual error dense network-based electrocardiosignal noise reduction method is provided, the residual error dense network has the capability of characteristic reuse, the electrocardiosignal noise reduction is realized, and meanwhile, the calculation cost is reduced. In the process of applying the residual error dense network, parameters do not need to be set manually according to experience, so that experience errors are avoided, and the generalization capability of the model is improved. In the improved residual error dense network, the input of each improved residual error block is fused with the output of all the previous improved residual error blocks; the electrocardiosignal noise is removed through the network, the output of all the improved residual blocks can be obtained, and the characteristic propagation is enhanced; as the network deepens, the problems of gradient messages, gradient explosion and the like can not occur. And meanwhile, the local characteristics and the global characteristics of the signals are considered, so that the local characteristics of the signals can be captured, useful medical characteristics can be stored, and the global characteristics of the signals can be captured, and the training process is stable.

Description

Electrocardiosignal noise reduction method based on improved residual error dense network
Technical Field
The invention relates to the technical field of ECG signal noise reduction, in particular to an electrocardiosignal noise reduction method based on an improved residual error dense network.
Background
The electrocardiogram is the main basis for cardiovascular disease diagnosis and is an important auxiliary means for cardiovascular doctors to check. The electrocardiosignals contain important medical information such as physiology and pathology, reflect physiological health of all parts of the heart to a certain extent, and are important biomedical signals. However, because the electrocardiosignals have the characteristics of weakness, randomness and the like, and a large amount of noise is often accompanied in clinical application, the electrocardio waveform is easy to distort, the identification of each wave band of the signals is affected, and even the diagnosis of a doctor is affected, so that the removal of the electrocardio noise signals becomes an important link in the electrocardio signal processing.
At present, a great number of researchers contribute to the development of electrocardiosignal noise reduction technology, and corresponding measures are taken for different interferences, such as the application of an empirical mode decomposition method to remove baseline drift signals. However, the electrocardiographic signal often contains a plurality of kinds of noise, and the kind of the noise cannot be determined, and the effect of a single denoising method is not ideal. In the traditional noise reduction method, because the waveforms of the noise signal and part of the electrocardiosignal are mixed, the waveform of the signal is easy to distort, and a large amount of useful information is lost. Some deep learning noise reduction methods, such as a self-encoder and a method for generating an antagonistic network, have the problems of gradient disappearance or gradient explosion, and the like, so that it is difficult to train a deeper network, and the subsequent research of electrocardiosignals is influenced.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an improved residual error dense network with local feature fusion, global feature fusion and global residual error learning, and the method for denoising the electrocardiosignals by using the network can effectively remove various noises in the electrocardiosignals, avoid information loss and better keep the waveform characteristics of the electrocardiosignals.
The technical scheme adopted by the invention for overcoming the technical problems is as follows:
an electrocardiosignal noise reduction method based on an improved residual error dense network comprises the following steps:
a) selecting 48 original clean electrocardiosignals from an MIT-BIH arrhythmia database, and selecting a baseline drift signal, an electrode motion artifact signal and an electromyographic interference signal from an MIT-BIH noise pressure database as noise signals;
b) slicing the original clean electrocardiosignals at every 512 sampling points to obtain m divided samples, normalizing the sampling points in each sample, and adding noise signals into the normalized clean electrocardiosignals with the signal-to-noise ratio of 5dB to obtain noisy electrocardiosignals;
c) dividing the clean electrocardiosignals and the noisy electrocardiosignals into a training set and a testing set respectively;
d) constructing an improved residual error dense network model;
e) optimizing an improved residual dense network model by a loss function;
f) and carrying out noise reduction treatment on the electrocardiosignals with noise in the test set by using an optimized and improved residual dense network model.
Further, step b) comprises:
b-1) by the formula
Figure GDA0003614076430000021
Calculating to obtain a Normalized value Normalized (x) of the ith sampling point in the samplei) In the formula xiIs the amplitude, x, of the ith sample point in the sampleminIs the minimum of the amplitude in the sample, xmaxIs the maximum value of the amplitude in the sample;
b-2) sequentially selecting the normalized samples of the front z slices from each signal for 48 original clean electrocardiosignals to form D samples, selecting a baseline drift signal, an electrode motion artifact signal and a myoelectric interference signal from an MIT-BIH noise pressure database to perform slicing processing according to the ratio of 1:1:1, performing normalization processing on the sliced noise samples to form noise samples with sampling points of 512, and randomly extracting D samples from the normalized noise samples to serve as noise signals F;
b-3) calculating to obtain the electrocardiosignal Y with noise through a formula Y ═ X + F, wherein X ═ X1,x2,…,xn)TX is a clean electrocardiosignal, XiIs the amplitude of the ith sampling point in the sample, i is more than or equal to 1 and less than or equal to n, n is the length of the sample, and Y is (Y)1,y2,…,yn)T,yiThe amplitude of the ith sampling point of the electrocardiosignal containing noise is more than or equal to 1 and less than or equal to n, and n is 512.
Further, in the step c), the clean electrocardiosignals and the electrocardiosignals with noise are divided into a training set and a testing set according to the proportion of 80 percent and 20 percent respectively.
Further, step d) comprises the following steps:
d-1) setting a residual error dense network model, wherein the residual error dense network model is sequentially composed of 2 convolution blocks, 6 MRSB residual blocks, a globally fused convolution layer and a final convolution layer;
d-2) noise-carrying telecommunication in training setThe number Y is input into the first volume block by the formula H-1=δ(w-1*Y+b-1) Calculating to obtain the extracted shallow layer characteristic H-1Where δ is the nonlinear activation function, w-1As a convolution filter, b-1For bias, shallow feature H-1Input into a second volume block by formula H0=δ(w0*H-1+b0) Calculating to obtain the extracted shallow layer characteristic H0,w0As a convolution filter, b0Is a deviation;
d-3) shallow feature H0Inputting the result into the 1 st MRSB residual block to obtain the output result H1Shallow feature H0And H1Inputting the spliced result into the 2 nd MRSB residual block to obtain an output result H2Shallow feature H0、H1And H2Inputting the spliced result into the 3 rd MRSB residual block to obtain an output result H3Shallow feature H0、H1、H2And H3Inputting the spliced result into the 4 th MRSB residual block to obtain an output result H4Shallow feature H0、H1、H2、H3And H4Inputting the spliced result into the 5 th MRSB residual block to obtain an output result H5Shallow feature H0、H1、H2、H3、H4And H5Inputting the spliced result into the 6 th MRSB residual block to obtain an output result H6The MRSB residual block is composed of 10 convolution blocks in sequence, each convolution block is composed of a convolution kernel, a batch normalization process and a nonlinear activation function in sequence, the 2 nd convolution block and the 3 rd convolution block form a first residual block, the 4 th convolution block and the 5 th convolution block form a second residual block, the 6 th convolution block and the 7 th convolution block form a third residual block, the 8 th convolution block and the 9 th convolution block form a fourth residual block, the output result of the 1 st convolution block is input into the first residual block, the output result of the first residual block is input into the second residual block, the output result of the second residual block is input into the third residual block, and the output result of the third residual block is input into the third residual blockIf the result is input into a fourth residual error module, splicing the output result of the first residual error module, the output result of the second residual error module, the output result of the third residual error module and the output result of the fourth residual error module, and then passing through a 10 th 1 x 1 rolling block to obtain the local fusion feature;
d-4) reacting H1、H2、H3、H4、H5And H6Inputting the global-fused convolutional layer after splicing operation for global feature fusion to obtain a global feature HGb
d-5) combining the global features HGbAnd shallow feature H-1Splicing operation to obtain a global residual HGR
d-6) combining the global residuals HGRInputting a final convolution layer, wherein the final convolution layer is sequentially provided with a convolution layer and a Leaky ReLU activation function structure to obtain a final output electrocardiosignal X after noise reduction*
Further, in the step d-2), both the convolution blocks are composed of a convolution layer and a leakage ReLU activation function layer, the convolution kernel sizes of both the convolution blocks are set to be 3, the step size is 1, padding is set to be 1, and the dimensions of both the convolution blocks are set to be 32.
Further, the convolution kernel sizes of the 1 st convolution block and the 10 th convolution block in the MRSB residual block in step d-3) are 1 × 1, the step size is 1, the dimension of the convolution kernel is set to 32, the convolution kernel sizes of the 2 nd convolution block to the 9 th convolution block are 1 × 3, the step size is 1, padding is set to 1, and the dimension of the convolution kernel is set to 32.
Further, the convolution layer in step d-4) has a convolution kernel size of 1 × 1.
Further, step d) comprises the following steps:
d-1) by the formula
Figure GDA0003614076430000041
Calculating to obtain a loss function L, X*The electrocardiosignals after noise reduction are processed by the method,
Figure GDA0003614076430000042
for noise reductionThe amplitude of the ith sampling point of the back electrocardiosignal, | · | | non-calculation1Is L1 norm, lambda is parameter, lambda is more than or equal to 0.2 and less than or equal to 0.7;
d-2) setting the initial learning rate to be 0.001, the batch size to be 64, the optimization function to be Adam, the iteration number epoch to be 2000, training the residual error dense network model by using a loss function L, stopping training if the minimum training loss is not updated within continuous 30 epochs, and storing the model and parameters to obtain the optimized and improved residual error dense network model.
Inputting the electrocardiosignals Y with noise concentrated in the test into an optimized and improved residual dense network model to obtain the electrocardiosignals X with noise reduced in the step f)*
The invention has the beneficial effects that: the residual error dense network has the capability of reusing features, and the calculation cost is reduced while the electrocardiosignal noise reduction is realized. In the process of applying the residual error dense network, parameters do not need to be set manually according to experience, so that experience errors are avoided, and the generalization capability of the model is improved. In the improved residual error dense network, the input of each improved residual error block is fused with the output of all the previous improved residual error blocks; the electrocardiosignal noise is removed through the network, the output of all the improved residual blocks can be obtained, and the characteristic propagation is enhanced; as the network deepens, the problems of gradient messages, gradient explosion and the like can not occur. And meanwhile, the local characteristics and the global characteristics of the signals are considered, so that the local characteristics of the signals can be captured, useful medical characteristics can be stored, and the global characteristics of the signals can be captured, and the training process is stable. The improved residual error dense network is applied to noise reduction of the electrocardiosignals, and noise signals such as baseline drift, electromyographic interference, electrode motion artifacts and the like in the electrocardiosignals can be effectively removed. In the automatic diagnosis of clinical medicine, the network is applied to electrocardiosignal noise reduction, so that the accuracy and the working efficiency of doctors for disease diagnosis can be improved.
Drawings
FIG. 1 is a block diagram of an improved residual block (MRSB) of the present invention;
fig. 2 is a structural diagram of a residual error dense network (RDN) of the present invention.
Detailed Description
The invention will be further explained with reference to fig. 1 and 2.
An electrocardiosignal noise reduction method based on an improved residual error dense network comprises the following steps:
a) selecting 48 original clean electrocardiosignals from an MIT-BIH arrhythmia database, and selecting a baseline drift signal, an electrode motion artifact signal and an electromyographic interference signal from an MIT-BIH noise pressure database as noise signals;
b) slicing the original clean electrocardiosignals at every 512 sampling points to obtain m divided samples, normalizing the sampling points in each sample, and adding noise signals into the normalized clean electrocardiosignals with the signal-to-noise ratio of 5dB to obtain noisy electrocardiosignals;
c) dividing the clean electrocardiosignals and the noisy electrocardiosignals into a training set and a testing set respectively;
d) constructing an improved residual error dense network model;
e) optimizing an improved residual dense network model by a loss function;
f) and carrying out noise reduction treatment on the electrocardiosignals with noise in the test set by using an optimized and improved residual dense network model.
The residual error dense network has the capability of characteristic reuse, and the calculation cost is reduced while the electrocardiosignal noise reduction is realized. In the process of applying the residual error dense network, parameters do not need to be set manually according to experience, so that experience errors are avoided, and the generalization capability of the model is improved. In the improved residual error dense network, the input of each improved residual error block is fused with the output of all the previous improved residual error blocks; the electrocardiosignal noise is removed through the network, the output of all the improved residual blocks can be obtained, and the characteristic propagation is enhanced; as the network deepens, the problems of gradient messages, gradient explosion and the like can not occur. And meanwhile, the local characteristics and the global characteristics of the signals are considered, so that the local characteristics of the signals can be captured, useful medical characteristics can be stored, and the global characteristics of the signals can be captured, and the training process is stable. The improved residual error dense network is applied to noise reduction of the electrocardiosignals, and noise signals such as baseline drift, electromyographic interference, electrode motion artifacts and the like in the electrocardiosignals can be effectively removed. In the automatic diagnosis of clinical medicine, the network is applied to electrocardiosignal noise reduction, so that the accuracy and the working efficiency of doctors for disease diagnosis can be improved.
Example 1:
the step b) comprises the following steps:
b-1) by the formula
Figure GDA0003614076430000061
Calculating to obtain a Normalized value Normalized (x) of the ith sampling point in the samplei) In the formula xiIs the amplitude, x, of the ith sample point in the sampleminIs the minimum of the amplitude in the sample, xmaxIs the maximum value of the amplitude in the sample;
b-2) sequentially selecting the normalized samples of the front z slices from each signal for 48 original clean electrocardiosignals to form D samples, selecting a baseline drift signal, an electrode motion artifact signal and a myoelectric interference signal from an MIT-BIH noise pressure database to perform slicing processing according to the ratio of 1:1:1, performing normalization processing on the sliced noise samples to form noise samples with sampling points of 512, and randomly extracting D samples from the normalized noise samples to serve as noise signals F;
b-3) calculating to obtain the electrocardiosignal Y with noise through a formula Y ═ X + F, wherein X ═ X1,x2,…,xn)TX is a clean electrocardiosignal, XiIs the amplitude of the ith sampling point in the sample, i is more than or equal to 1 and less than or equal to n, n is the length of the sample, and Y is (Y)1,y2,…,yn)T,yiThe amplitude of the ith sampling point of the electrocardiosignal containing noise is more than or equal to 1 and less than or equal to n, and n is 512.
Example 2:
in the step c), the clean electrocardiosignals and the electrocardiosignals with noises are divided into a training set and a testing set according to the proportion of 80 percent and 20 percent respectively.
Example 3:
the step d) comprises the following steps:
d-1) setting a residual dense network model, wherein the residual dense network model is sequentially composed of 2 convolution blocks, 6 MRSB residual blocks, a global-fusion convolution layer and a final convolution layer;
d-2) inputting the noisy electrocardiosignal Y in the training set into a first convolution block through a formula H-1=δ(w-1*Y+b-1) Calculating to obtain the extracted shallow layer characteristic H-1Where δ is the nonlinear activation function, w-1As a convolution filter, b-1For bias, shallow feature H-1Input into the second volume block by formula H0=δ(w0*H-1+b0) Calculating to obtain the extracted shallow layer characteristic H0,w0As a convolution filter, b0Is a deviation;
d-3) forming shallow feature H0Inputting the result into the 1 st MRSB residual block to obtain the output result H1Shallow feature H0And H1Inputting the spliced result into the 2 nd MRSB residual block to obtain an output result H2Shallow feature H0、H1And H2Inputting the spliced result into the 3 rd MRSB residual block to obtain an output result H3Shallow feature H0、H1、H2And H3Inputting the spliced result into the 4 th MRSB residual block to obtain an output result H4Shallow feature H0、H1、H2、H3And H4Inputting the spliced result into the 5 th MRSB residual block to obtain an output result H5Shallow feature H0、H1、H2、H3、H4And H5Inputting the spliced result into the 6 th MRSB residual block to obtain an output result H6The MRSB residual block is composed of 10 convolution blocks in turn, each convolution block is composed of a convolution kernel, a batch normalization process and a nonlinear activation function in turn, the 2 nd convolution block and the 3 rd convolution block form a first residual module, the 4 th convolution block and the 5 th convolution block form a second residual module, the 6 th convolution block and the 7 th convolution block form a third residual module, and the 8 th convolution block and the 9 th convolution block form a fourth residual moduleInputting the output result of the 1 st convolution block into a first residual error module, inputting the output result of the first residual error module into a second residual error module, inputting the output result of the second residual error module into a third residual error module, inputting the output result of the third residual error module into a fourth residual error module, splicing the output result of the first residual error module, the output result of the second residual error module, the output result of the third residual error module and the output result of the fourth residual error module, and then passing through a 10 th 1 x 1 convolution block to obtain the local fusion characteristic;
d-4) reacting H1、H2、H3、H4、H5And H6Inputting the convolution layer of global fusion to carry out global feature fusion after splicing operation to obtain global feature HGb
d-5) combining the global features HGbAnd shallow feature H-1Splicing operation to obtain a global residual HGR
d-6) combining the global residuals HGRInputting a final convolution layer, wherein the final convolution layer is sequentially provided with a convolution layer and a Leaky ReLU activation function structure to obtain a final output electrocardiosignal X after noise reduction*
Example 4:
preferably, in step d-2), both convolution blocks are composed of one convolution layer and one leakage ReLU activation function layer, the convolution kernel sizes of both convolution blocks are set to 3, the step size is 1, padding is set to 1, and the dimensions of both convolution blocks are set to 32.
Example 5:
preferably, the convolution kernel sizes of the 1 st convolution block and the 10 th convolution block in the MRSB residual block in step d-3) are 1 × 1, the step size is 1, the dimension of the convolution kernel is set to 32, the convolution kernel sizes of the 2 nd convolution block to the 9 th convolution block are 1 × 3, the step size is 1, padding is set to 1, and the dimension of the convolution kernel is set to 32.
Example 6:
preferably, the convolution kernel size of the convolution layer in step d-4) is 1 × 1.
Example 7:
the step d) comprises the following steps:
d-1) by the formula
Figure GDA0003614076430000081
Calculating to obtain a loss function L, X*The electrocardiosignals after the noise reduction are processed,
Figure GDA0003614076430000082
is the amplitude of the ith sampling point of the electrocardiosignal after noise reduction, | · | | survival1Is L1 norm, lambda is parameter, lambda is more than or equal to 0.2 and less than or equal to 0.7;
d-2) setting the initial learning rate to be 0.001, the batch size to be 64, the optimization function to be Adam, the iteration times epoch to be 2000, and training a residual error dense network model by using a loss function L. Parameters of the model are updated through an optimization function Adam, and after multiple times of training, the training model and the parameters are stored. Each epoch outputs a training signal-to-noise ratio and training loss, as well as the minimum training loss of all epochs present. And (3) according to the signal-to-noise ratio and the loss function data, properly adjusting and learning the model, thereby gradually improving the learning capability of the model, stopping training if the minimum training loss is not updated within continuous 30 epochs, and storing the model and parameters to obtain the optimized and improved residual error dense network model.
Example 8:
inputting the electrocardiosignals Y with noise concentrated in the test into an optimized and improved residual dense network model to obtain the electrocardiosignals X with noise reduced in the step f)*
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. An electrocardiosignal noise reduction method based on an improved residual error dense network is characterized by comprising the following steps:
a) selecting 48 original clean electrocardiosignals from an MIT-BIH arrhythmia database, and selecting a baseline drift signal, an electrode motion artifact signal and an electromyographic interference signal from an MIT-BIH noise pressure database as noise signals;
b) slicing the original clean electrocardiosignals at every 512 sampling points to obtain m divided samples, normalizing the sampling points in each sample, and adding noise signals into the normalized clean electrocardiosignals with the signal-to-noise ratio of 5dB to obtain noisy electrocardiosignals;
c) dividing the clean electrocardiosignals and the noisy electrocardiosignals into a training set and a testing set respectively;
d) constructing an improved residual error dense network model;
e) optimizing an improved residual dense network model by a loss function;
f) carrying out noise reduction processing on the electrocardiosignals with noise in the test set by using an optimized and improved residual dense network model;
the step b) comprises the following steps:
b-1) by the formula
Figure FDA0003614076420000011
Calculating to obtain a Normalized value Normalized (x) of the ith sampling point in the samplei) In the formula xiIs the amplitude, x, of the ith sample point in the sampleminIs the minimum of the amplitude in the sample, xmaxIs the maximum value of the amplitude in the sample;
b-2) sequentially selecting the normalized samples of the front z slices from each signal for 48 original clean electrocardiosignals to form D samples, selecting a baseline drift signal, an electrode motion artifact signal and a myoelectric interference signal from an MIT-BIH noise pressure database to perform slicing processing according to the ratio of 1:1:1, performing normalization processing on the sliced noise samples to form noise samples with sampling points of 512, and randomly extracting D samples from the normalized noise samples to serve as noise signals F;
b-3) calculating to obtain the electrocardiosignal Y with noise through a formula Y ═ X + F, wherein X ═ X1,x2,…,xn)TX is a clean electrocardiosignal, XiIs the amplitude of the ith sampling point in the sample, i is more than or equal to 1 and less than or equal to n, n is the length of the sample, and Y is (Y)1,y2,…,yn)T,yiThe amplitude of the ith sampling point of the electrocardiosignal containing noise is more than or equal to 1 and less than or equal to n, and n is 512;
the step d) comprises the following steps:
d-1) setting a residual error dense network model, wherein the residual error dense network model is sequentially composed of 2 convolution blocks, 6 MRSB residual blocks, a globally fused convolution layer and a final convolution layer;
d-2) inputting the noisy electrocardiosignal Y in the training set into a first convolution block through a formula H-1=δ(w-1*Y+b-1) Calculating to obtain the extracted shallow layer characteristic H-1Where δ is the nonlinear activation function, w-1As a convolution filter, b-1For bias, shallow feature H-1Input into the second volume block by formula H0=δ(w0*H-1+b0) Calculating to obtain the extracted shallow layer characteristic H0,w0As a convolution filter, b0Is a deviation;
d-3) shallow feature H0Inputting the result into the 1 st MRSB residual block to obtain an output result H1Shallow feature H0And H1Inputting the spliced result into the 2 nd MRSB residual block to obtain an output result H2Shallow feature H0、H1And H2Inputting the spliced result into the 3 rd MRSB residual block to obtain an output result H3Shallow feature H0、H1、H2And H3Inputting the spliced result into the 4 th MRSB residual block to obtain an output result H4Shallow feature H0、H1、H2、H3And H4Inputting the spliced result into the 5 th MRSB residual block to obtain an output result H5Shallow feature H0、H1、H2、H3、H4And H5Inputting the spliced result into the 6 th MRSB residual block to obtain an output result H6The MRSB residual block is composed of 10 convolution blocks in sequence, each convolution block is composed of a convolution kernel, a batch normalization process and a nonlinear activation function in sequence, the 2 nd convolution block and the 3 rd convolution block form a first residual block, the 4 th convolution block and the 5 th convolution block form a second residual block, the 6 th convolution block and the 7 th convolution block form a third residual block, the 8 th convolution block and the 9 th convolution block form a fourth residual block, the output result of the 1 st convolution block is input into the first residual block, the output result of the first residual block is input into the second residual block, the output result of the second residual block is input into the third residual block, the output result of the third residual block is input into the fourth residual block, the output result of the first residual block, the output result of the second residual block, the output result of the third residual block and the output result of the fourth residual block are operated, and then the output result of the 10 th 1 x 1 residual block is processed Rolling up blocks to obtain local fusion characteristics;
d-4) reacting H1、H2、H3、H4、H5And H6Inputting the convolution layer of global fusion to carry out global feature fusion after splicing operation to obtain global feature HGb
d-5) combining the global features HGbAnd shallow feature H-1Splicing operation to obtain a global residual HGR
d-6) combining the global residuals HGRInputting a final convolution layer, wherein the final convolution layer is sequentially provided with a convolution layer and a Leaky ReLU activation function structure to obtain a final output electrocardiosignal X after noise reduction*
2. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 1, wherein the method comprises the following steps: in the step c), the clean electrocardiosignals and the electrocardiosignals with noises are divided into a training set and a testing set according to the proportion of 80 percent and 20 percent respectively.
3. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 1, wherein the method comprises the following steps: in the step d-2), the two convolution blocks are both composed of a convolution layer and a leakage ReLU activation function layer, the convolution kernel sizes of the two convolution blocks are both set to be 3, the step length is 1, padding is set to be 1, and the dimensionalities of the two convolution blocks are both set to be 32.
4. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 1, wherein the method comprises the following steps: the convolution kernel size of the 1 st convolution block and the 10 th convolution block in the MRSB residual block in step d-3) is 1 × 1, the step size is 1, the dimension of the convolution kernel is set to 32, the convolution kernel sizes of the 2 nd convolution block to the 9 th convolution block are 1 × 3, the step size is 1, padding is set to 1, and the dimension of the convolution kernel is set to 32.
5. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 1, wherein the method comprises the following steps: the convolution kernel size of the convolution layer in step d-4) is 1 × 1.
6. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 1, wherein the step d) comprises the following steps:
d-1) by the formula
Figure FDA0003614076420000031
Calculating to obtain a loss function L, X*The electrocardiosignals after noise reduction are processed by the method,
Figure FDA0003614076420000032
is the amplitude of the ith sampling point of the electrocardiosignal after noise reduction, | · | | survival1Is L1 norm, lambda is parameter, lambda is more than or equal to 0.2 and less than or equal to 0.7;
d-2) setting the initial learning rate to be 0.001, the batch size to be 64, the optimization function to be Adam, the iteration times epoch to be 2000, training the residual error dense network model by using the loss function L, stopping training if the minimum training loss is not updated within continuous 30 epochs, and storing the model and parameters to obtain the optimized and improved residual error dense network model.
7. The improved residual error dense network-based electrocardiosignal noise reduction method according to claim 6, wherein the method comprises the following steps: inputting the electrocardiosignals Y with noise concentrated in the test into an optimized and improved residual dense network model to obtain the electrocardiosignals X with noise reduced in the step f)*
CN202111460457.7A 2021-12-01 2021-12-01 Electrocardiosignal noise reduction method based on improved residual error dense network Active CN114129171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111460457.7A CN114129171B (en) 2021-12-01 2021-12-01 Electrocardiosignal noise reduction method based on improved residual error dense network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111460457.7A CN114129171B (en) 2021-12-01 2021-12-01 Electrocardiosignal noise reduction method based on improved residual error dense network

Publications (2)

Publication Number Publication Date
CN114129171A CN114129171A (en) 2022-03-04
CN114129171B true CN114129171B (en) 2022-06-03

Family

ID=80387151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111460457.7A Active CN114129171B (en) 2021-12-01 2021-12-01 Electrocardiosignal noise reduction method based on improved residual error dense network

Country Status (1)

Country Link
CN (1) CN114129171B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115905996B (en) * 2022-09-19 2023-08-08 山东省人工智能研究院 Electrocardiosignal noise reduction method for multi-scale expansion convolution residual error dense network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110974217A (en) * 2020-01-03 2020-04-10 苏州大学 Dual-stage electrocardiosignal noise reduction method based on convolution self-encoder

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10096109B1 (en) * 2017-03-31 2018-10-09 The Board Of Trustees Of The Leland Stanford Junior University Quality of medical images using multi-contrast and deep learning
JP7179757B2 (en) * 2017-04-25 2022-11-29 ザ ボード オブ トラスティーズ オブ ザ レランド スタンフォード ジュニア ユニバーシティー Dose Reduction for Medical Imaging Using Deep Convolutional Neural Networks
WO2020077232A1 (en) * 2018-10-12 2020-04-16 Cambridge Cancer Genomics Limited Methods and systems for nucleic acid variant detection and analysis
WO2020102988A1 (en) * 2018-11-20 2020-05-28 西安电子科技大学 Feature fusion and dense connection based infrared plane target detection method
CN109784242B (en) * 2018-12-31 2022-10-25 陕西师范大学 Electroencephalogram signal denoising method based on one-dimensional residual convolution neural network
CN111184508B (en) * 2020-01-19 2021-05-18 武汉大学 Electrocardiosignal detection device and analysis method based on joint neural network
CN111814656B (en) * 2020-07-02 2021-05-04 山东省人工智能研究院 Electrocardiosignal noise reduction method based on countermeasure generation network
CN112487914B (en) * 2020-11-25 2021-08-31 山东省人工智能研究院 ECG noise reduction method based on deep convolution generation countermeasure network
CN112991199B (en) * 2021-02-08 2024-02-09 西安理工大学 Image high-low frequency decomposition noise removal method based on residual dense network
CN113274031B (en) * 2021-04-30 2023-12-29 西安理工大学 Arrhythmia classification method based on depth convolution residual error network
CN113436089A (en) * 2021-06-15 2021-09-24 山东省人工智能研究院 ECG noise reduction method based on combination of BilSTM and generation countermeasure network
CN113440149B (en) * 2021-07-12 2023-09-29 齐鲁工业大学 ECG signal classification method based on twelve-lead electrocardiograph data two-dimensional multi-input residual neural network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110974217A (en) * 2020-01-03 2020-04-10 苏州大学 Dual-stage electrocardiosignal noise reduction method based on convolution self-encoder

Also Published As

Publication number Publication date
CN114129171A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN111814656B (en) Electrocardiosignal noise reduction method based on countermeasure generation network
CN111046824A (en) Time series signal efficient denoising and high-precision reconstruction modeling method and system
CN107495959A (en) A kind of electrocardiosignal sorting technique based on one-dimensional convolutional neural networks
CN109949235A (en) A kind of chest x-ray piece denoising method based on depth convolutional neural networks
CN111481192B (en) Electrocardiosignal R wave detection method based on improved U-Net
CN111067507B (en) Electrocardiosignal denoising method based on generation of countermeasure network and strategy gradient
CN114129171B (en) Electrocardiosignal noise reduction method based on improved residual error dense network
CN114648048B (en) Electrocardiosignal noise reduction method based on variational self-coding and PixelCNN model
CN111370120B (en) Heart diastole dysfunction detection method based on heart sound signals
CN113888412A (en) Image super-resolution reconstruction method for diabetic retinopathy classification
CN113723171A (en) Electroencephalogram signal denoising method based on residual error generation countermeasure network
CN112806977A (en) Physiological parameter measuring method based on multi-scale fusion network
CN115153588A (en) Electroencephalogram space-time denoising method integrating dense residual error and attention mechanism
CN113935378A (en) ECG noise reduction method based on antagonistic depth full convolution network
CN110327034B (en) Tachycardia electrocardiogram screening method based on depth feature fusion network
CN113033358A (en) Cuff-free blood pressure modeling method based on deep neural network
He et al. Dual attention convolutional neural network based on adaptive parametric ReLU for denoising ECG signals with strong noise
CN111803060B (en) Electrocardio artifact signal removing method and device
CN114757236A (en) Electroencephalogram signal denoising optimization method and system based on TQWT and SVMD
CN113034475B (en) Finger OCT (optical coherence tomography) volume data denoising method based on lightweight three-dimensional convolutional neural network
CN112336369B (en) Coronary heart disease risk index evaluation system of multichannel heart sound signals
CN114171044A (en) Time domain full convolution based deep neural network electronic stethoscope self-adaptive noise elimination method
Samann et al. RunDAE model: Running denoising autoencoder models for denoising ECG signals
Srivastava et al. ECG Pattern Analysis using Artificial Neural Network
NSVN et al. Optimal threshold estimation using cultural algorithm for EMD-DWT based ECG denoising

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