You are here: Start » DLInvoke.DL_DetectAnomalies2
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 ( Fil.Image inImage, Fil.DetectAnomalies2ModelId inModelId, float inScoreScale, Fil.Heatmap outHeatmap, out bool outIsValid, out float outScore, out bool outIsConfident, out float outT1, out float outT2, Conditional<Fil.Region> outRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inModelId | Fil.DetectAnomalies2ModelId | Identifier of a Detect Anomalies 2 model. | ||
![]() | inScoreScale | float | Scale factor for T1 and T2 (default value results in usage of T1 and T2 from model). Default value: 1.0f. | ||
![]() | outHeatmap | Fil.Heatmap | Returns a heatmap indicating found anomalies. | ||
![]() | outIsValid | bool | Returns true if no anomalies were found. | ||
![]() | outScore | float | Returns score of the image. | ||
![]() | outIsConfident | bool | Returns false if the score is between T1 and T2. | ||
![]() | outT1 | float | Returns T1 'Good' threshold value. | ||
![]() | outT2 | float | Returns T2 'Bad' threshold value. | ||
![]() | outRoi | Ftl.Conditional<Fil.Region> | ROI used in training. |