Professional Documents
Culture Documents
-2016
Abstract— The electrocardiogram is a technique of recording bioelectric currents generated by the heart which is useful for
diagnosing many cardiac diseases. The feature extraction and de-noising of ECG are highly useful in cardiology. And
baseline wander elimination is considered as a traditional problem. So this paper deals with the noise removal and feature
extraction of the signal. This baseline wander noise is removed by Butterworth filter. We present a wavelet-transform (WT)
based search algorithm. The algorithm computes wavelet packet coefficients and then in each scale the different nine features
of the signal is calculated. Comparison is made between the characteristics of signals and the branch of the wavelet binary
tree corresponding to minimum entropy wavelet spaces is chosen. This algorithm is tested using the data record from
MIT/BIH database for arrhythmia disease categorized into normal and abnormal and excellent results are obtained.
Keywords—ECG signal, de-noising, feature extraction, MIT database, wavelet packet decomposition.
38
International Journal Of Electrical, Electronics And Data Communication, ISSN: 2320-2084 Volume-4, Issue-9, Sep.-2016
features. According to [2]one is taken as normal and decomposition tree obtained at the 4th level of the
another is abnormal. decomposition and data for node (4,15) means data at
4th level and 15th coefficient of decomposition.
III. PREPROCESSING Shannon entropy based criterion is used to find this
feature. Fourth level decomposition coefficients are
This process is the first and very vital stage of signal used to extract the features.
processing, in which it is necessary to eliminate
noises from the signal by using appropriate filters. IV. FEATURE EXTRACTION
For pre-processing of the ECG signal, noise
elimination comprisesvarious approaches for many The pre-processed ECG signal is highly non-linear
noises [11]. This preprocessing of ECG signal is and requires statistical feature extraction methods to
ended before extracting the features, which results in extract the features from the ECG signal. The Short
accurate features to increase the efficiency of the Time Fourier Transform (SFT) and Fast Fourier
system. Preprocessing of ECG signal contains of de- Transform (FFT) has been used by numerous
noising of ECG signal and baseline wander removal researchers for ECG signal processing. However,
using Butterworth filter. there are some limitations are still existing in FFT
due to its dearth of response of time information's
3.1. Baseline wander removal while analyzing it in frequency domain and vice versa
This type of noise artifacts that generally affects ECG [5]. In order to come over this limitation, the time
signals is baseline wandering. Generally it appears frequency domain (TFD) analysis is required, which
from respiration and deceits between 0.15Hz and is carried out by using the discrete wavelet transform,
0.3Hz [3]. It is necessary to eliminate this noise in empirical mode decomposition (EMD), Smoothed
order to do ECG signal processing and to remove the Pseudo Wigner-Ville Distribution (SPWVD) and etc,
irregularities from the signal.Electrode and are used to derive the time and frequency domain
respiration factors varies due to patient are vital features. In this, we have used DWT with "db4" one
sources of this baseline wander in most of the ECGs of the wavelet function which calculates statistical
recordings. In this, the baseline wander of ECG is features. Because the wavelet characteristics of “db4”
removed by first packingthe signal taken from looks like ECG signal and it has been used by some
database then smoothen the data by using researchers on ECG signal analysis and for de-
Butterworth filter of order 10[9]. This is a digital noising[10]. In order to extract features, some
filter which has good efficiency and simple to use. statistical properties are used.
Also it gives better result. It generates the coefficients
known as Butterworth coefficients which helps in 4.1 Features
removing the noise [7]. As signal is decomposed to determine its features.
Statistical and non- statistical properties such as
3.2 Wavelet packet decomposition energy, mean, median, entropy, standard deviation,
Wavelet packet analysis is used to determine features skewness, kurtosis, covariance is calculated from the
of the non-stationary likeECG signal and this is the coefficients which is generated after decomposition to
best method for finding features from ECG signal as create the feature set [4]. All algorithm are developed
it decomposed the signal at various level in different in the MATLAB environment with wavelet. The
frequency bands. Wavelet transform gives time- coefficients Cik at 4th level of decomposition are used
frequency representation of a signal and it gives to calculate the features by using following standard
better resolution [7]. Wavelet packet decomposition equations;
analysis is a generalor effective form of the DWT, in Energy, = (1)
which signal is riven into approximation and detailed Standard deviation, σi =
coefficients. The approximation coefficients is again
riven up into a second level approximation and ( − i)2 (2)
detailed coefficients, and this process is repeated till Mean I = ∑ (3)
we want get result. There are k+1 possible ways to ( )
encrypt the signal for the k-level decomposition [3]. Kurtosis,KURi= (4)
The signal is de-noised bylow and high pass filter ( )
Skewness, SKi= (5)
called quadrature mirror filters. In wavelet packet
analysis approximation and detailed coefficients can Entropy, ENi=∑ log ( ) (6)
be formed like a complete binary tree structure. This Median, MEDi=∑ (7)
decomposition process applies at both low and high Covariance, COV= E[(Cik – ik)…(Cn– n )] (8)
frequency sub – bandsto create next level in the Variance, VAR = (σi2 ) (9)
binary tree, it produces more than 22k-1 different ways
to encode the signal. For each level k, there are 2k-1 The coefficients Cikis the decomposition coefficient.
number of nodes remained after wavelet packet Here i=1,2,…,l is the node number at 4th level of
decomposition [3]. Fig 1shows the wavelet packet decomposition. N is the number of coefficients at
De-noising and Statistical Feature Extraction of the ECG Signal Using Wavelet Analysis
39
International Journal Of Electrical, Electronics And Data Communication, ISSN: 2320-2084 Volume-4, Issue-9, Sep.-2016
0
0 2 4 6 8 10 12 14 16
(e)
11
x 10 entropy plot
1
0
-1
0 2 4 6 8 10 12 14 16
mean plot
1000
0
-1000
0 2 4 6 8 10 12 14 16
5
x 10 variance plot
2
Fig1. Wavelet tree 1
0
0 2 4 6 8 10 12 14 16
V. RESULTS
(f)
Original and noisy signal Figure2: signal of record 105 (normal) database and its
1400
characteristics
Amplitude
1200
Original and noisy signal
1300
1000
1200
Amplitude
800 1100
0 500 1000 1500 2000 2500 3000 3500 4000
No. of samples
1000
(a) 900
Denoised signal 0 500 1000 1500 2000 2500 3000 3500 4000
3000 No. of samples
(a)
A m plitude
1500
0
0 500 1000 1500 2000 2500 3000 3500 4000 1000
No. of samples
500
(b) 0 500 1000 1500 2000 2500 3000 3500 4000
Wavelet packet decomposition No. of samples
180.00
(b)
WWavelet packet indices - Frequential order
23
24
26
Wavelet packet decomposition
WWav elet pack et indic es - Frequential order
144.00 25 180.00
23
29 162.00 24
30 26
108.00 28 144.00
Freq (Hz)
25
27 29
126.00
19 30
72.00 20 108.00 28
Freq (Hz)
22 27
21 90.00
19
36.00 17 72.00 20
18 22
16 54.00 21
15 17
0.00 36.00
1.389 2.778 4.167 5.556 6.944 8.333 9.722 18
Time (secs) 18.00 16
15
(c) 0.00
1.389 2.778 4.167 5.556 6.944 8.333 9.722
kurtosis plot
Time (secs)
20
(c)
10 standard deviation plot
400
0
0 50 100 150 200 250
skewness plot 200
5
0 0
0 2 4 6 8 10 12 14 16
5
-5 x 10 covariance plot
0 50 100 150 200 250
2
median plot
10
1
0
0
-10 0 2 4 6 8 10 12 14 16
0 50 100 150 200 250
(d)
(d)
De-noising and Statistical Feature Extraction of the ECG Signal Using Wavelet Analysis
40
International Journal Of Electrical, Electronics And Data Communication, ISSN: 2320-2084 Volume-4, Issue-9, Sep.-2016
0
0 50 100 150 200 250 REFERENCES
skewness plot
5
0
[1] AsutoshKar, Leena Das “A Technical Review on Statistical
Feature Extraction of ECG signal” ,IJCA Special Issue on
-5
0 50 100 150 200 250 “2nd National Conference- Computing, Communication
median plot and Sensor Network” CCSN, 2011
10
[2] Mohammad Ali Tinati and BehzadMozaffary, “A Wavelet
0 Packets Approach to Electrocardiograph Baseline Drift
-10 Cancellation”, Hindawi Publishing Corporation
0 50 100 150 200 250
International Journal of Biomedical Imaging Volume
2006.
(e) [3] Harimohanrai, Anurag Trivedi, Shailja Shukla, “ECG
11
x 10 entropy plot signal processing for abnormalities using multi-resolution
1
0 wavelet transform and artificial neural network classifier”,
-1 Deptt of Electrical Engg, Jabalpur Engineering College,
0 2 4 6 8 10 12 14 16
mean plot Jabalpur, MP, India.
1000
[4] RohtashDhiman, J S Saini, Priyanka,”genetic algorithm
0
-1000 tuned expert model for detection of epileptic seizures from
0 2 4 6 8 10 12 14 16
5
variance plot
EEG signatures”, Electrical EnggDeptt,
x 10
2 Deenbandhuchhotu Ram University of science &
1
0
technology, Murthal, District Sonipat, Haryana, India.
0 2 4 6 8 10 12 14 16 [5] P karthikeyan, M Murugappan, S Yaacob, “ECG Signals
Based Mental Stress Assessment Using Wavelet
(f) Transform”, 2011 IEEE International Conference on
Figure 3: signal of record 118(abnormal) database and its Control System, Computing and Engineering.
characteristics [6] Eduardo José da S. Luz, William Robson Schwartz,
Guillermo Cámara Chávez, David Menotti, “ECG-based
CONCLUSION Heartbeat Classification for Arrhythmia Detection: A
Survey”, Computer Methods and Programs in
Biomedicine.
In this paper, we have extracted nine features of the [7] ShaoyuQiao, Ping Zhou “Wavelet and wavelet packet
signal which determines the characteristics of the transform analysis in the ECG signals ofAtrial
signal. These features tells the difference between the Fibrillation” 2007 IEEE/ICME international conference
two signals. As these features gives information on complex medical engineering.
[8] Fatin A. ElhajNaomieSalimArief R. Harris Tan
which helps us to find the condition of the signal i.e TianSweeTaqwa Ahmed “Arrhythmia Recognition and
normal or abnormal. These features have the different Classification using Combined Linear and Nonlinear
values in both the signals which tells us about the Features of ECG Signals”, Computer Methods and
condition. So these non-statistical have great Programs in Biomedicine (2016).
[9] R. Rodrígueza, A. Mexicanob, J. Bilac, S. Cervantesd, R.
significance in this biomedical research. Ponceb “Feature extraction of electrocardiogram signals
by applying adaptive threshold and principal component
FUTURE SCOPE analysis”, journal of Applied Research and Technology 13
(2015) 261-269.
[10] G. Ranganathan, et al., "ECG Signal Processing Using
The data is taken from the MIT database for analysis. Dyadic Wavelet for MentalStress Assessment," in
So after extracting the features of the signal they can Bioinformatics and Biomedical Engineering (iCBBE),
be classified using non-linear classifier like SVM, 2010 4th International Conference on, 2010, pp. 1-4.
KNN. Two different types of signal are taken normal [11] B. Jagadiswara Rao, A. Usharani “Enhancement of ECG
Signal by using Digital FIR Filter”,Department of
and abnormal in their conditions. These signals can Electronics and Communication, Vignan‟s Institute of
be classified using classifier and accuracy and Information Technology, Visakhapatnam, India.
De-noising and Statistical Feature Extraction of the ECG Signal Using Wavelet Analysis
41