You are here: Start » AVL.NET » AVS.CheckPresence_Intensity Method
AVS.CheckPresence_Intensity Method
Verifies object presence by analysing pixel intensities in the specified region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CheckPresence_Intensity ( AvlNet.Image inImage, AvlNet.ShapeRegion inRoi, AvlNet.CoordinateSystem2D? inRoiAlignment, float? inMinIntensity, float? inMaxIntensity, float inMinContrast, float? inMaxContrast, out bool outIsPresent, NullableValue<float> outIntensity, NullableValue<float> outContrast, NullableRef<AvlNet.ShapeRegion> outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.ShapeRegion | Location at which object presence is being checked. | |||
inRoiAlignment | AvlNet.CoordinateSystem2D? | Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL. | |||
inMinIntensity | float? | Lowest acceptable value for the average pixel value. Default value: atl::NIL. | |||
inMaxIntensity | float? | Highest acceptable value for the average pixel value. Default value: atl::NIL. | |||
inMinContrast | float | <0.0f, INF> | Lowest acceptable value for the standard deviation of the pixel values. | ||
inMaxContrast | float? | <0.0f, INF> | Highest acceptable value for the standard deviation of the pixel values. Default value: atl::NIL. | ||
outIsPresent | bool | Flag indicating whether the object is present or not. | |||
outIntensity | AvlNet.NullableValue<float> | Average pixel value. Can be null to skip this parameter calculation. | |||
outContrast | AvlNet.NullableValue<float> | Standard deviation of the pixel values. Can be null to skip this parameter calculation. | |||
outAlignedRoi | AvlNet.NullableRef<AvlNet.ShapeRegion> | Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation. |
Function Overrides
- CheckPresence_Intensity(Image, ShapeRegion, Nullable<Single>, Nullable<Single>, Single, Boolean)
- CheckPresence_Intensity(Image, ShapeRegion, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Single, Nullable<Single>, Boolean)
- CheckPresence_Intensity(Image, ShapeRegion, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Single, Nullable<Single>, Boolean, Single, Single, ShapeRegion)