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

AVS.RescalePixels Method

Applies linear transformation to pixel values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RescalePixels
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float inA,
	float inB,
	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.
inAfloat1.0fValue multiplied. Default value: 1.0f.
inBfloat0.0fValue added. Default value: 0.0f.
outImageAvlNet.ImageOutput image.

Function Overrides

See also