Skip to main content
Erschienen in: Pattern Analysis and Applications 3/2021

13.06.2021 | Industrial and Commercial Application

A real-time two-stage and dual-check template matching algorithm based on normalized cross-correlation for industrial vision positioning

verfasst von: Fengjun Chen, Jinqi Liao, Zejin Lu, Jiyang Lv

Erschienen in: Pattern Analysis and Applications | Ausgabe 3/2021

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this paper, a fast template matching algorithm of two-stage and dual-check bounded partial correlation (TDBPC) based on normalized cross-correlation (NCC) of single-check bounded partial correlation is proposed. According to the principle of continuous rows, the template and the sub-image under matching are divided into three subregions to obtain two upper boundary terms of NCC and get two checking conditions then. In this way, it is possible to quickly eliminate matching points that cannot provide a better cross-correlation score regarding the current best candidate. Generally, to get the highest cross-correlation score, the sub-image has to traverse through the whole image. In addition, the two-stage search strategy of coarse–fine proposed in this paper can further reduce the calculation and improve matching efficiency. The initialization parameters are selected experimentally or automatically. Experimental results show that the TDBPC algorithm proposed in this paper can solve high computational complexity and long matching time of NCC template matching and make it possible to achieve real-time template matching in industrial vision positioning fields. The feasibility of this algorithm in practical application is proved.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Chen F, Ye X, Yin S, Ye Q, Huang S, Tang Q (2018) Automated vision positioning system for dicing semiconductor chips using improved template matching method. Int J Adv Manuf Technol 100:2669–2678CrossRef Chen F, Ye X, Yin S, Ye Q, Huang S, Tang Q (2018) Automated vision positioning system for dicing semiconductor chips using improved template matching method. Int J Adv Manuf Technol 100:2669–2678CrossRef
2.
Zurück zum Zitat Zhong F, He S, Li B (2017) Blob analyzation-based template matching algorithm for LED chip localization. Int J Adv Manuf Technol 93:55–63CrossRef Zhong F, He S, Li B (2017) Blob analyzation-based template matching algorithm for LED chip localization. Int J Adv Manuf Technol 93:55–63CrossRef
5.
Zurück zum Zitat Connell SD, Jain AK (2001) Template-based online character recognition. Pattern Recognit 34:1–14CrossRef Connell SD, Jain AK (2001) Template-based online character recognition. Pattern Recognit 34:1–14CrossRef
6.
Zurück zum Zitat Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis 60:91–110CrossRef Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis 60:91–110CrossRef
7.
Zurück zum Zitat Wu X, Zhao Q, Bu W (2014) A SIFT-based contactless palmprint verification approach using iterative RANSAC and local palmprint descriptors. Pattern Recognit 47:3314–3326CrossRef Wu X, Zhao Q, Bu W (2014) A SIFT-based contactless palmprint verification approach using iterative RANSAC and local palmprint descriptors. Pattern Recognit 47:3314–3326CrossRef
8.
Zurück zum Zitat Bay H, Ess A, Tuytelaars T (2008) Speeded-up robust features (SURF). Comput Vis Image Underst 110:346–359CrossRef Bay H, Ess A, Tuytelaars T (2008) Speeded-up robust features (SURF). Comput Vis Image Underst 110:346–359CrossRef
9.
Zurück zum Zitat Teh CH, Chin RT (1988) On image analysis by the methods of moments. IEEE Trans Pattern Anal 10:496–513CrossRef Teh CH, Chin RT (1988) On image analysis by the methods of moments. IEEE Trans Pattern Anal 10:496–513CrossRef
10.
Zurück zum Zitat Hwang SK, Kim WY (2006) A novel approach to the fast computation of Zernike moments. Pattern Recognit 39:2065–2076CrossRef Hwang SK, Kim WY (2006) A novel approach to the fast computation of Zernike moments. Pattern Recognit 39:2065–2076CrossRef
11.
Zurück zum Zitat Wee CY, Paramesran R (2007) On the computational aspects of Zernike moments. Image Vis Comput 25:967–980CrossRef Wee CY, Paramesran R (2007) On the computational aspects of Zernike moments. Image Vis Comput 25:967–980CrossRef
12.
Zurück zum Zitat Revaud J, Lavoue G, Baskurt A (2009) Improving Zernike moments comparison for optimal similarity and rotation angle retrieval. IEEE Trans Pattern Anal Mach Intell 31:627–636CrossRef Revaud J, Lavoue G, Baskurt A (2009) Improving Zernike moments comparison for optimal similarity and rotation angle retrieval. IEEE Trans Pattern Anal Mach Intell 31:627–636CrossRef
13.
Zurück zum Zitat Barnea DI, Silverman HF (1972) A class of algorithms for fast digital image registration. IEEE Trans Comput C–21:179–186CrossRef Barnea DI, Silverman HF (1972) A class of algorithms for fast digital image registration. IEEE Trans Comput C–21:179–186CrossRef
14.
Zurück zum Zitat Bei CD, Gray RM (1985) An improvement of the minimum distortion encoding algorithm for vector quantization. IEEE Trans Commun com-33:1132–1133 Bei CD, Gray RM (1985) An improvement of the minimum distortion encoding algorithm for vector quantization. IEEE Trans Commun com-33:1132–1133
15.
Zurück zum Zitat Li W, Salari E (1995) Successive elimination algorithm for motion estimation. IEEE T Image Process 4:105–107CrossRef Li W, Salari E (1995) Successive elimination algorithm for motion estimation. IEEE T Image Process 4:105–107CrossRef
16.
Zurück zum Zitat Wang HS, Mersereau RM (1999) Fast algorithms for the estimation of motion vectors. IEEE T Image Process 8:435–439CrossRef Wang HS, Mersereau RM (1999) Fast algorithms for the estimation of motion vectors. IEEE T Image Process 8:435–439CrossRef
17.
Zurück zum Zitat Atallah MJ (2001) Faster image template matching in the sum of absolute value of differences measure. IEEE Trans Image Process 10:659–663MathSciNetCrossRef Atallah MJ (2001) Faster image template matching in the sum of absolute value of differences measure. IEEE Trans Image Process 10:659–663MathSciNetCrossRef
18.
Zurück zum Zitat Essannouni F, Thami ROH, Aboutajdine D, Salam A (2007) Adjustable SAD matching algorithm using frequency domain. J Real Time Image Process 1:257–265CrossRef Essannouni F, Thami ROH, Aboutajdine D, Salam A (2007) Adjustable SAD matching algorithm using frequency domain. J Real Time Image Process 1:257–265CrossRef
19.
Zurück zum Zitat Briechle K, Hanebeck UD (2001) Template matching using fast normalized cross correlation. Opt Pattern Recogn XII 4387:95–102CrossRef Briechle K, Hanebeck UD (2001) Template matching using fast normalized cross correlation. Opt Pattern Recogn XII 4387:95–102CrossRef
20.
Zurück zum Zitat Cooley J, Lewis P, Welch P (1967) Application of the fast fourier transform to computation of Fourier integrals, Fourier series, and convolution integrals. IEEE Trans Audio Electroacoust 15:79–84CrossRef Cooley J, Lewis P, Welch P (1967) Application of the fast fourier transform to computation of Fourier integrals, Fourier series, and convolution integrals. IEEE Trans Audio Electroacoust 15:79–84CrossRef
21.
Zurück zum Zitat Rao KR, Kim DN, Hwang JJ (2010) Fast Fourier transform algorithms and applications. In: Signals and communication technology Rao KR, Kim DN, Hwang JJ (2010) Fast Fourier transform algorithms and applications. In: Signals and communication technology
22.
23.
Zurück zum Zitat Kaso A (2018) Computation of the normalized cross-correlation by fast Fourier transform. PLoS One 13:e0203434CrossRef Kaso A (2018) Computation of the normalized cross-correlation by fast Fourier transform. PLoS One 13:e0203434CrossRef
24.
Zurück zum Zitat Lewis JP (1995) Fast template matching. In: Vision interface 95, Canadian image processing and pattern recognition society Quebec City, Canada, May 15, vol 19, pp 120–123 Lewis JP (1995) Fast template matching. In: Vision interface 95, Canadian image processing and pattern recognition society Quebec City, Canada, May 15, vol 19, pp 120–123
25.
Zurück zum Zitat Stefano LD, Mattoccia S (2003) Fast template matching using bounded partial correlation. Mach Vis Appl 13:213–221CrossRef Stefano LD, Mattoccia S (2003) Fast template matching using bounded partial correlation. Mach Vis Appl 13:213–221CrossRef
26.
Zurück zum Zitat Stefano LD, Mattoccia S (2003) A sufficient condition based on the Cauchy-Schwarz inequality for efficient template matching. In: International conference on image processing, pp 269–272 Stefano LD, Mattoccia S (2003) A sufficient condition based on the Cauchy-Schwarz inequality for efficient template matching. In: International conference on image processing, pp 269–272
27.
Zurück zum Zitat Mattoccia S, Tombari F, Di Stefano L (2008) Fast full-search equivalent template matching by enhanced bounded correlation. IEEE Trans Image Process 17:528–538MathSciNetCrossRef Mattoccia S, Tombari F, Di Stefano L (2008) Fast full-search equivalent template matching by enhanced bounded correlation. IEEE Trans Image Process 17:528–538MathSciNetCrossRef
28.
Zurück zum Zitat Wen-Chia L, Chin-Hsing C (2012) A fast template matching method with rotation invariance by combining the circular projection transform process and bounded partial correlation. IEEE Signal Proc Lett 19:737–740CrossRef Wen-Chia L, Chin-Hsing C (2012) A fast template matching method with rotation invariance by combining the circular projection transform process and bounded partial correlation. IEEE Signal Proc Lett 19:737–740CrossRef
30.
Zurück zum Zitat Vanderburg G, Rosenfeld A (1977) Two-stage template matching. IEEE Trans Comput 1:104–107 Vanderburg G, Rosenfeld A (1977) Two-stage template matching. IEEE Trans Comput 1:104–107
31.
Zurück zum Zitat Choi MS, Kim WY (2002) A novel two stage template matching method for rotation and illumination invariance. Pattern Recognit 35:119–129CrossRef Choi MS, Kim WY (2002) A novel two stage template matching method for rotation and illumination invariance. Pattern Recognit 35:119–129CrossRef
32.
Zurück zum Zitat Krattenthaler W, Mayer K, M.Zeiler (1994) point correlation: a reduced-cost template matching technique. In: International conference on image processing, pp 208–212 Krattenthaler W, Mayer K, M.Zeiler (1994) point correlation: a reduced-cost template matching technique. In: International conference on image processing, pp 208–212
33.
Zurück zum Zitat Ouyang W, Tombari F, Mattoccia S, Di Stefano L, Cham WK (2012) Performance evaluation of full search equivalent pattern matching algorithms. IEEE Trans Pattern Anal Mach Intell 34:127–143CrossRef Ouyang W, Tombari F, Mattoccia S, Di Stefano L, Cham WK (2012) Performance evaluation of full search equivalent pattern matching algorithms. IEEE Trans Pattern Anal Mach Intell 34:127–143CrossRef
34.
Zurück zum Zitat Itamar I, Mechres R, Zelnik-Manor L (2017) Template matching with deformable diversity similarity. In: The IEEE conference on computer vision and pattern recognition, pp 175–183 Itamar I, Mechres R, Zelnik-Manor L (2017) Template matching with deformable diversity similarity. In: The IEEE conference on computer vision and pattern recognition, pp 175–183
35.
Zurück zum Zitat Korman S, Milam M, Soatto S (2018) OATM: occlusion aware template matching by consensus set maximization. In: The IEEE conference on computer vision and pattern recognition, pp 2675–2683 Korman S, Milam M, Soatto S (2018) OATM: occlusion aware template matching by consensus set maximization. In: The IEEE conference on computer vision and pattern recognition, pp 2675–2683
36.
Zurück zum Zitat Oron S, Dekel T, Xue T, Freeman WT (2018) Best-buddies similarity—Robust template matching using mutual nearest neighbors. IEEE Trans Pattern Anal Mach Intell 40:1799–1813CrossRef Oron S, Dekel T, Xue T, Freeman WT (2018) Best-buddies similarity—Robust template matching using mutual nearest neighbors. IEEE Trans Pattern Anal Mach Intell 40:1799–1813CrossRef
37.
Zurück zum Zitat Lai J, Lei L, Deng K, Yan R, Ruan Y, Jinyun Z (2020) Fast and robust template matching with majority neighbour similarity and annulus projection transformation. Pattern Recognit 98:107029CrossRef Lai J, Lei L, Deng K, Yan R, Ruan Y, Jinyun Z (2020) Fast and robust template matching with majority neighbour similarity and annulus projection transformation. Pattern Recognit 98:107029CrossRef
38.
Zurück zum Zitat McDonnell MJ (1981) Box-filtering technique. Comput Graph Image Process 17:65–70CrossRef McDonnell MJ (1981) Box-filtering technique. Comput Graph Image Process 17:65–70CrossRef
39.
Zurück zum Zitat MacLean J, Tsotsos J (2000) Fast pattern recognition using gradient-descent search in an image pyramid. In: International conference on pattern recognition, pp 873–877 MacLean J, Tsotsos J (2000) Fast pattern recognition using gradient-descent search in an image pyramid. In: International conference on pattern recognition, pp 873–877
40.
Zurück zum Zitat Takei R (2003) A new grey-scale template image matching algorithm using the cross-sectional histogram correlation method. Dynax Corporation Fuchu-City, Fuchu-cho Takei R (2003) A new grey-scale template image matching algorithm using the cross-sectional histogram correlation method. Dynax Corporation Fuchu-City, Fuchu-cho
Metadaten
Titel
A real-time two-stage and dual-check template matching algorithm based on normalized cross-correlation for industrial vision positioning
verfasst von
Fengjun Chen
Jinqi Liao
Zejin Lu
Jiyang Lv
Publikationsdatum
13.06.2021
Verlag
Springer London
Erschienen in
Pattern Analysis and Applications / Ausgabe 3/2021
Print ISSN: 1433-7541
Elektronische ISSN: 1433-755X
DOI
https://doi.org/10.1007/s10044-021-00997-7

Weitere Artikel der Ausgabe 3/2021

Pattern Analysis and Applications 3/2021 Zur Ausgabe

Premium Partner