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 24 scale 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.