You are here: Start » FIL.NET » Function Reference » Computer Vision » Template Matching » FIL.MergeSingleLocationResults
Combines results from multiple LocateSingleObject instances.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void MergeSingleLocationResults ( NullableRef<FilNet.Object2D> inObject1, NullableRef<FilNet.Object2D> inObject2, NullableRef<FilNet.Object2D> inObject3, NullableRef<FilNet.Object2D> inObject4, float inMinScore, INullable<FilNet.Object2D> outObject, out int? outIndex )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inObject1 | FilNet.NullableRef<FilNet.Object2D> | |||
![]() | inObject2 | FilNet.NullableRef<FilNet.Object2D> | |||
![]() | inObject3 | FilNet.NullableRef<FilNet.Object2D> | |||
![]() | inObject4 | FilNet.NullableRef<FilNet.Object2D> | |||
![]() | inMinScore | float | <-1.0f, 1.0f> | 0.0f | Default value: 0.0f. |
![]() | outObject | FilNet.INullable<FilNet.Object2D> | This parameter cannot be null. | ||
![]() | outIndex | 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.