Scale-Adaptive NN-Based Similarity for Robust Template Matching

Template matching in unconstrained environment with complex deformation, occlusion, and background clutter is a challenging task. Recently, some measures which are robust to outliers were presented, however, they fix the window size and thus cannot handle large-scale change. In this article, a multiscale template matching method based on nearest neighbor (NN) search is proposed. To discover the effect of scale to the measure, the expectation of the diversity similarity (DIS) is derived by probabilistic analysis. Then, a scale-adaptive measure is provided by extending DIS and penalizing the deformation explicitly. Moreover, for rectangular template, weights are appended to points to suppress the negative effect of background pixels, and for masked template, foreground pixels are separated from the candidate window based on NN field. In addition, a scheme for preselecting the candidate positions of object detection is given. Experiment on the real-world scenario benchmarks and surface-mount component (SMC) positioning shows that the proposed method is robust to scale changes along with other challenging aspects and outperforms the state-of-the-arts using both color and deep features.

[1]  Dorin Comaniciu,et al.  Real-time tracking of non-rigid objects using mean shift , 2000, Proceedings IEEE Conference on Computer Vision and Pattern Recognition. CVPR 2000 (Cat. No.PR00662).

[2]  Qing Zhu,et al.  Automated Visual Inspection of Glass Bottle Bottom With Saliency Detection and Template Matching , 2019, IEEE Transactions on Instrumentation and Measurement.

[3]  William T. Freeman,et al.  Best-Buddies Similarity—Robust Template Matching Using Mutual Nearest Neighbors , 2016, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[4]  Du-ming Tsai,et al.  Machine Vision-Based Positioning and Inspection Using Expectation–Maximization Technique , 2017, IEEE Transactions on Instrumentation and Measurement.

[5]  Wei Wu,et al.  High Performance Visual Tracking with Siamese Region Proposal Network , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[6]  Hae Yong Kim,et al.  Grayscale Template-Matching Invariant to Rotation, Scale, Translation, Brightness and Contrast , 2007, PSIVT.

[7]  Lior Talker,et al.  Efficient Sliding Window Computation for NN-Based Template Matching , 2018, ECCV.

[8]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[9]  Yacov Hel-Or,et al.  Matching by Tone Mapping: Photometric Invariant Template Matching , 2014, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Wei An,et al.  Object Tracking Using Multiple Features and Adaptive Model Updating , 2017, IEEE Transactions on Instrumentation and Measurement.

[11]  De Xu,et al.  Robust Visual Detection–Learning–Tracking Framework for Autonomous Aerial Refueling of UAVs , 2016, IEEE Transactions on Instrumentation and Measurement.

[12]  Xianqiang Yang,et al.  Corner Point-Based Coarse–Fine Method for Surface-Mount Component Positioning , 2018, IEEE Transactions on Industrial Informatics.

[13]  Huchuan Lu,et al.  ‘Skimming-Perusal’ Tracking: A Framework for Real-Time and Robust Long-Term Tracking , 2019, 2019 IEEE/CVF International Conference on Computer Vision (ICCV).

[14]  Takuya Akashi,et al.  Multi-scale Template Matching with Scalable Diversity Similarity in an Unconstrained Environment , 2019, BMVC.

[15]  David G. Lowe,et al.  Scalable Nearest Neighbor Algorithms for High Dimensional Data , 2014, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[16]  Shai Avidan,et al.  Matching Pixels Using Co-occurrence Statistics , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[17]  Shai Avidan,et al.  Fast-Match: Fast Affine Template Matching , 2013, International Journal of Computer Vision.

[18]  Philip H. S. Torr,et al.  The Eighth Visual Object Tracking VOT2020 Challenge Results , 2020, ECCV Workshops.

[19]  Patrick Pérez,et al.  Color-Based Probabilistic Tracking , 2002, ECCV.

[20]  Huchuan Lu,et al.  Structured Siamese Network for Real-Time Visual Tracking , 2018, ECCV.

[21]  Du-Ming Tsai,et al.  Rotation-invariant pattern matching using wavelet decomposition , 2002, Pattern Recognit. Lett..

[22]  Michael Werman,et al.  Asymmetric Correlation: A Noise Robust Similarity Measure for Template Matching , 2013, IEEE Transactions on Image Processing.

[23]  Lihi Zelnik-Manor,et al.  Template Matching with Deformable Diversity Similarity , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[24]  Yi Wu,et al.  Online Object Tracking: A Benchmark , 2013, 2013 IEEE Conference on Computer Vision and Pattern Recognition.

[25]  Luca Bertinetto,et al.  Fully-Convolutional Siamese Networks for Object Tracking , 2016, ECCV Workshops.

[26]  Huijun Gao,et al.  Weighted Smallest Deformation Similarity for NN-Based Template Matching , 2020, IEEE Transactions on Industrial Informatics.

[27]  Shai Avidan,et al.  Locally Orderless Tracking , 2012, 2012 IEEE Conference on Computer Vision and Pattern Recognition.

[28]  Yuandong Tian,et al.  Globally Optimal Estimation of Nonrigid Image Distortion , 2012, International Journal of Computer Vision.

[29]  Wael Abd-Almageed,et al.  QATM: Quality-Aware Template Matching for Deep Learning , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[30]  William T. Freeman,et al.  Best-Buddies Similarity for robust template matching , 2015, CVPR.

[31]  Amitava Chatterjee,et al.  OPTICS-Based Template Matching for Vision Sensor-Based Shoe Detection in Human–Robot Coexisting Environments , 2019, IEEE Transactions on Instrumentation and Measurement.

[32]  Ju Jang Lee,et al.  Fast and robust template matching algorithm in noisy image , 2007, 2007 International Conference on Control, Automation and Systems.