You are here: Start » FIL.NET » Function Reference » Data Classification » Statistics » FIL.FindMatchingRegions_IoU
Finds corresponding regions in two arrays based on IoU value.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FindMatchingRegions_IoU ( IList<FilNet.Region> inMasks, IList<int> inMasksClasses, IList<FilNet.Region> inPredicted, IList<int> inPredictedClasses, double inThreshold, IList<int?> outMatchedIndexes, IList<NullableRef<FilNet.Region>> outMatchedRegions, IList<double?> outScores, IList<double?> diagCandidateScores )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inMasks | System.Collections.Generic.IList<FilNet.Region> | Original masks. | ||
![]() | inMasksClasses | System.Collections.Generic.IList<int> | |||
![]() | inPredicted | System.Collections.Generic.IList<FilNet.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<FilNet.NullableRef<FilNet.Region>> | |||
![]() | outScores | System.Collections.Generic.IList<double?> | Returns scores of accepted regions. | ||
![]() | diagCandidateScores | System.Collections.Generic.IList<double?> | Returns best scores for 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 |