You are here: Start » AVL.NET » AVL.ThresholdToRegion(AvlNet.Image, float?, float, AvlNet.Region)

AVL.ThresholdToRegion(AvlNet.Image, float?, float, AvlNet.Region)

Creates a region containing image pixels with values within the specified range.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ThresholdToRegion(
	AvlNet.Image inImage,
	float? inMinValue,
	float inHysteresis,
	out AvlNet.Region outRegion
)

Parameters

inImage
Type: AvlNet.Image
Input image
inMinValue
Type: System.Nullable<System.Single>
Minimum value of a pixel that is considered foreground (Auto = -INF), or null.
inHysteresis
Type: System.Single
Defines how much the threshold criteria are lowered for pixels neighboring with other foreground pixels
outRegion
Type: AvlNet.Region
Output region

See also