You are here: Start » DLInvoke.DL_DetectAnomalies2_WithThresholds

DLInvoke.DL_DetectAnomalies2_WithThresholds

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

Namespace:Avl
Assembly:AvlNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void DL_DetectAnomalies2_WithThresholds
(
	Avl.Image inImage,
	Optional<Avl.Rectangle2D> inRoi,
	Optional<Avl.CoordinateSystem2D> inRoiAlignment,
	Avl.DetectAnomalies2ModelId inModelId,
	float inT1,
	Optional<float> inT2,
	float inScaleHeatmap,
	Avl.Heatmap outHeatmap,
	out bool outIsValid,
	out float outScore,
	out bool outIsConfident,
	Conditional<Avl.Region> outCommonRoi,
	Optional<Avl.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Rectangle2D>Limits the area where a classified object is located. Default value: atl::NIL.
inRoiAlignmentAtl.Optional<Avl.CoordinateSystem2D>
inModelIdAvl.DetectAnomalies2ModelIdIdentifier of a Detect Anomalies 2 model.
inT1float'Good' threshold value. Default value: 100.0f.
inT2Atl.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.
outHeatmapAvl.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.
outCommonRoiAtl.Conditional<Avl.Region>ROI used in training.
outAlignedRoiAtl.Optional<Avl.Rectangle2D>Input roi after the transformation.

See also