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

AVS.AverageChannels_Weighted Method

Creates a monochromatic image from weighted averages of the input image channels.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AverageChannels_Weighted
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	int inWeight1,
	int inWeight2,
	int inWeight3,
	int inWeight4,
	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.
inWeight1intWeight of the first channel.
inWeight2intWeight of the second channel.
inWeight3intWeight of the third channel.
inWeight4intWeight of the fourth channel.
outImageAvlNet.ImageOutput image.

Function Overrides

See also