Back to Adaptive Vision Library website
You are here: Start » Function Reference » Template Matching » MergeLocationResults_Multiple
MergeLocationResults_Multiple
Combines results from multiple LocateMultipleObject instances.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::MergeLocationResults_Multiple ( const atl::Array<avl::Object2D>& inObjects1, const atl::Array<avl::Object2D>& inObjects2, const atl::Array<avl::Object2D>& inObjects3, const atl::Array<avl::Object2D>& inObjects4, float inMinDistance, float inMinScore, atl::Array<avl::Object2D>& outObjects, atl::Array<int>& outIndices )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inObjects1 | const Array<Object2D>& | ||||
inObjects2 | const Array<Object2D>& | ||||
inObjects3 | const Array<Object2D>& | ||||
inObjects4 | const Array<Object2D>& | ||||
inMinDistance | float | 0.0 - | 10.0f | ||
inMinScore | float | -1.0 - 1.0 | 0.0f | ||
outObjects | Array<Object2D>& | ||||
outIndices | Array<int>& |
Description
Filter selects the best matching object from the given matching objects.
This filter is especially useful for finding big objects by using smaller template models instead of the large model.
This filter will return a valid object location even if object is partially covered.
Examples
Remarks
Each template matching object which is used in filter must have set this same reference frame.
See Also
- LocateMultipleObjects_Edges – Finds all occurrences of a predefined template on an image by comparing object edges.
- LocateSingleObject_Edges – Finds a single occurrence of a predefined template on an image by comparing object edges.