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

Invoke.ThresholdToRegion

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ThresholdToRegion
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Optional<float> inMinValue,
	Optional<float> inMaxValue,
	float inHysteresis,
	Avl.Region outRegion
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inMinValueAtl.Optional<float>128.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f.
inMaxValueAtl.Optional<float>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.
outRegionAvl.RegionOutput region.

See also