You are here: Start » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Rectangle2D> | Limits the area where a classified object is located. Default value: atl::NIL. | ||
![]() | inRoiAlignment | Atl.Optional<Avl.CoordinateSystem2D> | |||
![]() | inModelId | Avl.DetectAnomalies2ModelId | Identifier of a Detect Anomalies 2 model. | ||
![]() | inT1 | float | 'Good' threshold value. Default value: 100.0f. | ||
![]() | inT2 | Atl.Optional<float> | 'Bad' threshold value, if not set 'Good' threshold will be used. Default value: 156.0f. | ||
![]() | inScaleHeatmap | float | Modify visualization of the output heatmap. This does not affect outScore. Default value: 1.0f. | ||
![]() | outHeatmap | Avl.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. | ||
![]() | outCommonRoi | Atl.Conditional<Avl.Region> | ROI used in training. | ||
![]() | outAlignedRoi | Atl.Optional<Avl.Rectangle2D> | Input roi after the transformation. |