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

Invoke.AverageChannels_Weighted

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

See also