Multithreaded Aapplication for Real-Time Visualization of ECG Signal Waveforms and Their Spectrums


  • Sinisa Stevan Ilic Faculty of Technical Sciences in Kosovska Mitrovica, Serbia
  • Aleksandar Cedomir Zoric Faculty of Technical Sciences in Kosovska Mitrovica, Serbia
  • Petar Spalevic Faculty of Technical Sciences in Kosovska Mitrovica, Serbia
  • Ljubomir Lazic State University of Novi Pazar


Biomedical signal processing, Fast Fourier transforms, Multithreading, Real time systems, Wavelet transforms


By using concept of virtual instrumentation, signals from human body can be digitized and transferred to computer for further processing. Software in a computer enables use of modern tools for digital signal processing that can be improved easily with emergence of new knowledge and with increasing of computer performances. Presenting the ECG signal in both: Time and Time-Frequency domains enables to cardiologist to obtain more reliable diagnosis.

In order to present simultaneously the waveform and spectrogram of ECG signal in the real time we use Fast Fourier and Discrete Wavelet transform in the multithreading environment of a standard personal computer. The synchronization of accessing the signal data by threads according to the principle one thread a time is performed by controlling the state of event type variables.

Author Biography

Sinisa Stevan Ilic, Faculty of Technical Sciences in Kosovska Mitrovica, Serbia

Department for Computer Sciences and Informatics, assistant professor


A. Ferrero:, Software for Personal Instruments, IEEE Trans. On Instrum. And Measurement, Vol.39, No.6, pp.860-863, 1990.

National Instruments, Instrumentation: reference and catalogue, Austin, Texas, USA 1996.

R. House:, Choosing the Right Software for Data Acquisition, IEEE Spectrum, pp.23-40, March 1995.

U.Kunzmann, G. von Wagner, J.Schochlin, A.Bolz:, Parameter extraction of ECG signals in real-time, Biomedizinische Technik, vol. 47, 2002.

C. Marchesi, M. Paoletti, ECG processing algorithms for portable monitoring units, The internet journal of Medical Technology, vol. 1, no. 2, 2004.

M. Tarvainen, S. Georgiadis, P O Ranta-aho, P Karjalainen:, Time varying analysis of heart rate variability signals with Kalman smoother algorithm, Physiological Measurement Vol 27(3) pp. 225-239, 2006.

Siniša Ilić:, Comparison of Compression Ratios for ECG Signals by Using Three Time-Frequency Transformations, Facta Univ. Ser.: Elec. Energ., vol. 20, No. 2, August 2007, pp. 223-232

Siniša S. Ilić, "Detection of the Left Bundle Branch Block in Continuous Wavelet Transform of ECG Signal", Electronics And Electrical Engineering, No. 2(74) 2007.

S.Ilic, P.Spalevic, M.Aleksic, N.Jancev, Lj. Lazic, Z.Vasic,: Improvement in decision-making in emergency medicine by using PC-based system for electrocardiography, Tehnika, Vol3/2011.

P. Addison, J. Watson, G.Clegg, M. Holzer, F. Sterz and C. Robertson, "Evaluating arrhythmias in ECG signals using wavelet transforms", IEEE Engineering in Medicine and Biology, vol. September/October, pp. 104-109, 2000.

T. Ustun, N. Iftimia, R. Ferguson, and D. Hammera, "Real-time processing for Fourier domain optical coherence tomography using a field programmable gate array", Review of Scientific Instruments 79, 2008.

S. Gross, T. Stehle, "RealTimeFrame - A Real Time Processing Framework for Medical Video Sequences", Acta Polytechnica Vol. 48 No. 3/2008

T. Eom, H. Kim, C. Kim, Y. Lee, E. Choi, "Real time display Fourier-domain OCT using multi-thread parallel computing with data vectorization", Optical Coherence Tomography and Coherence Domain Optical Methods in Biomedicine XV, 2011

Yi Pan, Jie Li and Ranga Vemuri, "Continuous Wavelet Transform On Reconfigurable Meshes", Proceedings of the 15th International Parallel and Distributed Processing Symposium (IPDPS '01), 2001

P. Thulasiraman, A. Khokhar, G. Heber, and G. Gao, "A fine-grain load-adaptive algorithm of the 2D discrete wavelet transform for multithreaded architectures", Journal of Parallel and Distributed Computing, 64 (2004) pp. 68-78

L. Diduch, R. Müller, G. Rigoll. "A Framework for Modular Signal Processing Systems with High-Performance Requirements" in IEEE International Conference on Multimedia & Expo (ICME), Beijing, China, 2007.

A. Žorić, S. Ilić:, PC-based system for electrocardiography and data acquisition, Proc. of 7th International Conference on Telecommunications in Modern Satellite, Cable and Broadcasting Services TELSIKS, Niš, Serbia and Montenegro, 2005.

A. Žorić, S. Ilić, Ä. Perišić, S Obradović and P. Spalević, "Wireless electrocardiography system", Scientific Research and Essays Vol. 7(4), pp. 468-476, 2012

M. Dunbar, "Plug-and-Play Sensors in Wireless Networks", IEEE Instrumentation and Measurement Magazine 4(1), P. 19-23. 2001.

Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", California Technical Publishing, 1997.

M.Misiti, Y.Misiti, G.Oppenheim, J.M.Poggi, Wavelet Toolbox For Use with MATLAB®,



Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.