Locate a template in an image
Computer Vision Toolbox / Analysis & Enhancement
The Template Matching block finds the best match of a template within an input image. The block computes match metric values by shifting a template over a region of interest or the entire image, and then finds the best match location.
The block outputs either the match metric values or the one-based (x,y) coordinates of the best template match. Optionally the lbock can output an N-by-N matrix of the match metric values centered around the best match location.
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
[1] Koga T., et. Al. Motion-compensated interframe coding for video conferencing. In National Telecommunications Conference. Nov. 1981, G5.3.1–5, New Orleans, LA.
[2] Zakai M., “General distance criteria” IEEE Transaction on Information Theory, pp. 94–95, January 1964.
[3] Yu, J., J. Amores, N. Sebe, Q. Tian, "A New Study on Distance Metrics as Similarity Measurement" IEEE International Conference on Multimedia and Expo, 2006 .