Background: Diaphragmatic electromyographic (EMGdi) is a helpful method to reflect the respiratory center's activity visually. However, the electrocardiogram (ECG) severely affected its weakness, limiting its use.
Objective: To remove the ECG artifact from the EMGdi, we designed a Morphological ECG subtraction method (MES) based on three steps: 1) ECG localization, 2) morphological tracking, and 3) ECG subtractor.