Template Matching Using Improved Rotations Fourier Transform Method
Abstract
Template matching is a process to identify and localize a template image on an original image. Several methods are commonly used for template matching, one of which uses the Fourier transform. This study proposes a modification of the method by adding an improved rotation to the Fourier transform. Improved rotation in this study uses increment rotation and three shear methods for the template image rotation process. The three shear rotation method has the advantage of precise and noisefree rotation results, making the template matching process even more accurate. Based on the experimental results, the use of 10°angle increments has increased template matching accuracy. In addition, the use of three shear rotations can improve the accuracy of template matching by 13% without prolonging the processing time.References
R. Susik, S. Grabowski, and K. Fredriksson, “Revisiting Multiple Pattern Matching,” Computing and Informatics, vol. 38, no. 4, pp. 937–962, 2019.
H. Schweitzer, J. W. Bell, and F. Wu, “Very fast template matching,” Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 2353, no. 009741, pp. 358–372, 2002.
M. Che, M. Che, Z. Chao, and X. Cao, “Traffic Light Recognition for Real Scenes Based on Image Processing and Deep Learning,” Computing and Informatics, vol. 39, no. 3, pp. 439–463, 2020.
N. Roshanbin and J. Miller, “A comparative study of the performance of local feature-based pattern recognition algorithms,” Pattern Analysis and Applications, vol. 20, no. 4, pp. 1145–1156, 2017.
W. Q. Huang, M. Z. Huang, and Y. M. Wang, “Detecting objects using Rolling Convolution and Recurrent Neural Network,” International Journal of Electronics and Telecommunications, vol. 65, no. 2, pp. 293–301, 2019.
K. S. Yadav, K. Anish Monsley, R. H. Laskar, S. Misra, M. K. Bhuyan, and T. Khan, “A selective region-based detection and tracking approach towards the recognition of dynamic bare hand gesture using deep neural network,” Multimedia Systems, no. 1, 2022.
C. Vázquez, M. Ghazal, and A. Amer, “Feature-based detection and correction of occlusions and split of video objects,” Signal, Image and Video Processing, vol. 3, pp. 13–25, 2009.
P. H. Chien and G. C. Lee, “A template-based method for identifying input regions in survey forms,” Pattern Recognition and Image Analysis volume, vol. 21, pp. 469–472, 2011.
G. Du, M. Zhou, C. Yin, Z. Wu, and W. Shui, “Classifying fragments of terracotta warriors using template-based partial matching,” Multimedia Tools and Applications, vol. 77, no. 15, pp. 19171–19191, 2018.
H. Weber, “Numerical computation of the fourier transform using Laguerre functions and the Fast Fourier Transform,” Numerische Mathematik, vol. 36, pp. 197–209, 1980.
E. Liflyand, “Fourier transform versus Hilbert transform,” Journal of Mathematical Sciences, vol. 187, pp. 49–56, 2012.
T. Ai, X. Cheng, P. Liu, and M. Yang, “A shape analysis and template matching of building features by the Fourier transform method,” Computers, Environment and Urban Systems, vol. 41, pp. 219–233, 2013.
D. M. Tsai and C. K. Huang, “Defect Detection in Electronic Surfaces Using Template-Based Fourier Image Reconstruction,” IEEE Transactions on Components, Packaging and Manufacturing Technology, vol. 9, no. 1, pp. 163–172, 2019.
A. Mukherjeea and A. Khanb, “A Fourier series based Template Matching Approach to Detect the Splitting of Second Heart Sound,” IOSR Journal of VLSI and Signal Processing, vol. 4, no. 4, pp. 9–13, 2014.
P. Elangovan and M. K. Nath, “A Review: Person Identification using Retinal Fundus Images,” International Journal of Electronics and Telecommunications, vol. 65, no. 4, pp. 585–596, 2019.
M. Sabaghi, S. R. Hadianamrei, M. Fattahi, M. R. Kouchaki, and A. Zahedi, “Retinal Identification System Based on the Combination of Fourier and Wavelet Transform,” Journal of Signal and Information Processing, vol. 3, no. 1, pp. 35–38, 2012.
M. Uenohara and T. Kanade, “Use of Fourier and Karhunen-Loeve decomposition for fast pattern matching with a large set of templates,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 19, no. 8, pp. 891–898, 1997.
G. Zhang, M. Lei, and X. Liu, “Novel template matching method with sub-pixel accuracy based on correlation and Fourier-Mellin transform,” Optical Engineering, vol. 48, no. 4, p. 055001, 2009.
Y. Liu, Q. Zou, and S. Luo, “GPU Accelerated Fourier Cross Correlation Computation and Its Application in Template Matching,” in ICHCC 2011. Communications in Computer and Information Science, 2011, p. 163.
A. M. Grigoryan, A. John, and S. S. Agaian, “A Novel Color Image Enhancement Method by the Transfor- mation of Color Images to 2-D Grayscale Images,” International Journal of Signal Processing and Analysis, vol. 2, no. 2, pp. 1–18, 2017.
T. Ahonen, J. Matas, C. He, and M. Pietikäinen, “Rotation Invariant Image Description with Local Binary Pattern Histogram Fourier Features,” in Scandinavian Conference on Image Analysis, 2009, pp. 61–70.
M. V. Noskov and V. S. Tutatchikov, “Modification of a two-dimensional fast Fourier transform algorithm with an analog of the Cooley–Tukey algorithm for image processing,” Pattern Recognition and Image Analysis, vol. 27, no. 1, pp. 110–113, 2017.
Y. Mei, M. N. Omidvar, X. Li, and X. Yao, “A Competitive Divide-and-Conquer Algorithm for Unconstrained Large-Scale Black-Box Optimization,” ACM Transactions on Mathematical Software, vol. 42, no. 2, pp. 1–24, 2016.
V. Sukhoy and A. Stoytchev, “Generalizing the inverse FFT off the unit circle,” Scientific reports, vol. 4, no. 14443, pp. 1–12, 2019.
T. Y. Goh, S. N. Basah, H. Yazid, M. J. Aziz Safar, and F. S. Ahmad Saad, “Performance analysis of image thresholding: Otsu technique,” Measurement: Journal of the International Measurement Confederation, vol. 114, no. 1, pp. 298–307, 2018.
Downloads
Published
Issue
Section
License
Copyright (c) 2022 International Journal of Electronics and Telecommunications
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on https://creativecommons.org/licenses/by/4.0/.
2. Author’s Warranties
The author warrants that the article is original, written by stated author/s, has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author/s. The undersigned also warrants that the manuscript (or its essential substance) has not been published other than as an abstract or doctorate thesis and has not been submitted for consideration elsewhere, for print, electronic or digital publication.
3. User Rights
Under the Creative Commons Attribution license, the author(s) and users are free to share (copy, distribute and transmit the contribution) under the following conditions: 1. they must attribute the contribution in the manner specified by the author or licensor, 2. they may alter, transform, or build upon this work, 3. they may use this contribution for commercial purposes.
4. Rights of Authors
Authors retain the following rights:
- copyright, and other proprietary rights relating to the article, such as patent rights,
- the right to use the substance of the article in own future works, including lectures and books,
- the right to reproduce the article for own purposes, provided the copies are not offered for sale,
- the right to self-archive the article
- the right to supervision over the integrity of the content of the work and its fair use.
5. Co-Authorship
If the article was prepared jointly with other authors, the signatory of this form warrants that he/she has been authorized by all co-authors to sign this agreement on their behalf, and agrees to inform his/her co-authors of the terms of this agreement.
6. Termination
This agreement can be terminated by the author or the Journal Owner upon two months’ notice where the other party has materially breached this agreement and failed to remedy such breach within a month of being given the terminating party’s notice requesting such breach to be remedied. No breach or violation of this agreement will cause this agreement or any license granted in it to terminate automatically or affect the definition of the Journal Owner. The author and the Journal Owner may agree to terminate this agreement at any time. This agreement or any license granted in it cannot be terminated otherwise than in accordance with this section 6. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.
7. Royalties
This agreement entitles the author to no royalties or other fees. To such extent as legally permissible, the author waives his or her right to collect royalties relative to the article in respect of any use of the article by the Journal Owner or its sublicensee.
8. Miscellaneous
The Journal Owner will publish the article (or have it published) in the Journal if the article’s editorial process is successfully completed and the Journal Owner or its sublicensee has become obligated to have the article published. Where such obligation depends on the payment of a fee, it shall not be deemed to exist until such time as that fee is paid. The Journal Owner may conform the article to a style of punctuation, spelling, capitalization and usage that it deems appropriate. The Journal Owner will be allowed to sublicense the rights that are licensed to it under this agreement. This agreement will be governed by the laws of Poland.
By signing this License, Author(s) warrant(s) that they have the full power to enter into this agreement. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.