1
|
Farrokhi S, Dargie W, Poellabauer C. Reliable peak detection and feature extraction for wireless electrocardiograms. Comput Biol Med 2025; 185:109478. [PMID: 39644583 DOI: 10.1016/j.compbiomed.2024.109478] [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: 09/26/2024] [Revised: 11/22/2024] [Accepted: 11/25/2024] [Indexed: 12/09/2024]
Abstract
The electrocardiogram (ECG) is a vital device to examine the electrical activities of the heart. It is useful for diagnosing cardiovascular diseases, which often manifest themselves through alterations in the ECG signals' characteristics. These alterations are primarily observed in the signals' key components: the Q, R, S, T, and P peaks. At present, cardiologists typically rely on manual inspection of ECG measurements taken in controlled environments, such as hospitals and clinics, but most cardiac conditions reveal themselves outside clinical settings, when patients freely move and exert. In this paper, we dynamically identify and extract prominent ECG features in measurements taken outside clinical settings by subjects who have no medical training. The activities we consider are typical activities cardiac patients carry out in residential and rehabilitation environments, such as sitting, climbing up and down stairs, and standing up. To achieve accurate feature extraction, we employ adaptive thresholding and localization techniques. Our approach achieves promising results, with an average% for R peak detection and 92% for Q and S peaks detection. Similarly, our approach enables the detection of T and P peaks with an average accuracy of 87% and 84%, respectively.
Collapse
Affiliation(s)
- Sajad Farrokhi
- Knight Foundation School of Computing and Information Sciences, Florida International University, 11200 SW 8th St CASE 352, Miami, 33199, FL, USA.
| | - Waltenegus Dargie
- Faculty of Computer Science, Technische Universität Dresden, Dresden, 01062, Germany.
| | - Christian Poellabauer
- Knight Foundation School of Computing and Information Sciences, Florida International University, 11200 SW 8th St CASE 352, Miami, 33199, FL, USA.
| |
Collapse
|
2
|
Bukhari HA, Sánchez C, Laguna P, Potse M, Pueyo E. Differences in ventricular wall composition may explain inter-patient variability in the ECG response to variations in serum potassium and calcium. Front Physiol 2023; 14:1060919. [PMID: 37885805 PMCID: PMC10598848 DOI: 10.3389/fphys.2023.1060919] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/03/2022] [Accepted: 09/18/2023] [Indexed: 10/28/2023] Open
Abstract
Objective: Chronic kidney disease patients have a decreased ability to maintain normal electrolyte concentrations in their blood, which increases the risk for ventricular arrhythmias and sudden cardiac death. Non-invasive monitoring of serum potassium and calcium concentration, [K+] and [Ca2+], can help to prevent arrhythmias in these patients. Electrocardiogram (ECG) markers that significantly correlate with [K+] and [Ca2+] have been proposed, but these relations are highly variable between patients. We hypothesized that inter-individual differences in cell type distribution across the ventricular wall can help to explain this variability. Methods: A population of human heart-torso models were built with different proportions of endocardial, midmyocardial and epicardial cells. Propagation of ventricular electrical activity was described by a reaction-diffusion model, with modified Ten Tusscher-Panfilov dynamics. [K+] and [Ca2+] were varied individually and in combination. Twelve-lead ECGs were simulated and the width, amplitude and morphological variability of T waves and QRS complexes were quantified. Results were compared to measurements from 29 end-stage renal disease (ESRD) patients undergoing hemodialysis (HD). Results: Both simulations and patients data showed that most of the analyzed T wave and QRS complex markers correlated strongly with [K+] (absolute median Pearson correlation coefficients, r, ranging from 0.68 to 0.98) and [Ca2+] (ranging from 0.70 to 0.98). The same sign and similar magnitude of median r was observed in the simulations and the patients. Different cell type distributions in the ventricular wall led to variability in ECG markers that was accentuated at high [K+] and low [Ca2+], in agreement with the larger variability between patients measured at the onset of HD. The simulated ECG variability explained part of the measured inter-patient variability. Conclusion: Changes in ECG markers were similarly related to [K+] and [Ca2+] variations in our models and in the ESRD patients. The high inter-patient ECG variability may be explained by variations in cell type distribution across the ventricular wall, with high sensitivity to variations in the proportion of epicardial cells. Significance: Differences in ventricular wall composition help to explain inter-patient variability in ECG response to [K+] and [Ca2+]. This finding can be used to improve serum electrolyte monitoring in ESRD patients.
Collapse
Affiliation(s)
- Hassaan A. Bukhari
- BSICoS Group, I3A Institute, University of Zaragoza, IIS Aragón, Zaragoza, Spain
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- Carmen Team, Inria Bordeaux—Sud-Ouest, Talence, France
- University of Bordeaux, IMB, UMR 5251, Talence, France
| | - Carlos Sánchez
- BSICoS Group, I3A Institute, University of Zaragoza, IIS Aragón, Zaragoza, Spain
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
| | - Pablo Laguna
- BSICoS Group, I3A Institute, University of Zaragoza, IIS Aragón, Zaragoza, Spain
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
| | - Mark Potse
- Carmen Team, Inria Bordeaux—Sud-Ouest, Talence, France
- University of Bordeaux, IMB, UMR 5251, Talence, France
- IHU Liryc, Electrophysiology and Heart Modeling Institute, Fondation Bordeaux Université, Bordeaux, France
| | - Esther Pueyo
- BSICoS Group, I3A Institute, University of Zaragoza, IIS Aragón, Zaragoza, Spain
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
| |
Collapse
|
3
|
Zhan X, Zeng C, He J, Wang M, Xiao J. Non-specific electrocardiographic ST-T abnormalities predict mortality in patients on peritoneal dialysis. Front Cardiovasc Med 2022; 9:930517. [PMID: 36588547 PMCID: PMC9798218 DOI: 10.3389/fcvm.2022.930517] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/28/2022] [Accepted: 12/01/2022] [Indexed: 12/23/2022] Open
Abstract
Background This study aimed to evaluate the predictive value of non-specific ST-segment and/or T-wave abnormalities in electrocardiography (ECG) for all-cause and cardiovascular mortality (CVM) in peritoneal dialysis (PD) patients. Methods All patients who started PD between November 1, 2005, and February 28, 2017, at the First Affiliated Hospital of Nanchang University were enrolled. The primary outcomes were all-cause mortality and CVM. The Kaplan-Meier method and a log-rank test were used for the survival analysis. Multivariate Cox proportional hazards models were used to investigate the risk factors for all-cause mortality and CVM. Results A total of 724 eligible PD patients were enrolled, including 401 (55.4%) men. In total, 153 (21.1%) patients died during a mean follow-up period of 27 (interquartile range, 13-41) months, and cardiovascular death was responsible for 84 of these deaths. The patients with non-specific ST-T abnormalities (NSSTTAs) had lower overall and cardiovascular survival rates compared to those free from any ECG abnormalities. According to the multivariate Cox proportional hazards models, (NSSTTAs) are independent risk factors for all-cause mortality and CVM, the hazard ratios are 1.81 (95% confidence interval, 1.11-2.95; p = 0.017) and 2.86 (95% confidence interval, 1.52-5.37; p = 0.001), respectively. Conclusion Non-specific ST-T abnormalities can serve as risk markers of all-cause and CVM in PD patients.
Collapse
Affiliation(s)
- Xiaojiang Zhan
- Department of Nephrology, The First Affiliated Hospital of Nanchang University, Nanchang, Jiangxi, China
| | - Chuanfei Zeng
- Jiangxi Medical College, Nanchang University, Nanchang, Jiangxi, China
| | - Jiajing He
- Jiangxi Medical College, Nanchang University, Nanchang, Jiangxi, China
| | - Menghui Wang
- Jiangxi Medical College, Nanchang University, Nanchang, Jiangxi, China
| | - Jun Xiao
- Department of Nephrology, The First Affiliated Hospital of Nanchang University, Nanchang, Jiangxi, China,*Correspondence: Jun Xiao,
| |
Collapse
|
4
|
Bukhari HA, Sánchez C, Ruiz JE, Potse M, Laguna P, Pueyo E. Monitoring of Serum Potassium and Calcium Levels in End-Stage Renal Disease Patients by ECG Depolarization Morphology Analysis. SENSORS 2022; 22:s22082951. [PMID: 35458934 PMCID: PMC9027214 DOI: 10.3390/s22082951] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Grants] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 03/02/2022] [Revised: 04/05/2022] [Accepted: 04/07/2022] [Indexed: 11/16/2022]
Abstract
Objective: Non-invasive estimation of serum potassium, [K+], and calcium, [Ca2+], can help to prevent life-threatening ventricular arrhythmias in patients with advanced renal disease, but current methods for estimation of electrolyte levels have limitations. We aimed to develop new markers based on the morphology of the QRS complex of the electrocardiogram (ECG). Methods: ECG recordings from 29 patients undergoing hemodialysis (HD) were processed. Mean warped QRS complexes were computed in two-minute windows at the start of an HD session, at the end of each HD hour and 48 h after it. We quantified QRS width, amplitude and the proposed QRS morphology-based markers that were computed by warping techniques. Reference [K+] and [Ca2+] were determined from blood samples acquired at the time points where the markers were estimated. Linear regression models were used to estimate electrolyte levels from the QRS markers individually and in combination with T wave morphology markers. Leave-one-out cross-validation was used to assess the performance of the estimators. Results: All markers, except for QRS width, strongly correlated with [K+] (median Pearson correlation coefficients, r, ranging from 0.81 to 0.87) and with [Ca2+] (r ranging from 0.61 to 0.76). QRS morphology markers showed very low sensitivity to heart rate (HR). Actual and estimated serum electrolyte levels differed, on average, by less than 0.035 mM (relative error of 0.018) for [K+] and 0.010 mM (relative error of 0.004) for [Ca2+] when patient-specific multivariable estimators combining QRS and T wave markers were used. Conclusion: QRS morphological markers allow non-invasive estimation of [K+] and [Ca2+] with low sensitivity to HR. The estimation performance is improved when multivariable models, including T wave markers, are considered. Significance: Markers based on the QRS complex of the ECG could contribute to non-invasive monitoring of serum electrolyte levels and arrhythmia risk prediction in patients with renal disease.
Collapse
Affiliation(s)
- Hassaan A. Bukhari
- BSICoS Group, I3A Institute, IIS Aragón, University of Zaragoza, 50018 Zaragoza, Spain; (C.S.); (P.L.); (E.P.)
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain
- Carmen Team, Inria Bordeaux—Sud-Ouest, 33405 Talence, France;
- Université de Bordeaux, IMB, UMR 5251, 33400 Talence, France
- Correspondence:
| | - Carlos Sánchez
- BSICoS Group, I3A Institute, IIS Aragón, University of Zaragoza, 50018 Zaragoza, Spain; (C.S.); (P.L.); (E.P.)
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain
| | - José Esteban Ruiz
- Nephrology Department, Hospital Clínico Universitario Lozano Blesa, 50009 Zaragoza, Spain;
| | - Mark Potse
- Carmen Team, Inria Bordeaux—Sud-Ouest, 33405 Talence, France;
- Université de Bordeaux, IMB, UMR 5251, 33400 Talence, France
| | - Pablo Laguna
- BSICoS Group, I3A Institute, IIS Aragón, University of Zaragoza, 50018 Zaragoza, Spain; (C.S.); (P.L.); (E.P.)
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain
| | - Esther Pueyo
- BSICoS Group, I3A Institute, IIS Aragón, University of Zaragoza, 50018 Zaragoza, Spain; (C.S.); (P.L.); (E.P.)
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain
| |
Collapse
|
5
|
Abstract
Computer modeling of the electrophysiology of the heart has undergone significant progress. A healthy heart can be modeled starting from the ion channels via the spread of a depolarization wave on a realistic geometry of the human heart up to the potentials on the body surface and the ECG. Research is advancing regarding modeling diseases of the heart. This article reviews progress in calculating and analyzing the corresponding electrocardiogram (ECG) from simulated depolarization and repolarization waves. First, we describe modeling of the P-wave, the QRS complex and the T-wave of a healthy heart. Then, both the modeling and the corresponding ECGs of several important diseases and arrhythmias are delineated: ischemia and infarction, ectopic beats and extrasystoles, ventricular tachycardia, bundle branch blocks, atrial tachycardia, flutter and fibrillation, genetic diseases and channelopathies, imbalance of electrolytes and drug-induced changes. Finally, we outline the potential impact of computer modeling on ECG interpretation. Computer modeling can contribute to a better comprehension of the relation between features in the ECG and the underlying cardiac condition and disease. It can pave the way for a quantitative analysis of the ECG and can support the cardiologist in identifying events or non-invasively localizing diseased areas. Finally, it can deliver very large databases of reliably labeled ECGs as training data for machine learning.
Collapse
|
6
|
Palmieri F, Gomis P, Ruiz JE, Ferreira D, Martín-Yebra A, Pueyo E, Martínez JP, Ramírez J, Laguna P. Nonlinear T-Wave Time Warping-Based Sensing Model for Non-Invasive Personalised Blood Potassium Monitoring in Hemodialysis Patients: A Pilot Study. SENSORS 2021; 21:s21082710. [PMID: 33921468 PMCID: PMC8069025 DOI: 10.3390/s21082710] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 01/25/2021] [Revised: 03/16/2021] [Accepted: 03/30/2021] [Indexed: 11/24/2022]
Abstract
Background: End-stage renal disease patients undergoing hemodialysis (ESRD-HD) therapy are highly susceptible to malignant ventricular arrhythmias caused by undetected potassium concentration ([K+]) variations (Δ[K+]) out of normal ranges. Therefore, a reliable method for continuous, noninvasive monitoring of [K+] is crucial. The morphology of the T-wave in the electrocardiogram (ECG) reflects Δ[K+] and two time-warping-based T-wave morphological parameters, dw and its heart-rate corrected version dw,c, have been shown to reliably track Δ[K+] from the ECG. The aim of this study is to derive polynomial models relating dw and dw,c with Δ[K+], and to test their ability to reliably sense and quantify Δ[K+] values. Methods: 48-hour Holter ECGs and [K+] values from six blood samples were collected from 29 ESRD-HD patients. For every patient, dw and dw,c were computed, and linear, quadratic, and cubic fitting models were derived from them. Then, Spearman’s (ρ) and Pearson’s (r) correlation coefficients, and the estimation error (ed) between Δ[K+] and the corresponding model-estimated values (Δ^[K+]) were calculated. Results and Discussions: Nonlinear models were the most suitable for Δ[K+] estimation, rendering higher Pearson’s correlation (median 0.77 ≤r≤ 0.92) and smaller estimation error (median 0.20 ≤ed≤ 0.43) than the linear model (median 0.76 ≤r≤ 0.86 and 0.30 ≤ed≤ 0.40), even if similar Spearman’s ρ were found across models (median 0.77 ≤ρ≤ 0.83). Conclusion: Results support the use of nonlinear T-wave-based models as Δ[K+] sensors in ESRD-HD patients.
Collapse
Affiliation(s)
- Flavio Palmieri
- Centre de Recerca en Enginyeria Biomèdica, Universitat Politècnica de Catalunya, 08028 Barcelona, Spain; (F.P.); (P.G.)
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain; (A.M.-Y.); (E.P.); (J.P.M.)
- Laboratorios Rubió, Castellbisbal, 08755 Barcelona, Spain;
| | - Pedro Gomis
- Centre de Recerca en Enginyeria Biomèdica, Universitat Politècnica de Catalunya, 08028 Barcelona, Spain; (F.P.); (P.G.)
- Escuela Superior de Ingeniería, Ciencia y Tecnología, Universidad Internacional de Valencia, 46002 Valencia, Spain
| | - José Esteban Ruiz
- Nephrology Ward, Hospital Clínico Universitario Lozano Blesa, 50009 Zaragoza, Spain;
| | - Dina Ferreira
- Laboratorios Rubió, Castellbisbal, 08755 Barcelona, Spain;
| | - Alba Martín-Yebra
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain; (A.M.-Y.); (E.P.); (J.P.M.)
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, 50018 Zaragoza, Spain
| | - Esther Pueyo
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain; (A.M.-Y.); (E.P.); (J.P.M.)
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, 50018 Zaragoza, Spain
| | - Juan Pablo Martínez
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain; (A.M.-Y.); (E.P.); (J.P.M.)
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, 50018 Zaragoza, Spain
| | - Julia Ramírez
- William Harvey Research Institute, Queen Mary University of London, London E1 4NS, UK;
| | - Pablo Laguna
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), 50018 Zaragoza, Spain; (A.M.-Y.); (E.P.); (J.P.M.)
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, 50018 Zaragoza, Spain
- Correspondence:
| |
Collapse
|
7
|
Palmieri F, Gomis P, Ferreira D, Ruiz JE, Bergasa B, Martín-Yebra A, Bukhari HA, Pueyo E, Martínez JP, Ramírez J, Laguna P. Monitoring blood potassium concentration in hemodialysis patients by quantifying T-wave morphology dynamics. Sci Rep 2021; 11:3883. [PMID: 33594135 PMCID: PMC7887245 DOI: 10.1038/s41598-021-82935-5] [Citation(s) in RCA: 8] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/19/2020] [Accepted: 01/27/2021] [Indexed: 12/29/2022] Open
Abstract
We investigated the ability of time-warping-based ECG-derived markers of T-wave morphology changes in time ([Formula: see text]) and amplitude ([Formula: see text]), as well as their non-linear components ([Formula: see text] and [Formula: see text]), and the heart rate corrected counterpart ([Formula: see text]), to monitor potassium concentration ([Formula: see text]) changes ([Formula: see text]) in end-stage renal disease (ESRD) patients undergoing hemodialysis (HD). We compared the performance of the proposed time-warping markers, together with other previously proposed [Formula: see text] markers, such as T-wave width ([Formula: see text]) and T-wave slope-to-amplitude ratio ([Formula: see text]), when computed from standard ECG leads as well as from principal component analysis (PCA)-based leads. 48-hour ECG recordings and a set of hourly-collected blood samples from 29 ESRD-HD patients were acquired. Values of [Formula: see text], [Formula: see text], [Formula: see text], [Formula: see text] and [Formula: see text] were calculated by comparing the morphology of the mean warped T-waves (MWTWs) derived at each hour along the HD with that from a reference MWTW, measured at the end of the HD. From the same MWTWs [Formula: see text] and [Formula: see text] were also extracted. Similarly, [Formula: see text] was calculated as the difference between the [Formula: see text] values at each hour and the [Formula: see text] reference level at the end of the HD session. We found that [Formula: see text] and [Formula: see text] showed higher correlation coefficients with [Formula: see text] than [Formula: see text]-Spearman's ([Formula: see text]) and Pearson's (r)-and [Formula: see text]-Spearman's ([Formula: see text])-in both SL and PCA approaches being the intra-patient median [Formula: see text] and [Formula: see text] in SL and [Formula: see text] and [Formula: see text] in PCA respectively. Our findings would point at [Formula: see text] and [Formula: see text] as the most suitable surrogate of [Formula: see text], suggesting that they could be potentially useful for non-invasive monitoring of ESRD-HD patients in hospital, as well as in ambulatory settings. Therefore, the tracking of T-wave morphology variations by means of time-warping analysis could improve continuous and remote [Formula: see text] monitoring of ESRD-HD patients and flagging risk of [Formula: see text]-related cardiovascular events.
Collapse
Affiliation(s)
- Flavio Palmieri
- Centre de Recerca en Enginyeria Biomèdica, Universitat Politècnica de Catalunya, Barcelona, Spain.
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain.
- Laboratorios Rubió, Castellbisbal, Barcelona, Spain.
| | - Pedro Gomis
- Centre de Recerca en Enginyeria Biomèdica, Universitat Politècnica de Catalunya, Barcelona, Spain
- Valencian International University, Valencia, Spain
| | | | - José Esteban Ruiz
- Nephrology Department, Hospital Clínico Universitario Lozano Blesa, Zaragoza, Spain
| | - Beatriz Bergasa
- Nephrology Department, Hospital Clínico Universitario Lozano Blesa, Zaragoza, Spain
| | - Alba Martín-Yebra
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, Zaragoza, Spain
| | - Hassaan A Bukhari
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, Zaragoza, Spain
| | - Esther Pueyo
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, Zaragoza, Spain
| | - Juan Pablo Martínez
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, Zaragoza, Spain
| | - Julia Ramírez
- William Harvey Research Institute, Queen Mary University of London, London, UK
| | - Pablo Laguna
- CIBER en Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), Zaragoza, Spain
- BSICoS Group, I3A, IIS Aragón, Universidad de Zaragoza, Zaragoza, Spain
| |
Collapse
|