Back to Aurora Vision Library website

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

TableOfConfusion_Images


Header: AVL.h
Namespace: avl
Module: FoundationPro

Computes statistics from a confusion matrix for image of groundTruth and results.

Syntax

C++
C#
 
void avl::TableOfConfusion_Images
(
	const avl::Image& inImageGroundTruth,
	const avl::Image& inImageResults,
	int inThreshold,
	atl::int64& outTruePositive,
	atl::int64& outFalsePositive,
	atl::int64& outTrueNegative,
	atl::int64& outFalseNegative,
	avl::ConfusionTable& outConfusionTable
)

Parameters

Name Type Default Description
Input value inImageGroundTruth const Image& Binary image of ground truth
Input value inImageResults const Image&
Input value inThreshold int 0
Output value outTruePositive int64&
Output value outFalsePositive int64&
Output value outTrueNegative int64&
Output value outFalseNegative int64&
Output value outConfusionTable 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.