Multithreading Application for Counting Vehicle by Using Background Subtraction Method

Yohanssen Pratama(1*), Puspoko Ponco Ratno(2)

(1) Faculty of Informatics and Electrical Engineering, Institut Teknologi Del, Sitoluama
(2) Faculty of Tarbiyah, Institut Agama Islam Negeri Kediri, Jawa Timur
(*) Corresponding Author


Image and video processing has become important part in intelligent transportation system (ITS) application, especially for collecting road traffic data. Pictures that already collected by a charged coupled device (CCD) camera usually being processed by several image processing algorithms and the application’s code will be executed in a large number of iteration because many algorithms are getting involved in processing the frame which captured by the camera. Typical application will process the first frame until finish and then continue to the next frame, so the application must wait until the first frame being processed. If the algorithms that executed quite complex and have a significant running time there will be a dropped frame and the time difference between data acquisition and real time video is divided by large margin. We proposed an implementation of multithreading to boost the application performance so the data can be acquire in real time and every new frame could be processed in short time. The application performance before and after using a multithreading is known by comparing the data acquisition time that stored in the database. The application effectiveness could define by running a multiple video streaming in same resolution.


background subtraction; image; intelligent transport system; multithreaded; parallel processing

Full Text:



[1] K. Anandhanarayanan and R. Govindaraj, “High Performance Color Image Processing in Multicore CPU using MFC Multithreading,” International Journal of Advanced Computer Science and Applications, vol. 4, no. 12, 2013 [Online]. Available: [Accessed: 01-Jul-2020]

[2] M. Shanti and A. Anthony, “Multithreading – An Efficient Technique for Enhancing Application Performance,” International Journal of Recent Trends in Engineering, vol.2, no.4, 2009.

[3] K. Alda and G. Silvana, “Multithreading Image Processing in Single-core and Multi-core CPU using Java,” International Journal of Advanced Computer Science and Applications, vol. 4, no. 9, 2013 [Online]. Available: [Accessed: 01-Jul-2020]

[4] E.W. Dijkstra, “Information Streams Sharing a Finite Buffer,” Information Processing Letters, vol. 1.5, no. 1072, p. 179-180, 1972.

[5] M. Hofmann, P. Tiefenbacher, and G. Rigoll,Background segmentation with feedback: The pixel-based adaptive segmenter,” IEEE Workshop on Change Detection, p. 38-43, 2012 [Online]. Available: [Accessed: 01-Jul-2020]

[6] O. Barnich and M. Van Droogenbroeck, “ViBe: A Universal Background Subtraction Algorithm for Video Sequences,” IEEE Transactions on Image Processing, p. 1709-1724, 2011 [Online]. Available: [Accessed: 01-Jul-2020]

[7] Y. Pratama and B. Nugraha, “Vehicle Counting and Classification for Traffic Data Acquisition,” Jurnal Teknologi, vol. 78, p.77-82, 2016.

[8] A. Manzanera and J. Richefeu, “A new motion detection algorithm based on sigma-delta background estimation,” Pattern Recognition Letters, p. 320–328, 2007[Online]. Available: [Accessed: 01-Jul-2020]

[9] A. Senior, A. Hampapur, Y. Tian, L. Brown, S. Pankanti, and R. Bolle, “Appearance models for occlusion handling,” Image and Vision Computing, vol.24, p. 1233-1243, 2006 [Online]. Available: [Accessed: 01-Jul-2020]

[10] A. Sobral, C. Baker, T. Bouwmans, and E. Zahzah, “Incremental and multi-feature tensor subspace learning applied for background modeling and subtraction,” International Conference on Image Analysis and Recognition, ICIAR 2014, 2014 [Online]. Available: [Accessed: 01-Jul-2020]


Article Metrics

Abstract views : 2304 | views : 1697


  • There are currently no refbacks.

Copyright (c) 2020 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)

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

Copyright of :
IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
ISSN 1978-1520 (print); ISSN 2460-7258 (online)
is a scientific journal the results of Computing
and Cybernetics Systems
A publication of IndoCEISS.
Gedung S1 Ruang 416 FMIPA UGM, Sekip Utara, Yogyakarta 55281
Fax: +62274 555133 |

View My Stats1
View My Stats2