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: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Function MatchTemplate ( _
template As Image(Of TColor, TDepth), _
method As TM_TYPE _
) As Image(Of Gray, Single) |
Return Value
The comparison result: width = this.Width - template.Width + 1; height = this.Height - template.Height + 1
See Also