You are here: Start » AVL.NET » Function Reference » Data Classification » Statistics » AVL.TableOfConfusion_Images
Computes statistics from a confusion matrix for image of groundTruth and results.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TableOfConfusion_Images ( AvlNet.Image inImageGroundTruth, AvlNet.Image inImageResults, int inThreshold, out long outTruePositive, out long outFalsePositive, out long outTrueNegative, out long outFalseNegative, AvlNet.ConfusionTable outConfusionTable )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImageGroundTruth | AvlNet.Image | Binary image of ground truth. | ||
![]() | inImageResults | AvlNet.Image | |||
![]() | inThreshold | int | 0 | Default value: 0. | |
![]() | outTruePositive | long | |||
![]() | outFalsePositive | long | |||
![]() | outTrueNegative | long | |||
![]() | outFalseNegative | long | |||
![]() | outConfusionTable | AvlNet.ConfusionTable |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Height of inImageGroundTruth isn't correspond to inImageResults's height in TableOfConfusion_Images. |
| DomainError | Image inGroundTruthImage is empty in TableOfConfusion_Images. |
| DomainError | Width of inImageGroundTruth isn't correspond to inImageResults's width in TableOfConfusion_Images. |


