T Wave Detection Based on Right Triangle Hypotenuse System

Mohammad Motiur Rahman, Md. Harun-Ar-Rashid, Mohammed Sowket Ali, Oindrila Chowdhury, Rezaul Karim, Al Shahriar Rubel, Mir Mohammad Azad


The T wave is the most important portion of the Electrocardiogram (ECG) since it detects abnormalities. Various ECG leads produce different T waves. In research, various waveform morphologies may present as an indication of benign or clinically significant injury or insult to the myocardium. The frequency of the QT interval and the shape of the electrocardiographic T-wave are both signs of abnormal ventricular repolarization, according to many scientific and clinical investigations. Furthermore, it is still unclear if T wave inversion has any clinical value in the ECG diagnosis of coronary artery disease (CAD). To obtain the accurate results of ECG of patients with CAD, this study aims to analyze the correlation using the right triangle hypotenuse for T wave detection. In this paper, we have proposed an algorithm for detecting T waves in ECG for all types of leads. We use the right triangle hypotenuse to determine T wave start and end points. Moreover, we determine the T wave upslope or downslope, as well as up or down peak value. An extensive experiment is performed on 53 datasets, including 18 databases from the MIT-BIH ST database and 35 databases from the European ST-T database with long duration, which exhibits a promising result.


Keywords: T wave, right triangle hypotenuse, electrocardiogram, cross correlation, T wave alternate detection.



Full Text:



BRADY W. The Inverted T Wave: Differential Diagnosis in the Adult Patient. 2014. [Online] Available from: https://www.patientcareonline.com/view/inverted-t-wave-differential-diagnosis-adult-patient

MEHTA S.S., and LINGAYAT N.S. Detection of P and T-waves in Electrocardiogram. In: Proceedings of the World Congress on Engineering and Computer Science, San Francisco, USA, 2008: 22-24,

VAN OOSTEROM A. The dominant T wave and its significance. Journal of Cardiovascular Electrophysiology, 2003, 14(s10). https://doi.org/10.1046/j.1540.8167.90309.x

VAN OOSTEROM A. Measuring the T wave of the electrocardiogram; the how and why. Measurement Science Review, 2009, 9(3): 53-63, https://doi.org/10.2478/v10048-009-0011-9

HADJEM M., and NAÏT-ABDESSELAM F. An ECG T-wave anomalies detection using a lightweight classification model for wireless body sensors. In: Proceedings of the IEEE Communication Workshop (ICCW), 2015: 278-283. https://doi.org/10.1109/ICCW.2015.7247191

VASIC N., DIMIC-JANJIC S., STEVIC R., MILENKOVIC B., and DJUKANOVIC V. Acute ‘Pseudoischemic’ ECG Abnormalities after Right Pneumonectomy. Case Reports in Surgery, 2017: Article ID 7872535. https://doi.org/10.1155/2017/7872535

CHANG N.L., SHAH P., BAJAJ S., VIRK H., BIKKINA M., and SHAMOON F. Diagnostic yield of echocardiography in syncope patients with normal ECG. Cardiology Research and Practice, 2016: Article ID 1251637. https://doi.org/10.1155/2016/1251637

BORTOLAN G., CHRISTOV I., SIMOVA I., and DOTSINSKY I. Noise processing in exercise ECG stress test for the analysis and the clinical characterization of QRS and T wave alternans. Biomedical Signal Processing and Control, 2015, 18: 378-385. https://doi.org/10.1016/j.bspc.2015.02.003

BRENNAN T.P., and TARASSENKO L. Review of T-wave morphology-based biomarkers of ventricular repolarization using the surface electrocardiogram. Biomedical Signal Processing and Control, 2012, 7(3): 278-284, https://doi.org/10.1016/j.bspc.2011.05.010

BURATTINI L., ZAREBA W., and BURATTINI R. Automatic detection of microvolt T-wave alternans in Holter recordings: Effect of baseline wandering. Biomedical Signal Processing and Control, 2006, 1(2): 162-168. https://doi.org/10.1016/j.bspc.2006.05.005

MADEIRO J.P., NICOLSON W.B., CORTEZ P.C., MARQUES J.A., VÁZQUEZ-SEISDEDOS C.R., ELANGOVA, N., NG G.A., and SCHLINDWEIN F.S. New approach for T-wave peak detection and T-wave end location in 12-lead paced ECG signals based on a mathematical model. Medical Engineering and Physics, 2013, 35(8): 1105-1115, https://doi.org/10.1016/j.medengphy.2012.11.007

XUE J., and ROWLANDSON I. The detection of T-wave variation linked to arrhythmic risk: An industry perspective. Journal of Electrocardiology, 2013, 46(6): 597-607. https://doi.org/10.1016/j.jelectrocard.2013.08.012

WAN X., LI Y., XIA C., WU M., LIANG J., and WANG N.A. A T-wave alternans assessment method based on least squares curve fitting technique. Measurement, 2016, 86: 93-100. https://doi.org/10.1016/j.measurement.2016.01.046

NARSIMHA B., SURESH E., PUNNAMCHANDAR K., and SANJEEVA REDDY M. Denoising and QRS detection of ECG signals using Empirical Mode Decomposition. In: International Conference on Communications and Signal Processing (ICCSP), IEEE, 2011: 439-442.

BLANCO-VELASCO M., WENG B., and BARNER K.E. ECG signal denoising and baseline wander correction based on the empirical mode decomposition. Computers in Biology and Medicine, 2008, 38(1): 1-13. https://doi.org/10.1016/j.compbiomed.2007.06.003

ZHAO Z., and MA C. A novel cancellation method of powerline interference in ECG signal based on EMD and adaptive filter. In: Proceedings of the11th IEEE International Conference on Communication Technology, 2008: 517-520. DOI: 10.1109/ICCT.2008.4716100

TSENG Y.-L., LIN K.-S., and JAW F.-S. Comparison of Support-Vector Machine and Sparse Representation Using a Modified Rule-Based Method for Automated Myocardial Ischemia Detection. Computational and Mathematical Methods in Medicine, 2016: Article ID 9460375. https://doi.org/10.1155/2016/9460375

ZHU B., DING Y., and HAO K. A Novel Automatic Detection System for ECG Arrhythmias Using Maximum Margin Clustering with Immune Evolutionary Algorithm. Computational and Mathematical Methods in Medicine, 2013: Article ID 453402. https://doi.org/10.1155/2013/453402

MOODY G.B., and MARK R.G. The impact of the MIT-BIH Arrhythmia Database. IEEE Engineering in Medicine and Biology, 2001, 20(3): 45-50. https://physionet.org/content/mitdb/1.0.0/

YOCHUM M., RENAUD C., and JACQUIR S. Automatic detection of P, QRS and T patterns in 12 leads ECG signal based on CWT. Biomedical Signal Processing and Control, 2016, 25: 46-52. https://doi.org/10.1016/j.bspc.2015.10.011

JEKOVA I., KRASTEVA V., LEBER R., SCHMID R., TWERENBOLD R., REICHLIN T., MÜLLER C., and ABÄCHERLI R. A real-time quality monitoring system for optimal recording of 12-lead resting ECG. Biomedical Signal Processing and Control, 2017. 34: 126-133. https://doi.org/10.1016/j.bspc.2017.01.009

WANG J. Advances in ECG-Based Cardiac Ischemia Monitoring – A Review. In: International Scientific Conference Computing in Cardiology, 2021, 48: 1-4. https://www.cinc.org/archives/2021/pdf/CinC2021-289.pdf

XU M., WEI S., QIN X., ZHANG Y., and LIU C. Rule-based method for morphological classification of ST segment in ECG signals. Journal of Medical and Biological Engineering, 2015, 35(6): 816-823. https://doi.org/10.1007/s40846-015-0092-x

VELDKAMP R.F., SAWCHAK S., POPE J.E., CALIFF R.M., and KRUCOFF M.W. Performance of an automated real-time ST-segment analysis program to detect coronary occlusion and reperfusion. Journal of Electrocardiology, 1996, 29(4). https://doi.org/10.1016/S0022-0736(96)80090-2

SHARMA L.D., and SUNKARIA R.K. Novel T-wave detection technique with minimal processing and RR-interval based enhanced efficiency. Cardiovascular Engineering and Technology, 2019, 10(2): 367-379. https://doi.org/10.1007/s13239-019-00415-4

HARUN-AR-RASHID M., MAHMUD G., RAHMAN M.M., and DELOWAR HOSSAIN A.S.M. Classification of ST segment in ECG signals based on cross correlated supervised data. SN Applied Sciences, 2020, 2: Article number 1224. https://doi.org/10.1007/s42452-020-3050-3

WINKERT T., and NADAL J. Comparison among Microvolt T-wave Alternans Detection Methods and the Effect of T-wave Delimitation Approaches. In: XXVII Brazilian Congress on Biomedical Engineering, 2020: 2033-2038. https://doi.org/10.1007/978-3-030-70601-2_297

SHANG H., WEI S., LIU F., WEI D., CHEN L., and LIU C. An improved sliding window area method for T wave detection. Computational and Mathematical Methods in Medicine, 2019, Article ID 3130527. https://doi.org/10.1155/2019/3130527

PANIGRAHY D., and SAHU P.K. P and T wave detection and delineation of ECG signal using differential evolution (DE) optimization strategy. Australasian Physical & Engineering Sciences in Medicine, 2018, 41(1): 225-241. https://doi.org/10.1007/s13246-018-0629-8

KENNY B.J., and BROWN K.N. ECG T Wave. Treasure Island: StatPearls Publishing, 2022. [Online] Available from: https://www.ncbi.nlm.nih.gov/books/NBK538264/


  • There are currently no refbacks.