Skip to main content

Embedded Implementation of Template Matching Using Correlation and Particle Swarm Optimization

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2016 (ICCSA 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9787))

Included in the following conference series:

Abstract

The template matching is an important technique used in pattern recognition. The goal is find a given pattern, from a prescribed model, in a frame sequence. In order to evaluate the similarity of two images, the Pearsons Correlation Coefficient (PCC) is widely used. This coefficient is calculated for each of the image pixels, which entails a computationally very expensive operation. This paper proposes the implementation of Template Matching using the PCC based method together with Particle Swarm Optimization as an embedded system. This approach allows for a great versatility to use this kind of system in portable equipment. The results indicate that PSO is up to 158x faster than the brute force exhausted search. So, the thus obtained co-design with PCC computation implemented in hardware, while the PSO process in software, is a viable way to achieve real time template matching, which is a pre-requisite in real-word applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Narayana, M.: Automatic tracking of moving objects in video for surveillance applications. Kansas University (2007)

    Google Scholar 

  2. Ali, A., Kausar, H., Khan, M.I.: Automatic visual tracking and firing system for anti aircraft machine gun. In: International Bhurban Conference on Applied Sciences & Technology, Islamabad, Pakistan, January 2009

    Google Scholar 

  3. Choi, H., Kim, Y.: UAV guidance using a monocular-vision sensor for aerial target tracking. Control Eng. Pract. 22, 10–19 (2014)

    Article  Google Scholar 

  4. Forlenza, L.K., Fasano, G., Accardo, D., Moccia, A.: Flight performance analysis of an image processing algorithm for integrated sense-and-avoid systems. Int. J. Aerosp. Eng. 2012, 1–8 (2012). Hindawi Publishing Corporation

    Article  Google Scholar 

  5. Benfold, B., Reid, I.: Stable multi-target tracking in real-time surveillance video. In: Proceedings of Computer Vision and Pattern Recognition (CVPR), Colorado Springs (2011)

    Google Scholar 

  6. Olson, T.L.P., Sanford, C.W.: A real-time multistage IR image-based tracker. In: Proceedings of Acquisition, Tracking and Pointing XIII, SPIE, vol. 3692, July 1999

    Google Scholar 

  7. Ahuja, K., Tuli, P.: Object recognition by template matching using correlations and phase angle method. Int. J. Adv. Res. Comput. Commun. Eng. 2(3), 1368–1373 (2013)

    Google Scholar 

  8. Mahalakshmi, T., Muthaiah, R., Swaminathan, P.: An overview of template matching technique in image processing. Res. J. Appl. Sci. Eng. Technol. 4(24), 5469–5473 (2012)

    Google Scholar 

  9. Sharma, P., Kaur, M.: Classification in pattern recognition: a review. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 3(4), 2013

    Google Scholar 

  10. Tavares, Y.M., Nedjah, N., Mourelle, L.M.: Utilização de otimização por enxame de particulas e algoritmos genéticos em rastreamento de padrões. In: XXII Congresso Brasileiro de Inteligência Computacional (2015)

    Google Scholar 

  11. Siciliano, A.V.: Algoritmos genéticos e particle swarm optimization e suas aplicações problemas de guerra eletrônica. In: IX Simpósio de Guerra Eletrônica, Instituto Tecnológico da Aeronáutica, São José dos Campos, SP (2007)

    Google Scholar 

  12. Ngo, H.T., et al.: Real-time video surveillance on an embedded, programmable platform. Microprocess. Microsyst. 37(6), 562–571 (2013). Elsevier

    Article  Google Scholar 

  13. Vinod, G., Anitta, R.: Implementation of FFT based automatic image mosaicing. Int. J. Adv. Res. Electr. Electron. Instrum. Eng. 2(12), 6002–6009 (2013)

    Google Scholar 

  14. Miranda, A.N.: Pearsons correlation coefficient: a more realistic threshold for applications on autonomous robotics. Comput. Technol. Appl. 5, 69–72 (2014)

    Google Scholar 

  15. Matthews, I., Ishikawa, T., Baker, S.: The template update problem. IEEE Trans. Pattern Anal. Mach. Intell. 6, 810–815 (2004)

    Article  Google Scholar 

  16. SVDK Hardware User Guide: Document Revision 1.1, May 2015

    Google Scholar 

  17. PicoZed 7Z015 / 7Z030 System-On Module Hardware User Guide, Version 1.3, July 2015

    Google Scholar 

  18. Zynq-7000 AP SoC Technical Reference Manual - UG585, version 1.10, February 2015

    Google Scholar 

  19. Rafale - Avião Caça de alta Tecnologia (Brasil) (2015). http://www.youtube.com/watch?v=e3wi-i_hDVQ

  20. Collins, R.T.; Zhou, X.; Teh, S.K.: An open source tracking testbedand evaluation web site. In: IEEE International Workshop on PerformanceEvaluation of Tracking and Surveillance (PETS) (2005). http://vision.cse.psu.edu/data/vividEval/datasets/datasets.html

  21. Nedjah, N., Mourelle, L.M.: Co-design for System Acceleration: A Quantitative Approach. Springer, Berlin (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuri Marchetti Tavares .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Tavares, Y.M., Nedjah, N., de Macedo Mourelle, L. (2016). Embedded Implementation of Template Matching Using Correlation and Particle Swarm Optimization. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2016. ICCSA 2016. Lecture Notes in Computer Science(), vol 9787. Springer, Cham. https://doi.org/10.1007/978-3-319-42108-7_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-42108-7_41

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-42107-0

  • Online ISBN: 978-3-319-42108-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics