You are here: Start » FIL.NET » Function Reference » Data Classification » Statistics » FIL.TableOfConfusion_Histograms

FIL.TableOfConfusion_Histograms

Computes confusion matrix based on two histograms and threshold value.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void TableOfConfusion_Histograms
(
	FilNet.Histogram inPositiveValues,
	FilNet.Histogram inNegativeValues,
	float inThreshold,
	FilNet.ConfusionTable outConfusionTable
)

Parameters

Name Type Range Default Description
inPositiveValuesFilNet.HistogramPixels values under binary classification mask.
inNegativeValuesFilNet.HistogramPixels values not covered by mask.
inThresholdfloat128.0fDefault value: 128.0f.
outConfusionTableFilNet.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.

See also