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

Invoke.ClipPixels

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ClipPixels
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Optional<float> inLowValue,
	Optional<float> inHighValue,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inLowValueAtl.Optional<float>64.0fThe lower threshold for the image pixel values. Default value: 64.0f.
inHighValueAtl.Optional<float>192.0fThe higher threshold for the image pixel values. Default value: 192.0f.
outImageAvl.ImageOutput image.

See also