alexa An Approach for ECG Feature Extraction and Classification of Cardiac Abnormalities

ISSN: 2329-6607

Cardiovascular Pharmacology: Open Access

  • Mini Review   
  • Cardiovasc Pharm Open Access 2018, Vol 7(1): 1
  • DOI: 10.4172/2329-6607.1000234

An Approach for ECG Feature Extraction and Classification of Cardiac Abnormalities

Sumathi S*
Mahendra Engineering College, Namakkal, Tamilnadu, India
*Corresponding Author: Sumathi S, Professor, Department of Electrical and Electronics Engineering, Mahendra Engineering College (Autonomous), Namakkal, Tamilnadu, 637001, India, Tel: +91 9443745077, Email: [email protected]

Received Date: Feb 05, 2018 / Accepted Date: Feb 21, 2018 / Published Date: Feb 27, 2018


This inquires about article presents a unused approach to the Programmed location and classification of electrocardiogram (ECG) signals is of tremendous significance for determination of cardiac anomalies. A strategy is proposed here to classify distinctive cardiac variations from the norm like Ventricular Arrythmias, Myocardial infarction, Myocardial hypertrophy and Valvular heart malady. Support Vector Machine (SVM) has been utilized to classify the designs inborn in the highlights extricated through Continuous Wavelet Transform (CWT) of distinctive ECG signals. CWT permits a time space flag to be changed into time-frequency space such that recurrence characteristics and the area of specific highlights in a time arrangement may be highlighted at the same time. Hence it permits precise extraction of highlight from non-stationary signals like ECG. At that point the support vector machine (SVM) with Gaussian part is utilized to classify diverse ECG heart cadence. In the display work, SVM in relapse mode has been effectively applied.

Keywords: ECG characterization; Wavelet transform; Feature mapping; FIR filter; Support vector


The electrocardiogram (ECG) is routinely used in clinical practice, which describes the electrical activity of the heart. In physical checkups at hospitals, physicians record the ECG after the patient has exercised to check his/her cardiac condition. The Holter ECG device is used most frequently for recording the ECG. Physicians apply the device to a patient when they need to monitor his/her ECG to find the few abnormal cycles in the ECG throughout the day. Physicians then interpret the shapes of those waves and complexes. They calculate parameters to determine whether the ECG shows signs of cardiac disease or not. The parameters are the height and the interval of each wave, such as RR interval, PP interval, QT interval, and ST segment. Recognition of the fiducial points and calculations of the parameters is a tedious routine for the physician. Therefore, there is an urgent need for an automatic ECG recognition system to reduce the burden of interpreting the ECG. Various studies have been done for classification of various cardiac arrhythmias [1-4]. In this paper, we propose the combination of wavelet transform and AR model as the feature extraction method, then use the SVM to classify the ECG heartbeat. The proposed approach is validated in the MIT-BIH Arrhythmia Database [5]. Figure 1 shows an ideal ECG wave form. Various studies have been done for classification of various cardiac arrhythmias [1-4]. In this paper, we propose the combination of wavelet transform and AR model as the feature extraction method, then use the SVM to classify the ECG heartbeat. The proposed approach is validated in the MIT-BIH Arrhythmia Database [5-10]. Figure 1 shows an ideal ECG wave form.


Figure 1: Ideal ECG wave form.

Filtering of ECG Signal

ECG signals of the over said illnesses along with the ECG flag of sound people have been collected from the PTB Demonstrative ECG Database The ECG signals have been recorded for 2 minutes and 30 seconds, with a testing recurrence of 1 kHz for the 12 ECG leads. ECG signals are continuously influenced by commotion, pattern float and artifacts. Subsequently it is troublesome to utilize them in the crude shape for classification of malady. Sifting of the ECG signals are hence vital. In arrange to diminish exceptionally moo recurrence as well as the tall recurrence commotions, an FIR band pass channel with the pass band 0.1 -Hz to 90 Hz has been utilized. The fundamental advantage of utilizing an FIR channel is that it minimizes waveform twisting and it moreover has about straight stage relationship. The greatness and stage reactions of the proposed FIR channel are appeared in Figures 2 and 3 appears the unique ECG flag taken from the PTB database and the yield flag of the said FIR channel.


Figure 2: Magnitude and phase responses of the proposed FIR filter.


Figure 3: Three level wavelet decomposition tree.

Wavelet transform

The ECG signals are considered as representative signals of cardiac physiology, which are helpful in diagnosing cardiac disorders. The absolute way to display this information is to perform spectral analysis. The Wavelet Transform (WT) gives very general techniques, which can be implemented to many tasks in signal processing. The ECG signal, consisting of many characteristic points, can be compressed into a few points. These points characterize the behaviour of the ECG signal. This feature of using a lesser number of parameters to represent the ECG signal is particularly important for recognition and diagnostic functions. The WT can be thought of as an extension of the classic Fourier transform, but instead of working on a single scale (time or frequency), it works on a multiple-scale basis. This multiple-scale feature of the WT allows the decomposition of a signal into a number of scales, every scale representing a particular coarseness of the signal under this study. The procedure of multiresolution decomposition of a signal x[n] is schematically shown in Figure 4. Every stage of this scheme consists of two digital filters and two down samplers by 2. The initial filter, the discrete mother wavelet is g[n], high pass in nature, and the second, h[n] is it’s reflect version, lowpass in nature. The down sampled outputs of first high pass and low-pass filters give the detail, d1 and the approximation, a1, respectively. The first approximation, a1 is more decomposed and this process is continued as shown in Figures 2 and 3 [11,12].


Figure 4: Proposed method for ECG beat classification.

ECG database

Physio Bank database is a large and growing archive of wellcharacterized digital recordings of physiological signals and related data for use by the biomedical research community. The databases of MIT-BIH Arrhythmia Database, MIT-BIH Atrial Arrythmia Database and Malignant Ventricular Arrhythmia Database were used for the analysis.

Theory of SVM

The SVM technique was originally proposed essentially for classification problems of two classes but was found to be useful to deal with non-linearly separable cases too. Given a set of points which belong to either of two classes, a linear SVM finds the hyperplane leaving the largest possible fraction of points of the same class on the same side, while maximizing the distance of either class from the hyperplane [5-10].






And by further classification according to the possible combination of alpha and yi . We can have:



Material and Methods

The block diagram of the proposed method for ECG beat classification shown in Figure 4. This method is separated into three steps:

• Pre Processing

• ECG Preprocessing

• Classification by SVM


Clinical ECG recordings experience a few stages of filtering in an attempt to decrease the noise. Each commotion source dwells in a characteristic recurrence band. Destitute conductance between skin and cathode makes gradually changing possibilities which shows as standard meander in the ECG. The output function of this WT will be our filtered signal. Ψ(t) , given in the equation (1). The parameters of this filtering are the attenuation factor f, and the basic frequency f.

Equation          (1)

β - Attenuation factor, f - base frequency, Ψ(t) - Wavelet Transform, λ - DC factor eliminator

Our goal is to find those parameter values and contribute the most to a good QRS detection ratio. The value of these parameters will be chosen so that it assures all the significant parts of the sum defined in Equation (1), but it eliminates all additional calculations for the attenuated part of the signal, that hardly influences the result. Elimination of this low and high frequency components from the signal using the filters is the concrete effect of the wavelet filtering shown in Figures 5-7.


Figure 5: Decomposition of symlet Wavelet-original signal.


Figure 6: Denoised signal.


Figure 7: Scalogram from a clinical ECG recording using Symlet Wavelet.

In this article, the Gaussian kemel is used as the kernel function. Classification consists of two steps: learning and testing. Our classifier is a learning machine of the supervised type and Multicategory SVM (MC-SVM). Firstly, all ECG segments that contain a special type heartbeat are mapped into feature space using wavelet and AR model which have been explained above. In the learning phase, SVM receives some patterns as input. These patterns are heartbeats represented by m feature parameters that can be seen as points in rn-dimensional space. Then the machine becomes able to find the labels of new vectors by comparing them with those used in the learning phase.

Results and Discussion

In this article, the Gaussian kemel is utilized as the research work. Classification comprises of two steps: learning and testing. Our classifier is a learning machine of the administered sort and Multicategory SVM (MC-SVM). Firstly, all ECG fragments that contain a extraordinary sort pulse are mapped into highlight space utilizing wavelet and AR show which have been clarified over. In the learning stage, SVM gets a few designs as input. These designs are heartbeats spoken to by m highlight parameters that can be seen as focuses in rn-dimensional space. At that point the machine gets to be able to discover the names of modern vectors by comparing them with those utilized in the learning phase (Table 1).

Type of Arrhythmia Training Data Testing Data Mis Classification Classification Accuracy (%)
VT 75 30 1 94.33
VF 95 40 1 97.00
VFLU 85 35 1 94.11
Myocardial infarction 95 40 1 97.00
Myocardial hypertrophy 85 35 1 94.11
Total 430 185 7 98.24

Table 1: Measurements based on ECG signals.

The objective of this study is to model single-lead ECG signals for extricating classifiable highlights in arrange to improve the classification comes about utilizing wavelet and AR demonstrating. The wavelet change investigation gives strong highlights in nearness of foundation ceaseless commotion. Prevailing and critical highlights in the ECG information are extricated to supply strong data recovery for classification. AR coefficients are too be utilized to extricate the include of ECG information. Since of the diminished measurements of include vectors, the classification can be done rapidly. The test comes about appear using wavelet show together can result in tall precision of classification.


Citation: Sumathi S (2018) An Approach for ECG Feature Extraction and Classification of Cardiac Abnormalities. Cardiovasc Pharm Open Access 6: 234. Doi: 10.4172/2329-6607.1000234

Copyright: ©2018 Sumathi S. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

Select your language of interest to view the total content in your interested language

Post Your Comment Citation
Share This Article
Recommended Conferences
  • 3rd International Conference on Cardiovascular Medicine and Cardiac Surgery

    July 05-06, 2018 Berlin, Germany

  • 25th Annual Congress on Cardiology and Medical Interventions

    July 16-17, 2018 Atlanta, USA

  • 6th Global Experts Meeting on Cardiology and Cardiovascular Pharmacology

    September 24-25, 2018 Tokyo, Japan

  • Current and Future trends in Cardio Vascular Diseases: Research and Outcomes

    October 05-06, 2018 Los Angeles, USA

Article Usage
  • Total views: 376
  • [From(publication date): 0-2018 - Jun 19, 2018]
  • Breakdown by view type
  • HTML page views: 332
  • PDF downloads: 44

Post your comment

captcha   Reload  Can't read the image? click here to refresh
Leave Your Message 24x7