Back to Aurora Vision Library website
You are here: Start » Function Reference » Data Classification » Statistics » TableOfConfusion_Histograms
TableOfConfusion_Histograms
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Computes confusion matrix based on two histograms and threshold value.
Syntax
C++
C#
void avl::TableOfConfusion_Histograms ( const avl::Histogram& inPositiveValues, const avl::Histogram& inNegativeValues, float inThreshold, avl::ConfusionTable& outConfusionTable )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPositiveValues | const Histogram& | Pixels values under binary classification mask | ||
inNegativeValues | const Histogram& | Pixels values not covered by mask | ||
inThreshold | float | 128.0f | ||
outConfusionTable | ConfusionTable& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Histogram inNegativeValues is empty in TableOfConfusion_Histograms. |
DomainError | Histogram inPositiveValues is empty in TableOfConfusion_Histograms. |
DomainError | Histograms inPositiveValues and inNegativeValues has different domain in TableOfConfusion_Histograms. |
DomainError | inThreshold is larger than domain end in TableOfConfusion_Histograms. |
DomainError | inThreshold is smaller than domain start in TableOfConfusion_Histograms. |