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

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
inImageGroundTruthAvlNet.ImageBinary image of ground truth.
inImageResultsAvlNet.Image
inThresholdint0Default value: 0.
outTruePositivelong
outFalsePositivelong
outTrueNegativelong
outFalseNegativelong
outConfusionTableAvlNet.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.

See also