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

AVS.ThresholdImage_Multirange Method

Transforms each pixel value to maximum or minimum depending on whether they belong to the specified range.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ThresholdImage_Multirange
(
	AvlNet.Image inImage,
	float? inMinValue1,
	float? inMaxValue1,
	float? inMinValue2,
	float? inMaxValue2,
	float? inMinValue3,
	float? inMaxValue3,
	float? inMinValue4,
	float? inMaxValue4,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inMinValue1float?1.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 1.0f.
inMaxValue1float?Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
inMinValue2float?64.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 64.0f.
inMaxValue2float?Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
inMinValue3float?128.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f.
inMaxValue3float?Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
inMinValue4float?192.0fMinimum value of a pixel that is considered foreground (Auto = -INF). Default value: 192.0f.
inMaxValue4float?Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL.
outImageAvlNet.ImageOutput image.

Function Overrides

See also