CvArrMatchTemplate Method OpenCvSharp Class Library
Compares template against overlapped image regions.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void MatchTemplate(
	CvArr templ,
	CvArr result,
	MatchTemplateMethod method
)

Parameters

templ
Type: OpenCvSharpCvArr
Searched template; must be not greater than the source image and the same data type as the image.
result
Type: OpenCvSharpCvArr
A map of comparison results; single-channel 32-bit floating-point. If image is W×H and templ is w×h then result must be W-w+1×H-h+1.
method
Type: OpenCvSharpMatchTemplateMethod
Specifies the way the template must be compared with image regions.
See Also

Reference