Figure 1

The overall process of P wave detection: (a) QRS complex detection using Phasor transform, (b) T wave detection based on the QRS complexes positions, (c) detection of PVC using morphological feature and correctness check, (d) detection of AFIB using Shannon entropy, (e) check of PVC or AFIB presence in ECG, (f) basic detection of P waves in physiological heart beats based on the QRS complexes positions, (g) detection of dissociated P waves within special demarcation area, (h) unification of P waves positions, check of P wave amplitude and verification of P wave positions correctness.