Emgu CV Library Documentation
cvMatchTemplate Method (image, templ, result, method)
NamespacesEmgu.CVCvInvokecvMatchTemplate(IntPtr, IntPtr, IntPtr, TM_TYPE)

www.emgu.com/wiki
This function is similiar to cvCalcBackProjectPatch. It slids through image, compares overlapped patches of size wxh with templ using the specified method and stores the comparison results to result
Declaration Syntax
C#Visual BasicVisual C++
public static void cvMatchTemplate(
	IntPtr image,
	IntPtr templ,
	IntPtr result,
	TM_TYPE method
)
Public Shared Sub cvMatchTemplate ( _
	image As IntPtr, _
	templ As IntPtr, _
	result As IntPtr, _
	method As TM_TYPE _
)
public:
static void cvMatchTemplate(
	IntPtr image, 
	IntPtr templ, 
	IntPtr result, 
	TM_TYPE method
)
Parameters
image (IntPtr)
Image where the search is running. It should be 8-bit or 32-bit floating-point
templ (IntPtr)
Searched template; must be not greater than the source image and the same data type as the image
result (IntPtr)
A map of comparison results; single-channel 32-bit floating-point. If image is WxH and templ is wxh then result must be W-w+1xH-h+1.
method (TM_TYPE)
Specifies the way the template must be compared with image regions

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)