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
inImageAvlNet.ImageInput image.
inRoiAvlNet.ShapeRegionLocation at which object presence is being checked.
inRoiAlignmentAvlNet.CoordinateSystem2D?Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL.
inMinIntensityfloat?Lowest acceptable value for the average pixel value. Default value: atl::NIL.
inMaxIntensityfloat?Highest acceptable value for the average pixel value. Default value: atl::NIL.
inMinContrastfloat<0.0f, INF>Lowest acceptable value for the standard deviation of the pixel values.
inMaxContrastfloat?<0.0f, INF>Highest acceptable value for the standard deviation of the pixel values. Default value: atl::NIL.
outIsPresentboolFlag indicating whether the object is present or not.
outIntensityAvlNet.NullableValue<float>Average pixel value. Can be null to skip this parameter calculation.
outContrastAvlNet.NullableValue<float>Standard deviation of the pixel values. Can be null to skip this parameter calculation.
outAlignedRoiAvlNet.NullableRef<AvlNet.ShapeRegion>Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation.

Function Overrides

See also