You are here: Start » DLInvoke.DL_DetectAnomalies2_WithThresholds

DLInvoke.DL_DetectAnomalies2_WithThresholds

Executes a Detect Anomalies 2 model on a single input image.

Namespace:Fil
Assembly:FilNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void DL_DetectAnomalies2_WithThresholds
(
	Fil.Image inImage,
	Fil.DetectAnomalies2ModelId inModelId,
	float inT1,
	Optional<float> inT2,
	float inScaleHeatmap,
	Fil.Heatmap outHeatmap,
	out bool outIsValid,
	out float outScore,
	out bool outIsConfident,
	Conditional<Fil.Region> outRoi
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inModelIdFil.DetectAnomalies2ModelIdIdentifier of a Detect Anomalies 2 model.
inT1float'Good' threshold value. Default value: 100.0f.
inT2Ftl.Optional<float>'Bad' threshold value, if not set 'Good' threshold will be used. Default value: 156.0f.
inScaleHeatmapfloatModify visualization of the output heatmap. This does not affect outScore. Default value: 1.0f.
outHeatmapFil.HeatmapReturns a heatmap indicating found anomalies.
outIsValidboolReturns true if no anomalies were found.
outScorefloatReturns score of the image.
outIsConfidentboolReturns false if the score is between T1 and T2.
outRoiFtl.Conditional<Fil.Region>

See also