Abstract
Template matching (TM) plays an important role in several image processing applications such as feature tracking, object recognition, stereo matching and remote sensing. In a TM approach, it is sought the point in which it is proposed the best possible resemblance between a sub-image known as template and its coincident region within a source image. TM involves two critical aspects: similarity measurement and search strategy. The simplest available TM method finds the best possible coincidence between the images through an exhaustive computation of the Normalized cross-correlation (NCC) values (similarity measurement) for all elements of the source image (search strategy). In this chapter, a new algorithm based on the Electromagnetism-Like algorithm (EMO) is presented to reduce the number of search locations in the TM process. The algorithm uses an enhanced EMO version where a modification of the local search procedure is incorporated in order to accelerate the exploitation process. The number of NCC evaluations is also reduced by considering a memory which stores the NCC values previously visited in order to avoid the re-evaluation of the same search locations (particles).. Conducted simulations show that the proposed method achieves the best balance over other TM algorithms, in terms of estimation accuracy and computational cost.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Brunelli, R.: Template Matching Techniques in Computer Vision: Theory and Practice. Wiley, New York (2009)
Crispin, A.J., Rankov, V.: Automated inspection of PCB components using a genetic algorithm template-matching approach. Int. J. Adv. Manuf. Technol. 35, 293–300 (2007)
Juan, L., Jingfeng, Y., Chaofeng, G.: Research and implementation of image correlation matching based on evolutionary algorithm. In: Future Computer Science and Education (ICFCSE). 2011 International Conference, pp. 499, 501. 20–21 Aug 2011
Hadi, G., Mojtaba, L., Hadi, S.Y.: An improved pattern matching technique for lossy/lossless compression of binary printed Farsi and Arabic textual images. Int. J. Intell. Comput. Cybernet. 2(1), 120–147 (2009)
Krattenthaler, W., Mayer, K.J., Zeiler, M.: Point correlation: a reduced-cost template matching technique. In: Proceedings of the First IEEE International Conference on Image Processing, pp. 208–212 (1994)
Dong, N., Wu, C.-H., Ip, W.-H., Chen, Z.-Q., Chan, C.-Y., Yung, K.-L.: An improved species based genetic algorithm and its application in multiple template matching for embroidered pattern inspection. Expert Syst. Appl. 38, 15172–15182 (2011)
Liu, F., Duana, H., Deng, Y.: A chaotic quantum-behaved particle swarm optimization based on lateral inhibition for image matching. Optik 123, 1955–1960 (2012)
Wu, C.-H., Wang, D.-Z., Ip, A., Wang, D.-W., Chan, C.-Y., Wang, H.-F.: A particle swarm optimization approach for components placement inspection on printed circuit boards. J. Intell. Manuf. 20, 535–549 (2009)
Duan, H., Chunfang, X., Liu, S., Shao, S.: Template matching using chaotic imperialist competitive algorithm. Pattern Recogn. Lett. 31, 1868–1875 (2010)
Ilker, B., Birbil, S., Shu-Cherng, F.: An electromagnetism-like mechanism for global optimization. J. Global Optim. 25, 263–282 (2003)
Birbil, S.I., Fang, S.C., Sheu, R.L.: On the convergence of a population-based global optimization algorithm. J. Global Optim. 30(2), 301–318 (2004)
Rocha, A., Fernandes, E.: Hybridizing the electromagnetism-like algorithm with descent search for solving engineering design problems. Int. J. Comput. Math. 86, 1932–1946 (2009)
Rocha, A., Fernandes, E.: Modified movement force vector in an electromagnetism-like mechanism for global optimization. Optim. Methods Softw. 24, 253–270 (2009)
Naderi, B., Tavakkoli-Moghaddam, R., Khalili, M.: Electromagnetism-like mechanism and simulated annealing algorithms for flowshop scheduling problems minimizing the total weighted tardiness and makespan. Knowl.-Based Syst. 23, 77–85 (2010)
Hung, H.-L., Huang, Y.-F.: Peak to average power ratio reduction of multicarrier transmission systems using electromagnetism-like method. Int. J. Innovative Comput. 7(5), 2037–2050 (2011)
Yurtkuran, A., Emel, E.: A new hybrid electromagnetism-like algorithm for capacitated vehicle routing problems. Expert Syst. Appl. 37, 3427–3433 (2010)
Jhen-Yan, J., Kun-Chou, L.: Array pattern optimization using electromagnetism-like algorithm. AEU Int. J. Electron. Commun. 63, 491–496 (2009)
Wu, P., Wen-Hung, Y., Nai-Chieh, W.: An electromagnetism algorithm of neural network analysis an application to textile retail operation. J. Chin. Inst. Ind. Eng. 21, 59–67 (2004)
Lee, C.H., Chang, F.K.: Fractional-order PID controller optimization via improved electromagnetism-like algorithm. Expert Syst. Appl. 37, 8871–8878 (2010)
Cuevas, E., Oliva, D., Zaldivar, D., Pérez-Cisneros, M., Sossa, H.: Circle detection using electro-magnetism optimization. Inf. Sci. 182(1), 40–55 (2012)
Guan, Xianping, Dai, Xianzhong, Li, Jun: Revised electromagnetism-like mechanism for flow path design of unidirectional AGV systems. Int. J. Prod. Res. 49(2), 401–429 (2011)
Lee, C.H., Chang, F.K.: Fractional-order PID controller optimization via improved electromagnetism-like algorithm. Expert Syst. Appl. 37, 8871–8878 (2010)
Zhang, C., Li, X., Gao, L., Wu, Q.: An improved electromagnetism-like mechanism algorithm for constrained optimization. In: Expert Systems with Applications. doi:10.1016/j.eswa.2013.04.028 (in Press)
Kennedy, J., Eberhart, R.C.: Particle swarm optimization. In: Proceedings of IEEE International Conference on Neural Networks, Piscataway. pp. 1942–1948 (1995)
Price, K., Storn, R.M., Lampinen, J.A.: Differential Evolution: A Practical Approach to Global Optimization. Springer, New York (2005)
Pedersen, M.E.H.: Good parameters for Particle Swarm Optimization. Technical report HL1001, Hvass Laboratories (2010)
Pedersen, M.E.H.: Good parameters for Differential Evolution. Technical report HL1002, Hvass Laboratories (2010)
Wilcoxon, F.: Individual comparisons by ranking methods. Biometrics 1, 80–83 (1945)
Garcia, S., Molina, D., Lozano, M., Herrera, F.: A study on the use of non-parametric tests for analyzing the evolutionary algorithms’ behaviour: a case study on the CEC’2005 Special session on real parameter optimization. J. Heurist. (2008). doi:10.1007/s10732-008-9080-4
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Oliva, D., Cuevas, E. (2017). Template Matching Using a Physical Inspired Algorithm. In: Advances and Applications of Optimised Algorithms in Image Processing. Intelligent Systems Reference Library, vol 117. Springer, Cham. https://doi.org/10.1007/978-3-319-48550-8_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-48550-8_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-48549-2
Online ISBN: 978-3-319-48550-8
eBook Packages: EngineeringEngineering (R0)