You are here: Start » AVL.NET » Invoke.CheckPresence_Intensity

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
inImageAvl.ImageInput image.
inRoiAvl.ShapeRegionLocation at which object presence is being checked.
inRoiAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL.
inMinIntensityAtl.Optional<float>Lowest acceptable value for the average pixel value. Default value: atl::NIL.
inMaxIntensityAtl.Optional<float>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.
inMaxContrastAtl.Optional<float><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.
outIntensityAtl.Optional<float>Average pixel value.
outContrastAtl.Optional<float>Standard deviation of the pixel values.
outAlignedRoiAtl.Optional<Avl.ShapeRegion>Input ROI after transformation (in the image coordinates).

See also