diff --git a/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown b/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown index 4567775ba6..e9fa19ab59 100644 --- a/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown +++ b/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown @@ -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