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

AVS.ThresholdImage_Relative Method

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 ThresholdImage_Relative
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Image inBaseImage,
	float? inMinRelativeValue,
	float? inMaxRelativeValue,
	float inFuzziness,
	AvlNet.Image outMonoImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
inBaseImageAvlNet.ImagePixels of this image are subtracted from inImage before thresholding.
inMinRelativeValuefloat?128.0fMinimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f.
inMaxRelativeValuefloat?Maximum relative value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
inFuzzinessfloat<0.0f, INF>0.0fA tolerance for inMin/MaxRelativeValue that results in intermediate output values. Default value: 0.0f.
outMonoImageAvlNet.Image

Function Overrides

See also