You are here: Start » FIL.NET » Function Reference » Computer Vision » Template Matching » FIL.EnhanceSingleObjectMatch
Improves accuracy of single object matching by adding a subpixel-precise adjustment.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void EnhanceSingleObjectMatch ( FilNet.Image inImage, FilNet.Object2D inObject, IList<FilNet.Path> inObjectEdges, bool inAllowScale, out FilNet.Object2D outObject, IList<FilNet.Path> outObjectEdges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inObject | FilNet.Object2D | Input object. | ||
![]() | inObjectEdges | System.Collections.Generic.IList<FilNet.Path> | Input object edges. | ||
![]() | inAllowScale | bool | Determines if the object scale can be adjusted. | ||
![]() | outObject | FilNet.Object2D | Object with enhanced accuracy. | ||
![]() | outObjectEdges | System.Collections.Generic.IList<FilNet.Path> | Edges of the object with enhanced accuracy. |
Examples
When using template matching with EnhanceSingleObjectMatch filter,
you may try to speed up template matching by increasing its inMinPyramidLevel parameter. The potential loss of template matching precision should be mitigated by the EnhanceSingleObjectMatch filter, as shown in the images below:
![]() |
![]() |
|
|
Hardware Acceleration
This operation is optimized for SSSE3 technology for pixels of type: UINT8.
This operation is optimized for AVX2 technology for pixels of type: UINT8.
This operation is optimized for NEON technology for pixels of type: UINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.