You are here: Start » AVL.NET » Function Reference » Data Classification » Statistics » AVL.FindMatchingRegions_IoU

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,
	IList<double?> diagCandidateScores
)

Parameters

Name Type Range Default Description
inMasksSystem.Collections.Generic.IList<AvlNet.Region>Original masks.
inMasksClassesSystem.Collections.Generic.IList<int>
inPredictedSystem.Collections.Generic.IList<AvlNet.Region>Regions from the classifier.
inPredictedClassesSystem.Collections.Generic.IList<int>
inThresholddouble<0.0, 1.0>0.5DDefault value: 0.5D.
outMatchedIndexesSystem.Collections.Generic.IList<int?>
outMatchedRegionsSystem.Collections.Generic.IList<AvlNet.NullableRef<AvlNet.Region>>
outScoresSystem.Collections.Generic.IList<double?>Returns scores of accepted regions.
diagCandidateScoresSystem.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

Function Overrides

See also