You are here: Start » AVL.NET » AVL.ImageAverage(AvlNet.Image, AvlNet.Region, AvlNet.Pixel, float)

AVL.ImageAverage(AvlNet.Image, AvlNet.Region, AvlNet.Pixel, float)

Computes the average of the image pixel values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.Region
Range of pixels to be processed, or null.
outAverageColor
Type: AvlNet.Pixel
outAverageValue
Type: System.Single

Errors

Error type Description
DomainError Empty region of interest on input in ImageAverage.

See also