Back to FabImage Library website
You are here: Start » Function Reference » Data Classification » Statistics » TableOfConfusion_Images

TableOfConfusion_Images
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Computes statistics from a confusion matrix for image of groundTruth and results.
Syntax
C++
C#
void fil::TableOfConfusion_Images ( const fil::Image& inImageGroundTruth, const fil::Image& inImageResults, int inThreshold, ftl::int64& outTruePositive, ftl::int64& outFalsePositive, ftl::int64& outTrueNegative, ftl::int64& outFalseNegative, fil::ConfusionTable& outConfusionTable )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImageGroundTruth | const Image& | Binary image of ground truth | |
![]() |
inImageResults | const Image& | ||
![]() |
inThreshold | int | 0 | |
![]() |
outTruePositive | int64& | ||
![]() |
outFalsePositive | int64& | ||
![]() |
outTrueNegative | int64& | ||
![]() |
outFalseNegative | int64& | ||
![]() |
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. |