1
|
Sharma N, Sunkaria RK. Improved T-wave detection in electrocardiogram signals based non-stationary wavelet transform and QRS complex cancellation with kurtosis analysis. Physiol Meas 2023; 44:125001. [PMID: 37944176 DOI: 10.1088/1361-6579/ad0b3e] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/29/2023] [Accepted: 11/09/2023] [Indexed: 11/12/2023]
Abstract
Objective. The T-wave in electrocardiogram (ECG) signal has the potential to enumerate various cardiac dysfunctions in the cardiovascular system. The primary objective of this research is to develop an efficient method for detecting T-waves in ECG signals, with potential applications in clinical diagnosis and continuous patient monitoring.Approach. In this work, we propose a novel algorithm for T-wave peak detection, which relies on a non-decimated stationary wavelet transform method (NSWT) and involves the cancellation of the QRS complex by utilizing its local extrema. The proposed scheme contains three stages: firstly, the technique is pre-processed using a two-stage median filter and Savitzky-Golay (SG) filter to remove the various artifacts from the ECG signal. Secondly, the NSWT technique is implemented using the bior 4.4 mother wavelet without downsampling, employing 24scale analysis, and involves the cancellation of QRS-complex using its local positions. After that, Sauvola technique is used to estimate the baseline and remove the P-wave peaks to enhance T-peaks for accurate detection in the ECG signal. Additionally, the moving average window and adaptive thresholding are employed to enhance and identify the location of the T-wave peaks. Thirdly, false positive T-peaks are corrected using the kurtosis coefficients method.Main results. The robustness and efficiency of the proposed technique have been corroborated by the QT database (QTDB). The results are also validated on a self-recorded database. In QTDB database, the sensitivity of 98.20%, positive predictivity of 99.82%, accuracy of 98.04%, and detection error rate of 1.95% have been achieved. The self-recorded dataset attains a sensitivity, positive predictivity, accuracy, and detection error rate of 99.94%, 99.96%, 99.90%, and 0.09% respectively.Significance. A T-wave peak detection based on NSWT and QRS complex cancellation, along with kurtosis analysis technique, demonstrates superior performance and enhanced detection accuracy compared to state-of-the-art techniques.
Collapse
Affiliation(s)
- Neenu Sharma
- Department of Electronics and Communication Engineering, Dr B.R. Ambedkar National Institute of Technology, Jalandhar 144011, India
| | - Ramesh Kumar Sunkaria
- Department of Electronics and Communication Engineering, Dr B.R. Ambedkar National Institute of Technology, Jalandhar 144011, India
| |
Collapse
|
2
|
Chen H, Wiles BM, Roberts PR, Morgan JM, Maharatna K. A new algorithm to reduce T-wave over-sensing based on phase space reconstruction in S-ICD system. Comput Biol Med 2021; 137:104804. [PMID: 34478924 DOI: 10.1016/j.compbiomed.2021.104804] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/06/2021] [Revised: 08/22/2021] [Accepted: 08/23/2021] [Indexed: 11/15/2022]
Abstract
BACKGROUND AND OBJECTIVE The subcutaneous implantable cardioverter defibrillator (S-ICD) reduces mortality in individuals at high risk of sudden arrhythmic death, by rapid defibrillation of life-threatening arrhythmia. Unfortunately, S-ICD recipients are also at risk of inappropriate shock therapies, which themselves are associated with increased rates of mortality and morbidity. The commonest cause of inappropriate shock therapies is T wave oversensing (TWOS), where T waves are incorrectly counted as R waves leading to an overestimation of heart rate. It is important to develop a method to reduce TWOS and improve the accuracy of R-peak detection in S-ICD system. METHODS This paper introduces a novel algorithm to reduce TWOS based on phase space reconstruction (PSR); a common method used to analyse the chaotic characteristics of non-linear signals. RESULTS The algorithm was evaluated against 34 records from University Hospital Southampton (UHS) and all 48 records from the MIT-BIH arrhythmia database. In the UHS analysis we demonstrated a sensitivity of 99.88%, a positive predictive value of 99.99% and an accuracy of 99.88% with reductions in TWOS episodes (from 166 to 0). Whilst in the MIT-BIH analysis we demonstrated a sensitivity of 99.87%, a positive predictive value of 99.99% and an accuracy of 99.91% for R wave detection. The average processing time for 1 min ECG signals from all records is 2.9 s. CONCLUSIONS Our algorithm is sensitive for R-wave detection and can effectively reduce the TWOS with low computational complexity, and it would therefore have the potential to reduce inappropriate shock therapies in S-ICD recipients, which would significantly reduce shock related morbidity and mortality, and undoubtedly improving patient's quality of life.
Collapse
Affiliation(s)
- Hanjie Chen
- School of Electronics and Computer Science, University of Southampton, Southampton, UK.
| | - Benedict M Wiles
- Cardiac Rhythm Management Research, University Hospital Southampton NHS Foundation Trust, Southampton, UK; Faculty of Medicine, University of Southampton, Southampton, UK
| | - Paul R Roberts
- Cardiac Rhythm Management Research, University Hospital Southampton NHS Foundation Trust, Southampton, UK; Faculty of Medicine, University of Southampton, Southampton, UK
| | - John M Morgan
- Faculty of Medicine, University of Southampton, Southampton, UK
| | - Koushik Maharatna
- School of Electronics and Computer Science, University of Southampton, Southampton, UK
| |
Collapse
|
3
|
Rahul J, Sharma LD. An enhanced T-wave delineation method using phasor transform in the electrocardiogram. Biomed Phys Eng Express 2021; 7. [PMID: 34034235 DOI: 10.1088/2057-1976/ac0502] [Citation(s) in RCA: 2] [Impact Index Per Article: 0.7] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/06/2021] [Accepted: 05/25/2021] [Indexed: 11/12/2022]
Abstract
Accurate detection of key components plays a vital role in determining cardiovascular diseases in the ECG. In this method, we propose an enhanced T-wave delineation method using the phasor transform. Discrete Wavelet Transform (DWT) and median filters were used to suppress the high-frequency noise and baseline drift during pre-processing. The phasor transform was used to detect and locate the delineation points before and after the T-wave. The proposed method was tested on the QTDB for R-peak, T-peak, and Toffdetection. It achieved both sensitivity (Se%) and positive predictivity (+P%) values of 100 for R-peak detection. In T-peak detection, method shows Se % = 99.46 and +P % = 99.54, respectively. This method has reported Se% = 99.34 and +P% = 99.48 for Toffdetection in the ECG. The achieved results show that the method can be used for cardiac arrhythmia detection related to the morphology of T-wave.
Collapse
Affiliation(s)
- J Rahul
- Department of Electronics & Communication Engineering, Rajiv Gandhi University, India
| | - L D Sharma
- School of Electronics Engineering, VIT-AP University, India
| |
Collapse
|
4
|
Augustyniak P. Diagnostic Interpretation of Non-Uniformly Sampled Electrocardiogram. SENSORS (BASEL, SWITZERLAND) 2021; 21:2969. [PMID: 33922870 PMCID: PMC8123013 DOI: 10.3390/s21092969] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 03/18/2021] [Revised: 04/20/2021] [Accepted: 04/21/2021] [Indexed: 11/16/2022]
Abstract
We present a set of three fundamental methods for electrocardiogram (ECG) diagnostic interpretation adapted to process non-uniformly sampled signal. The growing volume of ECGs recorded daily all over the world (roughly estimated to be 600 TB) and the expectance of long persistence of these data (on the order of 40 years) motivated us to challenge the feasibility of medical-grade diagnostics directly based on arbitrary non-uniform (i.e., storage-efficient) ECG representation. We used a refined time-independent QRS detection method based on a moving shape matching technique. We applied a graph data representation to quantify the similarity of asynchronously sampled heartbeats. Finally, we applied a correlation-based non-uniform to time-scale transform to get a multiresolution ECG representation on a regular dyadic grid and to find precise P, QRS and T wave delimitation points. The whole processing chain was implemented and tested with MIT-BIH Database (probably the most referenced cardiac database) and CSE Multilead Database (used for conformance testing of medical instruments) signals arbitrarily sampled accordingly to a perceptual model (set for variable sampling frequency of 100-500 Hz, compression ratio 3.1). The QRS detection shows an accuracy of 99.93% with false detection ratio of only 0.18%. The classification shows an accuracy of 99.27% for 14 most frequent MIT-BIH beat types and 99.37% according to AAMI beat labels. The wave delineation shows cumulative (i.e., sampling model and non-uniform processing) errors of: 9.7 ms for P wave duration, 3.4 ms for QRS, 6.7 ms for P-Q segment and 17.7 ms for Q-T segment, all the values being acceptable for medical-grade interpretive software.
Collapse
|
5
|
Rahul J, Sora M, Sharma LD. A novel and lightweight P, QRS, and T peaks detector using adaptive thresholding and template waveform. Comput Biol Med 2021; 132:104307. [PMID: 33765449 DOI: 10.1016/j.compbiomed.2021.104307] [Citation(s) in RCA: 13] [Impact Index Per Article: 4.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/24/2020] [Revised: 02/26/2021] [Accepted: 02/27/2021] [Indexed: 10/21/2022]
Abstract
Accurate detection of key components in an electrocardiogram (ECG) plays a vital role in identifying cardiovascular diseases. In this work, we proposed a novel and lightweight P, QRS, and T peaks detector using adaptive thresholding and template waveform. In the first stage, we proposed a QRS complex detector, which utilises a novel adaptive thresholding process followed by threshold initialisation. Moreover, false positive QRS complexes were removed using the kurtosis coefficient computation. In the second stage, the ECG segment from the S wave point to the Q wave point was extracted for clustering. The template waveform was generated from the cluster members using the ensemble average method, interpolation, and resampling. Next, a novel conditional thresholding process was used to calculate the threshold values based on the template waveform morphology for P and T peaks detection. Finally, the min-max functions were used to detect the P and T peaks. The proposed technique was applied to the MIT-BIH arrhythmia database (MIT-AD) and the QT database for QRS detection and validation. Sensitivity (Se%) values of 99.81 and 99.90 and positive predictivity (+P%) values of 99.85 and 99.94 were obtained for the MIT-AD and QT database for QRS complex detection, respectively. Further, we found that Se% = 96.50 and +P% = 96.08 for the P peak detection, Se% = 100 and +P% = 100 for the R peak detection, and Se% = 99.54 and +P% = 99.68 for the T peak detection when using the manually annotated QT database. The proposed technique exhibits low computational complexity and can be implemented on low-cost hardware, since it is based on simple decision rules rather than a heuristic approach.
Collapse
Affiliation(s)
- Jagdeep Rahul
- Department of Electronics & Communication Engineering, Rajiv Gandhi University, India.
| | - Marpe Sora
- Department of Computer Science & Engineering, Rajiv Gandhi University, India
| | | |
Collapse
|
6
|
Chen H, Maharatna K. An Automatic R and T Peak Detection Method Based on the Combination of Hierarchical Clustering and Discrete Wavelet Transform. IEEE J Biomed Health Inform 2020; 24:2825-2832. [DOI: 10.1109/jbhi.2020.2973982] [Citation(s) in RCA: 21] [Impact Index Per Article: 5.3] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/07/2022]
|
7
|
He K, Zhong G, Ding X, Yang C. Recognition of Premature Ventricular Contraction Beat from 12Lead ECG Based on A Novel Detection Function of QRS Onset. ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. ANNUAL INTERNATIONAL CONFERENCE 2020; 2020:349-352. [PMID: 33018000 DOI: 10.1109/embc44109.2020.9175775] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 06/11/2023]
Abstract
Premature ventricular contraction (PVC) is associated to the risk of ventricular dysfunction and cardiovascular events. Its diagnosis depends on a long-time monitoring, and computational tools for PVC recognition can provide significant assistance to specialists. For this purpose, we present an automatic algorithm for the recognition PVC beat based on long-term 12-lead ECG.A total of 249 patients with PVC were included in this study. Initially, a novel QRS onset detection function was used to automatically extract QRS complexes from massive original ECG data. Then, non-personalized but shared QRS-width features of 12-lead QRS complexes were extracted and fed to a binary classifier based on SVM. In order to verify the model, 17, 512 normal beats and 17, 690 PVC beats extracted from 35 patients were used for training, and another 215 normal beats and 291 PVC beats selected randomly from the remaining 214 patients were used for testing.As a result, the achieved accuracy, sensitivity, specificity in training data and testing data are 98.9%, 98.3%, 99.5% and 97.2%, 97.7%, 96.7%, respectively. The high accuracy of PVC recognition makes it promising to be an efficient technique being used in clinical settings to automatically analyze huge ECG data so as to replace the tedious manual interpretation.
Collapse
|
8
|
Tang M, Xia P, He Z, Zhao Z, Chen X, Yang T, Zhang Z, Zhan Q, Li X, Fang Z. Wavelet-based real-time calculation of multiple physiological parameters on an embedded platform. Physiol Meas 2020; 41:025010. [PMID: 31972550 DOI: 10.1088/1361-6579/ab6f52] [Citation(s) in RCA: 3] [Impact Index Per Article: 0.8] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/20/2023]
Abstract
OBJECTIVE This paper aims to present how physiological signals can be processed based on wavelet decomposition to calculate multiple physiological parameters in real-time on an embedded platform. APPROACH An ECG and PPG are decomposed to the appropriate scale based on a quadratic spline wavelet base in order to obtain high and narrow pulse peaks at the location of the mutation points. Based on the decomposed waveforms, feature points are positioned to calculate physiological parameters in real-time, including heart rate, pulse rate, blood oxygen, and blood pressure. The proposed algorithm has been implemented on a Texas Instruments' CC2640R2F. MAIN RESULTS The misdetection rate of feature point location based on the square wavelet decomposition waveform is only 0.57% in the acquired ECG and 0.23% in the acquired PPG. Heart rate and pulse rate are both highly correlated with the reference, both having correlation coefficients of 0.99. The pulse rate and heart rate are 3.85% (51/1326) and 2.94% (39/1326) outside the 95% consistency limit, respectively. The systolic and diastolic blood pressures are significantly associated with standard equipment measurements, with correlation coefficients of 0.87 and 0.83. The systolic and diastolic blood pressures were 5.88% (21/357) and 5.32% (19/357) outside the 95% consistency limit, respectively. SIGNIFICANCE The real-time calculation of multiple physiological parameters based on wavelet decomposition on an embedded platform presented here shows outstanding accuracy.
Collapse
Affiliation(s)
- Minfang Tang
- Institute of Electronics Chinese Academy of Sciences, Beijing, People's Republic of China. University of Chinese Academy of Sciences, Beijing, People's Republic of China
| | | | | | | | | | | | | | | | | | | |
Collapse
|
9
|
Spicher N, Kukuk M. Delineation of Electrocardiograms Using Multiscale Parameter Estimation. IEEE J Biomed Health Inform 2020; 24:2216-2229. [PMID: 32012030 DOI: 10.1109/jbhi.2019.2963786] [Citation(s) in RCA: 8] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/09/2022]
Abstract
The continuing interest in unobtrusive electrocardiography requires the development of algorithms, compensating for an increased number of artifacts. In previous work, we proposed a framework for robust parameter estimation of signals following a piecewise Gaussian derivative model, well suited for describing all waves of a heartbeat. The framework is based on a numeric and analytic representation of applying the Wavelet Transform at arbitrary scale to the input model. For robustly estimating model parameters, it processes lines of zero-crossings in scale-space, showing high accuracy for various noise models in synthetic signals. An initial evaluation with electrocardiography signals revealed that our basic classifier for identifying the correct lines often fails, leading to false parameter estimates. In this work, we propose a general delineation method based on a solid mathematical framework that treats each heartbeat, wave and fiducial point in the same way, tailored only by intuitive parameters and not relying on any heuristically found decision rules. The steps include a novel line classifier based on pre-filtering using domain knowledge, followed by an exhaustive search among all possible combinations of zero-crossing lines and an error-measure quantifying their agreement with the model. The combination with highest agreement is processed by the parameter estimation framework, customized to the computation of all nine fiducial points. Evaluation using the expert-annotated QT database, shows high sensitivity (P: 99.91%, QRS: 99.92%, T: 99.89%) and mean errors below 1 ms for all onset and offset fiducial points. The proposed combination of line classification and parameter estimation is well suited for delineating electrocardiograms.
Collapse
|
10
|
Spicher N, Kukuk M. ECG delineation using a piecewise Gaussian derivative model with parameters estimated from scale-dependent algebraic expressions. ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. ANNUAL INTERNATIONAL CONFERENCE 2019; 2019:5633-5637. [PMID: 31947131 DOI: 10.1109/embc.2019.8856523] [Citation(s) in RCA: 2] [Impact Index Per Article: 0.4] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 06/10/2023]
Abstract
Automatic methods for the detection of characteristic points in electrocardiography signals support cardiologists in assessing the state of a patient's cardiovascular system. In this work, we apply a general method for parameter estimation to the specific problem of QRS complex, P-, and T-wave delineation, i.e. the computation of their on- and offset points in time. As input the method expects a piecewise Gaussian derivative model that is potentially a good fit for the morphology of electrocardiography waves, but a thorough investigation is needed. The model parameters are estimated by substituting zero-crossings of the input signals' scale-space representation into scale-dependent algebraic expressions and are further refined by fitting the model to the electrocardiography signal in a least-squares sense. Validating the results on the QT database and comparing to state-of-the-art algorithms shows smallest mean error for 3 out of 9 fiducial points and for the others only small differences to the respective best competitors.
Collapse
|
11
|
Sharma LD, Sunkaria RK. Novel T-wave Detection Technique with Minimal Processing and RR-Interval Based Enhanced Efficiency. Cardiovasc Eng Technol 2019; 10:367-379. [DOI: 10.1007/s13239-019-00415-4] [Citation(s) in RCA: 8] [Impact Index Per Article: 1.6] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 08/29/2018] [Accepted: 04/09/2019] [Indexed: 11/28/2022]
|
12
|
QRS Complex Detection and Measurement Algorithms for Multichannel ECGs in Cardiac Resynchronization Therapy Patients. IEEE JOURNAL OF TRANSLATIONAL ENGINEERING IN HEALTH AND MEDICINE-JTEHM 2018; 6:1900211. [PMID: 30443440 PMCID: PMC6231906 DOI: 10.1109/jtehm.2018.2844195] [Citation(s) in RCA: 7] [Impact Index Per Article: 1.2] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 04/07/2018] [Revised: 05/10/2018] [Accepted: 05/20/2018] [Indexed: 01/03/2023]
Abstract
We developed an automated approach for QRS complex detection and QRS duration (QRSd) measurement that can effectively analyze multichannel electrocardiograms (MECGs) acquired during abnormal conduction and pacing in heart failure and cardiac resynchronization therapy (CRT) patients to enable the use of MECGs to characterize cardiac activation in such patients. The algorithms use MECGs acquired with a custom 53-electrode investigational body surface mapping system and were validated using previously collected data from 58 CRT patients. An expert cohort analyzed the same data to determine algorithm accuracy and error. The algorithms: 1) detect QRS complexes; 2) identify complexes of the most prevalent morphology and morphologic outliers; and 3) determine the array-specific (i.e., anterior and posterior) and global QRS complex onsets, offsets, and durations for the detected complexes. The QRS complex detection algorithm had a positive predictivity and sensitivity of ≥96% for complex detection and classification. The absolute QRSd error was 17 ± 14 ms, or 12%, for array-specific QRSd and 12 ± 10 ms, or 8%, for global QRSd. The absolute global QRSd error (12 ms) was less than the interobserver variation in that measurement (15 ± 10 ms). The sensitivity, positive predictivity, and error of the algorithms were similar to the values reported for current state-of-the-art algorithms designed for and limited to simpler data sets and conduction patterns and within the variation found in clinical 12-lead ECG QRSd measurement techniques. These new algorithms permit accurate, real-time analysis of QRS complex features in MECGs in patients with conduction disorders and/or pacing.
Collapse
|
13
|
Isasi I, Irusta U, Elola A, Aramendi E, Ayala U, Alonso E, Kramer-Johansen J, Eftestol T. A Machine Learning Shock Decision Algorithm for Use During Piston-Driven Chest Compressions. IEEE Trans Biomed Eng 2018; 66:1752-1760. [PMID: 30387719 DOI: 10.1109/tbme.2018.2878910] [Citation(s) in RCA: 13] [Impact Index Per Article: 2.2] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/10/2022]
Abstract
GOAL Accurate shock decision methods during piston-driven cardiopulmonary resuscitation (CPR) would contribute to improve therapy and increase cardiac arrest survival rates. The best current methods are computationally demanding, and their accuracy could be improved. The objective of this work was to introduce a computationally efficient algorithm for shock decision during piston-driven CPR with increased accuracy. METHODS The study dataset contains 201 shockable and 844 nonshockable ECG segments from 230 cardiac arrest patients treated with the LUCAS-2 mechanical CPR device. Compression artifacts were removed using the state-of-the-art adaptive filters, and shock/no-shock discrimination features were extracted from the stationary wavelet transform analysis of the filtered ECG, and fed to a support vector machine (SVM) classifier. Quasi-stratified patient wise nested cross-validation was used for feature selection and SVM hyperparameter optimization. The procedure was repeated 50 times to statistically characterize the results. RESULTS Best results were obtained for a six-feature classifier with mean (standard deviation) sensitivity, specificity, and total accuracy of 97.5 (0.4), 98.2 (0.4), and 98.1 (0.3), respectively. The algorithm presented a five-fold reduction in computational demands when compared to the best available methods, while improving their balanced accuracy by 3 points. CONCLUSIONS The accuracy of the best available methods was improved while drastically reducing the computational demands. SIGNIFICANCE An efficient and accurate method for shock decisions during mechanical CPR is now available to improve therapy and contribute to increase cardiac arrest survival.
Collapse
|
14
|
|