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

Sinisa Stevan Ilic, Aleksandar Cedomir Zoric, Petar Spalevic, Ljubomir Lazic


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.


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

Full Text:



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®,


Copyright (c) 2017 Sinisa Stevan Ilic, Aleksandar Cedomir Zoric, Petar Spalevic, Ljubomir Lazic

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC-BY-NC  License for Website User

Articles published in IJCCC user license are protected by copyright.

Users can access, download, copy, translate the IJCCC articles for non-commercial purposes provided that users, but cannot redistribute, display or adapt:

  • Cite the article using an appropriate bibliographic citation: author(s), article title, journal, volume, issue, page numbers, year of publication, DOI, and the link to the definitive published version on IJCCC website;
  • Maintain the integrity of the IJCCC article;
  • Retain the copyright notices and links to these terms and conditions so it is clear to other users what can and what cannot be done with the  article;
  • Ensure that, for any content in the IJCCC article that is identified as belonging to a third party, any re-use complies with the copyright policies of that third party;
  • Any translations must prominently display the statement: "This is an unofficial translation of an article that appeared in IJCCC. Agora University  has not endorsed this translation."

This is a non commercial license where the use of published articles for commercial purposes is forbiden. 

Commercial purposes include: 

  • Copying or downloading IJCCC articles, or linking to such postings, for further redistribution, sale or licensing, for a fee;
  • Copying, downloading or posting by a site or service that incorporates advertising with such content;
  • The inclusion or incorporation of article content in other works or services (other than normal quotations with an appropriate citation) that is then available for sale or licensing, for a fee;
  • Use of IJCCC articles or article content (other than normal quotations with appropriate citation) by for-profit organizations for promotional purposes, whether for a fee or otherwise;
  • Use for the purposes of monetary reward by means of sale, resale, license, loan, transfer or other form of commercial exploitation;

    The licensor cannot revoke these freedoms as long as you follow the license terms.

[End of CC-BY-NC  License for Website User]

INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL (IJCCC), With Emphasis on the Integration of Three Technologies (C & C & C),  ISSN 1841-9836.

IJCCC was founded in 2006,  at Agora University, by  Ioan DZITAC (Editor-in-Chief),  Florin Gheorghe FILIP (Editor-in-Chief), and  Misu-Jan MANOLESCU (Managing Editor).

Ethics: This journal is a member of, and subscribes to the principles of, the Committee on Publication Ethics (COPE).

Ioan  DZITAC (Editor-in-Chief) at COPE European Seminar, Bruxelles, 2015:

IJCCC is covered/indexed/abstracted in Science Citation Index Expanded (since vol.1(S),  2006); JCR2018: IF=1.585..

IJCCC is indexed in Scopus from 2008 (CiteScore2018 = 1.56):

Nomination by Elsevier for Journal Excellence Award Romania 2015 (SNIP2014 = 1.029): Elsevier/ Scopus

IJCCC was nominated by Elsevier for Journal Excellence Award - "Scopus Awards Romania 2015" (SNIP2014 = 1.029).

IJCCC is in Top 3 of 157 Romanian journals indexed by Scopus (in all fields) and No.1 in Computer Science field by Elsevier/ Scopus.


 Impact Factor in JCR2018 (Clarivate Analytics/SCI Expanded/ISI Web of Science): IF=1.585 (Q3). Scopus: CiteScore2018=1.56 (Q2); Editors-in-Chief: Ioan DZITAC & Florin Gheorghe FILIP.