You are here: Start » AVL.NET » Function Reference » Image » Image Thresholding » AVL.ThresholdImage_Multirange

AVL.ThresholdImage_Multirange

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ThresholdImage_Multirange
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	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.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
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.

Hardware Acceleration

This operation is optimized for SSE2 technology for pixels of types: 1xUINT8 (for inFuzziness = 0).

This operation is optimized for AVX2 technology for pixels of types: 1xUINT8 (for inFuzziness = 0) PARALLEL.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also