First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In the template matching by OpenCV it's better at the first get canny edge from image then smooth this edge image then you can fill your mask region by zero.

click to hide/show revision 2
No.2 Revision

In the template matching by OpenCV it's better at the first get canny edge from image then smooth this edge image then in the source image you can fill your mask region by zero.