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

AVS.ClipPixels Method

Sets pixels below the low value to the low value and above the high value to the high value.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ClipPixels
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float? inLowValue,
	float? inHighValue,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inLowValuefloat?64.0fThe lower threshold for the image pixel values. Default value: 64.0f.
inHighValuefloat?192.0fThe higher threshold for the image pixel values. Default value: 192.0f.
outImageAvlNet.ImageOutput image.

Function Overrides

See also