You are here: Start » AVL.NET » AVL.CheckPresence_Intensity Method
AVL.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, float inMinContrast, out bool outIsPresent, out float outIntensity, out float outContrast, out 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. | |||
inMinContrast | float | <0.0f, INF> | Lowest acceptable value for the standard deviation of the pixel values. | ||
outIsPresent | bool | Flag indicating whether the object is present or not. | |||
outIntensity | float | Average pixel value | |||
outContrast | float | Standard deviation of the pixel values | |||
outAlignedRoi | AvlNet.ShapeRegion | Input ROI after transformation (in the image coordinates) |
Description
The filter computes basic statistics of the image pixels in selected ROI and checks if they fit the defined ranges. The used statistics are average and standard deviation of the pixel values.