A New Morphological Filtering Algorithm for Pre-Processing of Electrocardiographic Signals

Conference paper
Part of the Lecture Notes in Electrical Engineering book series (LNEE, volume 221)


Pre-Processing of Electrocardiographic (ECG) signals involves the baseline wander elimination and impulse noise filtering to facilitate automated analysis. In this paper a new morphological filtering algorithm using combinations of flat (two dimensional) structuring elements is proposed for pre-processing of ECG signals. Usage of two dimensional structuring elements, (over single dimension) aids in controlling effective inhibition of noise, leading to reconstruction with minimal signal distortion. Signal to noise ratio (SNR) and Root Mean Squared Error (RMSE) are used as quantitative evaluation measures for optimizing the selection of size of the structuring elements. Experimental results show that the proposed algorithm yields effective pre-processing of ECG signals, thereby eliminating the discussed artifacts.


Baseline wandering Bottom-hat filtering ECG Flat structuring element Top-hat filtering 


  1. 1.
    Dupre A, Vincent S, Iaizzo PA (2005) Basic ECG theory, recordings and interpretation. In: Handbook of cardiac anatomy, physiology, and devices, pp 191–201Google Scholar
  2. 2.
    Gupta R, Bera JN, Mitra M (2010) Development of an Embedded System and MATLAB-based GUI for online acquisition and analysis of ECG signal. J Measur 43(9):1119–1126Google Scholar
  3. 3.
    Sayadi O, Shamsollahi MB (2007) ECG baseline correction with adaptive bionic wavelet transform. In: Proceeding of the 9th international symposium on signal processing and its applications, Sharjah, pp 1–4Google Scholar
  4. 4.
    Kumar Y, Malik GK (2010) Performance analysis of different filters for powerline interface reduction in ECG signal. Int J Comput Appl (0975–8887)3:1–6Google Scholar
  5. 5.
    Christov II, Dotsinsky IA, Daskalov IK (1992) High-pass filtering of ECG signals using QRS elimination. Med Biol Eng Comput 30:253–256CrossRefGoogle Scholar
  6. 6.
    Pei S, Tseng C (1995) Elimination of AC interference in ECG using IIR notch filter with transient suppression. IEEE Trans Bio-Med Eng 42(11):1128–1132CrossRefGoogle Scholar
  7. 7.
    Chu CHH, Delp EJ (1996) Impulsive noise suppression and background normalization of electrocardiogram signal using morphological operators. IEEE Trans Biomed Eng 36:262–273CrossRefGoogle Scholar
  8. 8.
    Sun Y, Chan KL, Krishnan SM (2002) ECG signal conditioning by morphological filtering. Comput Biol Med 32(6):465–479CrossRefGoogle Scholar
  9. 9.
    Sayadi O, Shamsollahi M (2007) Multiadaptive bionic wavelet transform: application to ECG de-noising and baseline wandering reduction. EURASIP J Adv Sig Process, pp 1–11Google Scholar
  10. 10.
    Alfaouri M, Daqrouq K (2008) ECG signal de-noising by wavelet transform thresholding. Am J Appl Sci 5(3):276–281CrossRefGoogle Scholar
  11. 11.
    Donoho DL (1995) De-noising by soft-thresholding. IEEE Tran Inf Theor 41(3):612–627MathSciNetGoogle Scholar
  12. 12.
    Chu CHH, Delp EJ (1988) Electrocardiogram signal processing by morphological operators. In: Proceeding of the conference on computers in cardiology, Washington, pp 153–156Google Scholar
  13. 13.
    Liu Z, Wang J, Liu B (2011) ECG signal denoising based on morphological filtering. In: Proceeding of the 5th international conference on bioinformatics and biomedical engineering, Wuhan, pp 1–4Google Scholar
  14. 14.
    Jan J, Sch Ilden TS (1985) Removal of baseline wander and powerline interference from the ECG by an efficient FIR filters with the reduced number of taps. IEEE Trans Biomed Eng 32(12):1052–1060CrossRefGoogle Scholar
  15. 15.
    She L, Xu Z, Zhang S, Song Y (2010) Denoising of ECG based on EMD improved-thresholding and mathematical morphology operation. In: Proceeding of the 3rd international conference on biomedical engineering and informatics, vol 2. Yantai, pp 838–842Google Scholar
  16. 16.
    Gu Y, Zheng G, Dai M (2011) A morphology algorithm based on 2-dimensional flat structuring element on ECG baseline wander elimination. In: Proceeding of the conference on computing in cardiology, Hangzhou, pp 817–820Google Scholar
  17. 17.
    Zhang F, Lian Y (2007) Electrocardiogram QRS detection using multiscale filtering based on mathematical morphology. In: Proceeding of the 29th annual international conference of the IEEE, Lyon, pp 3196–3199Google Scholar
  18. 18.
    Moody GB, Mark RG (2001) The impact of the MIT-BIH arrhythmia database. IEEE Eng Med Biol Mag 20:45–50CrossRefGoogle Scholar
  19. 19.
    Huang NE, Shen Z, Long SR et al (1998) The empirical mode decomposition and the Hilbert spectrum for non-stationary time series analysis. Proc R Soc Lond A 454:903–995Google Scholar

Copyright information

© Springer India 2013

Authors and Affiliations

  • Rishendra Verma
    • 1
  • Rini Mehrotra
    • 1
  • Vikrant Bhateja
    • 1
  1. 1.Department of Electronics and Communication EngineeringShri Ramswaroop Memorial Group of Professional CollegesLucknowIndia

Personalised recommendations