You are here: Start » AVL.NET » AVS.ThresholdToRegion Method

AVS.ThresholdToRegion Method

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? inMaxValue,
	float inHysteresis,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inMinValuefloat?128.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f.
inMaxValuefloat?Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
inHysteresisfloat<0.0f, INF>0.0fDefines how much the threshold criteria are lowered for pixels neighboring with other foreground pixels. Default value: 0.0f.
outRegionAvlNet.RegionOutput region.

Function Overrides

See also