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

AVL.MergeSingleLocationResults

Combines results from multiple LocateSingleObject instances.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void MergeSingleLocationResults
(
	NullableRef<AvlNet.Object2D> inObject1,
	NullableRef<AvlNet.Object2D> inObject2,
	NullableRef<AvlNet.Object2D> inObject3,
	NullableRef<AvlNet.Object2D> inObject4,
	float inMinScore,
	INullable<AvlNet.Object2D> outObject,
	out int? outIndex
)

Parameters

Name Type Range Default Description
inObject1AvlNet.NullableRef<AvlNet.Object2D>
inObject2AvlNet.NullableRef<AvlNet.Object2D>
inObject3AvlNet.NullableRef<AvlNet.Object2D>
inObject4AvlNet.NullableRef<AvlNet.Object2D>
inMinScorefloat<-1.0f, 1.0f>0.0fDefault value: 0.0f.
outObjectAvlNet.INullable<AvlNet.Object2D> This parameter cannot be null.
outIndexint?

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