Wearable systems are increasingly adopted for health monitoring and wellness promotion. Among the most relevant biosignals, the electrocardiogram (ECG) plays a key role; however, in wearable settings (e.g., during physical activity), it is often corrupted by electromyogram (EMG) interference. This study presents a novel adaptive algorithm, template masking (TM), which integrates the stationary wavelet transform (SWT) with template matching for denoising the ECG from EMG. The method identifies the optimal wavelet and decomposition level to maximise detail sparsity. To mitigate EMG interference, after alignment in the SWT domain with a template, the detail coefficients are multiplied by a binary mask and smoothed. TM was compared with soft and hard thresholding on (1) simulations combining clinical ECGs (MIT-BIH database) and synthetic EMGs with different signal-to-noise ratios (SNRs), and (2) experimental signals including ECGs acquired with dry electrodes corrupted by EMGs (SimEMG database, also varying SNRs), as a potential wearable scenario. In both cases, TM yielded significantly lower reconstruction errors at SNRs below 5 dB (𝑝<0.01) and significantly outperformed thresholding in the sensitivity of R-peaks estimation (𝑝<0.001). These results demonstrate the potential of TM, highlighting the value of adaptive denoising algorithms
Denoising the ECG from the EMG Using Stationary Wavelet Transform and Template Matching / Raggi, Matteo; Mesin, Luca. - In: ELECTRONICS. - ISSN 2079-9292. - 14:17(2025). [10.3390/electronics14173474]
Denoising the ECG from the EMG Using Stationary Wavelet Transform and Template Matching
Raggi, Matteo;Mesin, Luca
2025
Abstract
Wearable systems are increasingly adopted for health monitoring and wellness promotion. Among the most relevant biosignals, the electrocardiogram (ECG) plays a key role; however, in wearable settings (e.g., during physical activity), it is often corrupted by electromyogram (EMG) interference. This study presents a novel adaptive algorithm, template masking (TM), which integrates the stationary wavelet transform (SWT) with template matching for denoising the ECG from EMG. The method identifies the optimal wavelet and decomposition level to maximise detail sparsity. To mitigate EMG interference, after alignment in the SWT domain with a template, the detail coefficients are multiplied by a binary mask and smoothed. TM was compared with soft and hard thresholding on (1) simulations combining clinical ECGs (MIT-BIH database) and synthetic EMGs with different signal-to-noise ratios (SNRs), and (2) experimental signals including ECGs acquired with dry electrodes corrupted by EMGs (SimEMG database, also varying SNRs), as a potential wearable scenario. In both cases, TM yielded significantly lower reconstruction errors at SNRs below 5 dB (𝑝<0.01) and significantly outperformed thresholding in the sensitivity of R-peaks estimation (𝑝<0.001). These results demonstrate the potential of TM, highlighting the value of adaptive denoising algorithmsFile | Dimensione | Formato | |
---|---|---|---|
electronics-14-03474-v2.pdf
accesso aperto
Tipologia:
2a Post-print versione editoriale / Version of Record
Licenza:
Creative commons
Dimensione
7.52 MB
Formato
Adobe PDF
|
7.52 MB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11583/3002709