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

Invoke.ThresholdToRegion_Relative

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ThresholdToRegion_Relative
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.Image inBaseImage,
	Optional<float> inMinRelativeValue,
	Optional<float> inMaxRelativeValue,
	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.
inBaseImageAvl.ImagePixels of this image are subtracted from inImage before thresholding.
inMinRelativeValueAtl.Optional<float>128.0fMinimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f.
inMaxRelativeValueAtl.Optional<float>Maximum relative 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