You are here: Start » Filter Reference » Computer Vision » Template Matching » EnhanceMultipleObjectMatches
Module: | MatchingPro |
---|
Improves accuracy of multiple object matching by adding a subpixel-precise adjustment.
Applications
Name | Type | Description | |
---|---|---|---|
inImage | Image | Input image | |
inObjects | Object2DArray | Input objects | |
inObjectEdges | PathArrayArray | Input objects edges | |
inAllowScale | Bool | Determines if the object scale can be adjusted | |
outObjects | Object2DArray | Objects with enhanced accuracy | |
outObjectEdges | PathArrayArray | Edges of objects with enhanced accuracy |
Hints
- In order to use the filter to fine-tune the results of template matching, connect the outObjects and outObjectEdges outputs of the template matching filter to the inObjects and inObjectEdges inputs, and the same input image to the inImage input. By default, the outObjects and outObjectEdges outputs of the template matching filter are hidden, so one should use "Show/Hide Ports" option to make them visible.
- When using template matching with EnhanceMultipleObjectMatches 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 EnhanceMultipleObjectMatches filter.
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.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inObjects and inObjectEdges sizes differ |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of EnhanceObjectMatch filter group.
See Also
- LocateMultipleObjects_Edges1 – Finds all occurrences of a predefined template on an image by comparing object edges.
- EnhanceSingleObjectMatch – Improves accuracy of single object matching by adding a subpixel-precise adjustment.