You are here: Start » AVL.NET » AVL.MergeLocationResults_Multiple Method

AVL.MergeLocationResults_Multiple Method

Combines results from multiple LocateMultipleObject instances.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void MergeLocationResults_Multiple(
	AvlNet.Object2D[] inObjects1,
	AvlNet.Object2D[] inObjects2,
	AvlNet.Object2D[] inObjects3,
	AvlNet.Object2D[] inObjects4,
	float inMinDistance,
	float inMinScore,
	out AvlNet.Object2D[] outObjects,
	out int[] outIndices
)

Parameters

Name Type Range Default Description
inObjects1AvlNet.Object2D
inObjects2AvlNet.Object2D
inObjects3AvlNet.Object2D
inObjects4AvlNet.Object2D
inMinDistancefloat<0.0f, INF>10.0fDefault value: 10.0f.
inMinScorefloat<-1.0f, 1.0f>0.0fDefault value: 0.0f.
outObjectsAvlNet.Object2D
outIndicesint

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