You are here: Start » AVL.NET » AVL.AverageChannels_Weighted(AvlNet.Image, int, int, int, int, AvlNet.Image)

AVL.AverageChannels_Weighted(AvlNet.Image, int, int, int, int, AvlNet.Image)

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,
	int inWeight1,
	int inWeight2,
	int inWeight3,
	int inWeight4,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inWeight1
Type: System.Int32
Weight of the first channel
inWeight2
Type: System.Int32
Weight of the second channel
inWeight3
Type: System.Int32
Weight of the third channel
inWeight4
Type: System.Int32
Weight of the fourth channel
outImage
Type: AvlNet.Image
Output image

See also