- 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:
- 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