Description Usage Arguments Author(s) See Also Examples
matchTemplate
compares a template against overlapping
image regions using the specified method
. After the function finishes
the comparison, the best matches can be found as global minimums (when
methods "SQDIFF" or "SQDIFF_NORMED" were used) or maximums (when methods
"CCORR", "CCORR_NORMED", "CCOEFF" or "CCOEF_NORMED" were used) using the
minMaxLoc
function.
1 | matchTemplate(image, template, method, mask = NULL)
|
image |
An |
template |
An |
method |
A string indicating the comparison method to use. It can be any of the following (see https://bit.ly/2RjELvJ for a full description of each comparison method):
|
mask |
An |
Simon Garnier, garnier@njit.edu
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.