Merge pull request #16818 from iteal:master
authoriteal <laetitia.hebert@oist.jp>
Wed, 18 Mar 2020 08:45:09 +0000 (17:45 +0900)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 08:45:09 +0000 (08:45 +0000)
Update template_matching.markdown

Fixed "template image" should be "source image" in two sentences explaining template matching.

doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown

index 4567775ba6d41a0b75552100db418deeb867eae6..e9fa19ab59e2aca6293e6e3579d98640a81c7628 100644 (file)
@@ -31,7 +31,7 @@ that should be used to find the match.
 -   We need two primary components:
 
     -#  **Source image (I):** The image in which we expect to find a match to the template image
-    -#  **Template image (T):** The patch image which will be compared to the template image
+    -#  **Template image (T):** The patch image which will be compared to the source image
 
     our goal is to detect the highest matching area:
 
@@ -61,7 +61,7 @@ that should be used to find the match.
 - If masking is needed for the match, three components are required:
 
     -#  **Source image (I):** The image in which we expect to find a match to the template image
-    -#  **Template image (T):** The patch image which will be compared to the template image
+    -#  **Template image (T):** The patch image which will be compared to the source image
     -#  **Mask image (M):** The mask, a grayscale image that masks the template