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

Invoke.ImageAverage

Computes the average of the image pixel values.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ImageAverage
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	out Avl.Pixel outAverageColor,
	Optional<float> outAverageValue
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
outAverageColorAvl.PixelAverage of each channel.
outAverageValueAtl.Optional<float>Average of the entire image.

See also