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

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

Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ThresholdToRegion_Relative(
	AvlNet.Image inImage,
	AvlNet.Image inBaseImage,
	float? inMinRelativeValue,
	float inHysteresis,
	out AvlNet.Region outRegion
)

Parameters

inImage
Type: AvlNet.Image
Input image
inBaseImage
Type: AvlNet.Image
Pixels of this image are subtracted from inImage before thresholding
inMinRelativeValue
Type: System.Nullable<System.Single>
Minimum relative 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