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,
	NullableValue<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.
outAverageValueAvlNet.NullableValue<float>Average of the entire image. Can be null to skip this parameter calculation.

Function Overrides

See also