You are here: Start » AVL.NET » Function Reference » Computer Vision » Template Matching » AVL.MergeMultipleLocationResults

AVL.MergeMultipleLocationResults

Combines results from multiple LocateMultipleObject instances.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void MergeMultipleLocationResults
(
	IList<AvlNet.Object2D> inObjects1,
	IList<AvlNet.Object2D> inObjects2,
	IList<AvlNet.Object2D> inObjects3,
	IList<AvlNet.Object2D> inObjects4,
	float inMinDistance,
	float inMinScore,
	IList<AvlNet.Object2D> outObjects,
	IList<int> outIndices
)

Parameters

Name Type Range Default Description
inObjects1System.Collections.Generic.IList<AvlNet.Object2D>
inObjects2System.Collections.Generic.IList<AvlNet.Object2D>
inObjects3System.Collections.Generic.IList<AvlNet.Object2D>
inObjects4System.Collections.Generic.IList<AvlNet.Object2D>
inMinDistancefloat<0.0f, INF>10.0fDefault value: 10.0f.
inMinScorefloat<-1.0f, 1.0f>0.0fDefault value: 0.0f.
outObjectsSystem.Collections.Generic.IList<AvlNet.Object2D>
outIndicesSystem.Collections.Generic.IList<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

Object location found based on two matching objects(red and green).

Remarks

Each template matching object which is used in filter must have set this same reference frame.

See also