You are here: Start » AVL.NET » Invoke.CheckPresence_Intensity
Verifies object presence by analysing pixel intensities in the specified region.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CheckPresence_Intensity ( Avl.Image inImage, Avl.ShapeRegion inRoi, Optional<Avl.CoordinateSystem2D> inRoiAlignment, Optional<float> inMinIntensity, Optional<float> inMaxIntensity, float inMinContrast, Optional<float> inMaxContrast, out bool outIsPresent, Optional<float> outIntensity, Optional<float> outContrast, Optional<Avl.ShapeRegion> outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Avl.ShapeRegion | Location at which object presence is being checked. | ||
![]() | inRoiAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inMinIntensity | Atl.Optional<float> | Lowest acceptable value for the average pixel value. Default value: atl::NIL. | ||
![]() | inMaxIntensity | Atl.Optional<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 | Atl.Optional<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 | Atl.Optional<float> | Average pixel value. | ||
![]() | outContrast | Atl.Optional<float> | Standard deviation of the pixel values. | ||
![]() | outAlignedRoi | Atl.Optional<Avl.ShapeRegion> | Input ROI after transformation (in the image coordinates). |