Literature DB >> 22606664

Arrhythmia Detection based on Morphological and Time-frequency Features of T-wave in Electrocardiogram.

Elham Zeraatkar1, Saeed Kermani, Alireza Mehridehnavi, A Aminzadeh, E Zeraatkar, Hamid Sanei.   

Abstract

As the T-wave section in electrocardiogram (ECG) illustrates the repolarization phase of heart activity, the information which is accumulated in this section is so significant that it can explain the proper operation of electrical activities in heart. Long QT syndrome (LQT) and T-Wave Alternans (TWA) have imperceptible effects on time and amplitude of T-wave interval. Therefore, T-wave shapes of these diseases are similar to normal beats. Consequently, several T-wave features can be used to classify LQT and TWA diseases from normal ECGs. Totally, 22 features including 17 morphological and 5 wavelet features have been extracted from T-wave to show the ability of this section to recognize the normal and abnormal records. This recognition can be implemented by pre-processing, T-wave feature extraction and artificial neural network (ANN) classifier using Multi Layer Perceptron (MLP). The ECG signals obtained from 142 patients (40 normal, 47 LQT and 55 TWA) are processed and classified from MIT-BIH database. The specificity factor for normal, LQT, and TWA classifications are 99.89%, 99.90%, and 99.43%, respectively. T-wave features are one of the most important descriptors for LQT syndrome, Normal and TWA of ECG classification. The morphological features of T-wave have also more effect on the classification performance in LQT, TWA and normal samples compared with the wavelet features.

Entities:  

Keywords:  ECG; T-wave; feature extraction; morphology; neural network; wavelet

Year:  2011        PMID: 22606664      PMCID: PMC3342620     

Source DB:  PubMed          Journal:  J Med Signals Sens        ISSN: 2228-7477


INTRODUCTION

The long QT syndrome (LQTs), T-wave alternans (TWA), and ventricular tachyarrhythmia (VT) are some of the common cardiac diseases which cause sudden cardiac death (SCD) in the world.[12] Many studies have been developed to detect an abnormal sinus ECG based on the features of ECG signal. Most of these articles use QRS complex to indentify the arrhythmia of the heart. One of the traditional methods has been performed by Jain[3] that digitized and represented each ECG lead by its z-domain modes to enhance the discrimination of the subtle changes in P, QRS, and T sections, the derivatives of the waves are employed for extraction of the modes. Lin et al.[4] used linear prediction to extract features from QRS complexes. Osowski et al.[5] applied fuzzy neural network to ECG beat recognition and classification and the features drawn from the higher order statistics have been proposed in the study. Also Engin[6] performed similar method and used autoregressive model coefficients, higher-order cumulant, and wavelet transform variances as features to enhance the performance. Jekova et al.[7] implemented four different classifiers based on 26 morphological features which have been extracted from lead I, II, and the Frank Leads or vector cardiograph (VCG) trajectory signals, such as area, slopes, peaks, time intervals, and VCG diagram in QRS complex. Asl et al.[8] presented an effective cardiac arrhythmia classification algorithm based on the generalized discriminant analysis (GDA) to reduce feature scheme using support vector machine (SVM) classifier. Initially, 15 different linear and nonlinear features have been extracted from QRS complex and then reduced to only 5 features by the GDA technique. Vaglio et al.[9] and Couderc et al.[10] implemented a computer algorithm to identify the differentiation of LQT1 and LQT2 carriers’ base on T-wave morphology features, such as the Q to T-peak (QT-peak), the T-peak to T-end interval, T-wave magnitude, and T-loop slopes in these studies. In recent works,[1112] simulated and synthetic TWA signals were generated. These augmented beats were detected using wavelets and 91% sensitivity was achieved. In other studies, wavelet/FFT[13] and correlation/FFT methods[14] were also considered. The novelty of this work can be explained as follows. In this study, diseases are recognized from the beats that seem normal (sinus ECG), but in fact, they belong to LQT or TWA classes. However, other works only classify heartbeat types.[11-14] Consequently, previous studies are not comparable with this approach. In this article, diseases are classified by the following procedures: Pre-processing, QRS-complex detection, T-wave detection, features extraction from T-wave section (morphological and wavelet coefficients), and classification using MLP artificial neural networks.

METHOD

Arrhythmia detection algorithm is implemented as follows: (a) recalling suitable ECG database; (b) pre-processing; (c) QRS-complex detection; T-wave detection; (d) feature extraction from T-wave; and (e) MLP classifier as shown in Figure 1.
Figure 1

Block diagram of algorithm

Block diagram of algorithm

ECG Database and Pre-processing

In this article, the MIT/BIH database[15-17] has been chosen with 40 normal records, 47 LQT syndrome records, and 55 sets of TWA arrhythmia from 142 ECG recordings Lead I with 128Hz, 250Hz, and 500Hz sampling rate, respectively. Before applying detections, feature extraction and classifying procedure in this experiment, several pre-processings are necessary to obtain an appropriate result and reduce errors in processing and detection phases. Most common artifacts and drifts appear by 50 Hz of 60 Hz power line interface, muscle contractions of electromyography noise (EMG), baseline drift and ECG amplitude modulation with respiration, and ECG corruption with abrupt baseline shift.[18] To avoid these disturbances, the following filters are applied: To eliminate power line effect a notch filter[19] has been developed with the following transfer function: Where z1 = cos(ω0)+ jsin(ω0)      (2) And z2 = cos(ω0)– jsin(ω0)      (3) are the zeros of transfer function and p1 = k[cos(ω0)+ jsin(ω0)]      (4) And p2 = k[cos(ω0)– jsin(ω0)]      (5) are the poles of the transfer function with pole/zero ratio k=0.9, cutoff frequency ω0=±[ f ]×(2πr), center frequency f = 50 Hz and sampling rate f. To reduce the effect of EMG noise, a discrete Butterworth filter with order 8 and cutoff frequency f = 70 Hz and sampling rate f. For decreasing the amount of ECG baseline drift with respiration the following method is applied:[20] Computing median of the ECG Shifting ECG by this median value Fitting a 4th degree polynomial to the shifted ECG Shifting ECG by this calculated polynomial Detecting the R peaks of ECG Computing median of each RR interval the ECG Shifting each RR interval by its median value For ECG corruption with abrupt baseline shift the algorithm mentioned in part(c) is also applied to the ECG signal. Noise reduction and robustness of implemented algorithm with above artifacts have been discussed in another study.[21]

QRS Complex Detection

In this section, the QRS complexes of the ECG are detected and eliminated form overall ECG to prepare the signal for T-wave detection. This will be implemented by the following steps:[22] Recall ECG signal S(n) and compute square of this signal after pre-processing: TS(n) = S(n)*S(n)      (6) Evaluate the steepest windowed gradient of TS1(n) by using a rectangular sliding window with 11 points from sample n-5 to n+5: G1(n) = TS1max(w)-TS1min(w)      (7) Smooth the signal by using a moving average method from sample n-5 to n+5 with center n: Normalize the following values by their respective maximum peak amplitude: S(n), TS1(n), G1(n) and FG1(n). Transform the ECG signal by a sigmoid function: Evaluate the steepest windowed gradient of TS2(n) by using a rectangular sliding window with 11 points from sample n-5 to n+5. G2(n) = TS2max(w)-TS2min(w)      (10) and smooth it to FG2(n) like step 3. Normalize the following values by their respective maximum peak amplitude: TS2(n), G2(n) and FG2(n). Multiply by ECG with FG2(n): TS3(n) = FG2(n)*S(n)      (11) Evaluate the steepest windowed gradient of TS3(n) by using a rectangular sliding window with 11 points from sample n-5 to n+5. G3(n) = TS3max(w)-TS3min(w)      (12) and smooth it to FG3(n). Normalize the following values by their respective maximum peak amplitude: TS3(n), G3(n) and FG3(n). Compute: TS4(n) = FG1(n)+ FG3(n)      (13) Shift the resulting signal by median ‘m’: TS4m(n) = TS4(n)-m      (14) Normalize TS4m(n) as: Pre_F(n) = TS4m(n)/max(abs(TS4m(n)))      (15) F(n) is derived by retaining the amplitude values of Pre_FQ exceeding 5% of its maximum peak amplitude and reducing the remaining to zero: C is the proposed feature signal employed for identifying QRS out of ECG signal. This signal is digitalized version of F(n):

T-Wave Detection

To extract features from T-wave section of ECG signal the interval of T-wave segments should be separated from other parts of signal. There are several methods to detect this section.[23-26] One of the latest approaches can be done by the following steps after eliminating negative values and QRS parts of ECG signal in each of the following steps: fc1: Feature #1 is calculated from the first derivative of ECG signal fc2: Feature #2 is calculated from filtered gradient, which means the ECG signal passes through a sigmoid function, windowed gradient, and smoothed by a moving average window fc3: Feature #3 is calculated from the product of filtered gradient ECG and fc2 fc4: Feature #4 is calculated from the combination of fc1, fc2, fc3 and absolute value of ECG: [fc1+fc2+fc3+|S(n)]*|S(n)| fc5: Feature #5 is calculated from another combination of fc1, fc2, fc3 and absolute value of ECG: fc1+fc2+fc3+|S(n)|. Then the summation of these five features is computed by the following formula: Pre_F(n)=fc1(n)+ fc2(n)+ fc3(n)+ fc4(n)+ fc5(n)      (18) Finally the main feature will be computed by: The values greater than 2% of the maximum of this feature will show the P-wave and T-wave regions in ECG which is marked as pulses. The pulses occur before QRS complexes indicate P-waves and the pulses after QRS shows T-waves as depicted in Figure 2. The details and exact formulation of this procedure can be found in articles.[27]
Figure 2

QRS-Complex and T-Wave separating pulses

QRS-Complex and T-Wave separating pulses

Feature Extraction

Detecting T-waves from ECG signal prepares the field to extract necessary descriptors from these parts of signal. Totally, 22 features have been considered and extracted from T-wave which consist of two fundamental types of features; There are 17 morphological features and 5 wavelet features. Morphological features include amplitude of T-wave, static and dynamic rising and falling slopes, areas of rising and falling segments, five slopes and five areas respect to split falling segment of T-wave into five sections. The other type of features is variances of Daubechies wavelet coefficients which decomposed T-wave segment into five levels. These features have been summarized in Table 1 and shown in Figure 3a–d. As it is evident in Figure 4, the T-wave of three classes (normal, LQT, and TWA) are very similar together and cannot recognize simply. For this reason, 22 features are selected to classify these types from each other.
Table 1

Feature description extracted from T-wave

Figure 3

Some morphological features extracted from T-Wave. (a) Dynamic slopes and infection points of T- wave; (b) Static slopes of T-wave; (c) Rising and falling areas of T-wave; (d) Falling area and slopes of T-wave separating to seqments

Figure 4

Typical wave forms from T-wave section of (a) Normal (b) LQT and (c) TWA

Feature description extracted from T-wave Some morphological features extracted from T-Wave. (a) Dynamic slopes and infection points of T- wave; (b) Static slopes of T-wave; (c) Rising and falling areas of T-wave; (d) Falling area and slopes of T-wave separating to seqments Typical wave forms from T-wave section of (a) Normal (b) LQT and (c) TWA

Classification

The classification of diseases is based on Multi Layer Perceptron (MLP) using Artificial Neural Network (ANN)[2829] with 22 neurons at input, 14 at hidden layer, and one at output which generates 3 integer numbers for 3 classes. All of the 22 features have been scaled and applied to the input of ANN are used and implemented to an appropriate ANN architecture for training and testing as shown in Figure 5. The output of network is determined as normal, LQT, and TWA abnormalities.
Figure 5

MLP neural network architecture

MLP neural network architecture

RESULTS

The discussed approach is simulated and applied to normal and abnormal TWA and LQT databases of MIT/BIH arrhythmia recordings. The input vectors, which are developed from T-wave features of ECG, are collected and separated into two parts for training and testing the MLP neural network. There are 22 scaled and extracted features containing 17 morphological and 5 wavelet features. Since the T-wave part of an ECG, specially falling interval, illustrates the repolarization phase of heart activity, the information which is accumulated in this section is so significant that it can explain the proper operation of electrical activities in heart. Therefore, these features are rich descriptors for heart performance. The MIT-BIH database[15-17] has been chosen for implementation of the algorithm in this study. The samples have been taken from three ECG types totally 142 records with the following properties: MIT-BIH Normal Sinus Rhythm Database (40 records, 128Hz sampling rate); The QT Database (47 records, 250Hz sampling rate); T-Wave Alternans Challenge Database (55 records, 500Hz sampling rate). The learning process to train MLP neural network has been implemented with three different learning sets: 50, 60, and 70% heartbeats of total recordings. For estimating the performance of discussed approach, three different feature vectors have been developed and tested: Only wavelet features, only morphological features, and both features together. Finally, four performance indices based on ROC (Receiver Operating Characteristics) were computed for normal and abnormal classes: sensitivity (Se), specificity (Sp), positive predictive value (PPV) and negative predictive value (NPV). They are calculated according to the following relations:[30] where TP are the number of true positives, TN are true negatives, FP are false positives, and FN are false negatives. The results are representation listed in Tables 2–4 according to different learning sets and descriptor vectors. As it is evident in the results, the network performance differs by changing learning sets and changing the types of features.
Table 2

Testing results for normal ECG signal

Table 4

Testing results for TWA ECG signal

Testing results for normal ECG signal Testing results for LQT ECG signal Testing results for TWA ECG signal The statistical measurements for three features have been depicted in Figure 6 to show the ability of features for the classification of diseases. This describes that the morphological properties, such as falling area and falling slope of T-wave, have different distribution, mean, and variance and can be used for ECG classification.
Figure 6

Statistical distribution for three features: 5th falling area, 5th falling slope and 1st wavelet coef

Statistical distribution for three features: 5th falling area, 5th falling slope and 1st wavelet coef

CONCLUSIONS

In previous biomedical studies, detecting normal and abnormal beats are considered by applying several methods. These procedures verify the variations of one beat against others to find out abnormal beats. Regarding the new suggestions of cardiologists, some diseases, such as LQT and TWA, have imperceptible effect on time and amplitude of T-wave interval. In contrary to previous articles, in this work, disease detection (LQT syndrome and TWA) has been performed using apparently normal beats. In some researches, several algorithms have been developed for T-wave detection. The accuracy reported in these articles is satisfactory.[24-26282931] In this study, the T-wave detection based on threshold method developed in[28] with 96.98% accuracy is used. This performance is more accurate compared with other methods. According to the achieved results, it is obvious that T-wave features in sinus ECG signals have the capability to separate these diseases. Since the falling slope of the T-wave is associated with the repolarization phase of heart activity and preparing of heart muscles for next oscillation, this section contains significant morphological descriptors and has the necessary information to classify heartbeats. The specificity of mentioned approach depends on the quantity of learning set and feature types for neural network training. The morphological features of T-wave have also more effect on the classification performance in LQT, TWA, and normal samples compared with wavelet features.

BIOGRAPHIES

Elham Zeraatkar received her B.S. Degree in Electrical Engineering from Shariati Technical University (Iran) in 2004 and her M.Sc. degree in Biomedical Engineering from Departments of Physics and Biomedical Engineering, Isfahan University of Medical Sciences, Isfahan. Her interest is in biomedical signal processing, Fuzzy logic and Neural Network. Saeed Kermani obtained his BS from the Department of Electrical Engineering of Isfahan University of Technology in Isfahan, Iran, 1987, and he received the MS in Bioelectric Engineering from Sharif University of Technology, in 1992 and his PhD in Bioelectric Engineering at AmirKabir University of Technology, Tehran, Iran, in 2008. He is Assistant Professor of Medical Engineering at the Department of Medical Physics and Medical Engineering in the School of Medicine of Isfahan University of Medical Sciences, Iran. His research interests are in biomedical signal and image processing techniques Alireza Mehridehnavi was born in Isfahan province at 1961. He had educated in Electronic Engineering at Isfahan University of Technology at 1988. He had finished Master of Engineering in Measurement and Instrumentation at Indian Institute of Technology Roorkee (IIT Roorkee) in India at 1992. He has finished his PhD in Medical Engineering at Liverpool University in UK at 1996. He currently is an Associate Professor of Medical Engineering at Medical Physics and Engineering Department in Medical School of Isfahan university of Medical Sciences. A. Aminzadeh received his B.S. Degree in Electrical Engineering from Shiraz University (Iran) in 2000 and his M.Sc. degree in Control Engineering from Shiraz University in 2003. He has worked in a number of projects related to Real-Time Control, Multiple-Modeling and Heating-Plants. His current research interests include Classification of Biomedical Signals, Neural Networks, Electronic Control Unit of Internal Combustion Engines and Navigation Systems. E. Zeraatkar received his B.S. Degree in Control Engineering from Shiraz University (Iran) in 2008 and his M.Sc. degree in Control Engineering from Shiraz University in 2012. His interest is in optimizing convergence in numerical methods such as Neural Networks. Recently he is focused on biomedical signal processing and classification methods for such signals. Hamid Saneei obtained his MD in 1987, then graduated as a specialist in internal medicine and got his fellow in cardiovascular disease respectively in 1990 and 1996 Isfahan University of Medical Sciences, Iran. He is Associate Professor of cardiology and head of internal medicine department in the School of Medicine of Isfahan University of Medical Sciences, Iran. His research interests are cardiac signal, image and interventional cardiology.
Table 3

Testing results for LQT ECG signal

  12 in total

1.  Automatic detection of the electrocardiogram T-wave end.

Authors:  I K Daskalov; I I Christov
Journal:  Med Biol Eng Comput       Date:  1999-05       Impact factor: 2.602

2.  Explaining the T-wave shape in the ECG.

Authors:  D di Bernardo; A Murray
Journal:  Nature       Date:  2000-01-06       Impact factor: 49.962

3.  ECG beat recognition using fuzzy hybrid neural network.

Authors:  S Osowski; T H Linh
Journal:  IEEE Trans Biomed Eng       Date:  2001-11       Impact factor: 4.538

4.  Basic principles of ROC analysis.

Authors:  C E Metz
Journal:  Semin Nucl Med       Date:  1978-10       Impact factor: 4.446

5.  A quantitative assessment of T-wave morphology in LQT1, LQT2, and healthy individuals based on Holter recording technology.

Authors:  Martino Vaglio; Jean-Philippe Couderc; Scott McNitt; Xiaojuan Xia; Arthur J Moss; Wojciech Zareba
Journal:  Heart Rhythm       Date:  2007-08-28       Impact factor: 6.343

6.  A comparison of the noise sensitivity of nine QRS detection algorithms.

Authors:  G M Friesen; T C Jannett; M A Jadallah; S L Yates; S R Quint; H T Nagle
Journal:  IEEE Trans Biomed Eng       Date:  1990-01       Impact factor: 4.538

7.  Assessment and comparison of different methods for heartbeat classification.

Authors:  I Jekova; G Bortolan; I Christov
Journal:  Med Eng Phys       Date:  2007-03-26       Impact factor: 2.242

8.  Repolarization morphology in adult LQT2 carriers with borderline prolonged QTc interval.

Authors:  Jean-Philippe Couderc; Scott McNitt; Jean Xia; Wojciech Zareba; Arthur J Moss
Journal:  Heart Rhythm       Date:  2006-08-10       Impact factor: 6.343

9.  T-wave alternans found in preventricular tachyarrhythmias in CCU patients using a wavelet transform-based methodology.

Authors:  Iñaki Romero; Neil R Grubb; Gareth R Clegg; Colin E Robertson; Paul S Addison; James N Watson
Journal:  IEEE Trans Biomed Eng       Date:  2008-11       Impact factor: 4.538

10.  QRS feature extraction using linear prediction.

Authors:  K P Lin; W H Chang
Journal:  IEEE Trans Biomed Eng       Date:  1989-10       Impact factor: 4.538

View more
  3 in total

1.  CNN-FWS: A Model for the Diagnosis of Normal and Abnormal ECG with Feature Adaptive.

Authors:  Junjiang Zhu; Jintao Lv; Dongdong Kong
Journal:  Entropy (Basel)       Date:  2022-03-28       Impact factor: 2.738

Review 2.  Arrhythmia detection and classification using ECG and PPG techniques: a review.

Authors:  H K Sardana; R Kanwade; S Tewary
Journal:  Phys Eng Sci Med       Date:  2021-11-02

3.  Investigation of the bnp level changes in blood stream in different modes and lead locations after pacemaker implementation.

Authors:  Alireza Mehri Dehnavi; Afshin Fakhrpour; Mohamad Bagher Tavakoli; Mohamad Hossein Nikoo
Journal:  J Med Signals Sens       Date:  2012-01
  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.