You are here: Start » AVL.NET » AVL.CheckPresence_PixelAmount(AvlNet.Image, AvlNet.ShapeRegion, AvlNet.HSxColorModel, int, int, int, int?, float, float, bool, float, AvlNet.Region, AvlNet.ShapeRegion, AvlNet.Image)

AVL.CheckPresence_PixelAmount(AvlNet.Image, AvlNet.ShapeRegion, AvlNet.HSxColorModel, int, int, int, int?, float, float, bool, float, AvlNet.Region, AvlNet.ShapeRegion, AvlNet.Image)

Verifies object presence by analysing the amount of pixels that meet the specified criteria.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CheckPresence_PixelAmount(
	AvlNet.Image inImage,
	AvlNet.ShapeRegion inRoi,
	AvlNet.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	int inMinSaturation,
	int? inMinBrightness,
	float inMinAmount,
	float inMaxAmount,
	out bool outIsPresent,
	out float outAmount,
	out AvlNet.Region outForeground,
	out AvlNet.ShapeRegion outAlignedRoi,
	out AvlNet.Image diagHsxImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.ShapeRegion
Location at which object presence is being checked
inColorModel
Type: AvlNet.HSxColorModel
Selected color model
inBeginHue
Type: System.Int32
Begin of the range of acceptable hue
inEndHue
Type: System.Int32
End of the range of acceptable hue
inMinSaturation
Type: System.Int32
Lowest acceptable saturation
inMinBrightness
Type: System.Nullable<System.Int32>
Lowest acceptable brightness, or null.
inMinAmount
Type: System.Single
Lowest acceptable fraction of pixels meeting the criteria
inMaxAmount
Type: System.Single
Highest acceptable fraction of pixels meeting the criteria
outIsPresent
Type: System.Boolean
Flag indicating whether the object is present or not
outAmount
Type: System.Single
outForeground
Type: AvlNet.Region
outAlignedRoi
Type: AvlNet.ShapeRegion
diagHsxImage
Type: AvlNet.Image
Image represented in chosen color model

Remarks

See full override for more details.

See also