http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public Image<Gray, float> MatchTemplate( Image<TColor, TDepth> template, TM_TYPE method ) |
Visual Basic |
---|
Public Function MatchTemplate ( _ template As Image(Of TColor, TDepth), _ method As TM_TYPE _ ) As Image(Of Gray, Single) |
Visual C++ |
---|
public: Image<Gray, float>^ MatchTemplate( Image<TColor, TDepth>^ template, TM_TYPE method ) |
Parameters
- template
- Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
Searched template; must be not greater than the source image and the same data type as the image
- method
- Type: Emgu.CV.CvEnum..::..TM_TYPE
Specifies the way the template must be compared with image regions