Click or drag to resize
ImageTColor, TDepthMatchTemplate Method
http://www.emgu.com
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public Image<Gray, float> MatchTemplate(
	Image<TColor, TDepth> template,
	TemplateMatchingType method
)

Parameters

template
Type: Emgu.CVImageTColor, TDepth
Searched template; must be not greater than the source image and the same data type as the image
method
Type: Emgu.CV.CvEnumTemplateMatchingType
Specifies the way the template must be compared with image regions

Return Value

Type: ImageGray, Single
The comparison result: width = this.Width - template.Width + 1; height = this.Height - template.Height + 1
See Also