Emgu CV Library Documentation
MatchTemplate Method (template, method)
NamespacesEmgu.CVImage<(Of <(TColor, TDepth>)>)MatchTemplate(Image<(Of <(TColor, TDepth>)>), TM_TYPE)

www.emgu.com/wiki
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results
Declaration Syntax
C#Visual BasicVisual C++
public Image<TColor, TDepth> MatchTemplate(
	Image<TColor, TDepth> template,
	TM_TYPE method
)
Public Function MatchTemplate ( _
	template As Image(Of TColor, TDepth), _
	method As TM_TYPE _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ MatchTemplate(
	Image<TColor, TDepth>^ template, 
	TM_TYPE method
)
Parameters
template (Image<(Of <(TColor, TDepth>)>))
Searched template; must be not greater than the source image and the same data type as the image
method (TM_TYPE)
Specifies the way the template must be compared with image regions
Return Value
The comparison result: width = this.Width - template.Width + 1; height = this.Height - template.Height + 1

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