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

AVS.ImageAverage Method

Computes the average of the image pixel values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageAverage
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	out AvlNet.Pixel outAverageColor,
	out float outAverageValue
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
outAverageColorAvlNet.PixelAverage of each channel.
outAverageValuefloatAverage of the entire image.

Function Overrides

See also