Template Matching Using Improved Rotations Fourier Transform Method

Authors

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.

Author Biography

Marvin Chandra Wijaya, Maranatha Christian University

Computer Engineering Departement

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

2024-04-19

Issue

Section

Image Processing