You are here: Start » AVL.NET » Function Reference » Data Classification » Statistics » AVL.FindMatchingRegions_IoU
Finds corresponding regions in two arrays based on IoU value.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FindMatchingRegions_IoU ( IList<AvlNet.Region> inMasks, IList<int> inMasksClasses, IList<AvlNet.Region> inPredicted, IList<int> inPredictedClasses, double inThreshold, IList<int?> outMatchedIndexes, IList<NullableRef<AvlNet.Region>> outMatchedRegions, IList<double?> outScores )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inMasks | System.Collections.Generic.IList<AvlNet.Region> | Original masks. | |||
inMasksClasses | System.Collections.Generic.IList<int> | ||||
inPredicted | System.Collections.Generic.IList<AvlNet.Region> | Regions from the classifier. | |||
inPredictedClasses | System.Collections.Generic.IList<int> | ||||
inThreshold | double | <0.0, 1.0> | 0.5D | Default value: 0.5D. | |
outMatchedIndexes | System.Collections.Generic.IList<int?> | ||||
outMatchedRegions | System.Collections.Generic.IList<AvlNet.NullableRef<AvlNet.Region>> | ||||
outScores | System.Collections.Generic.IList<double?> | Returns scores of accepted regions. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | All regions in inMasks and inPredicted should have this same format. |
DomainError | inMasks and inMasksClasses has different element count |
DomainError | inPredicted and inPredictedClasses has different element count |