You are here: Start » AVL.NET » AVL.ImageAverage Method
AVL.ImageAverage Method
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 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | |||
outAverageColor | AvlNet.Pixel |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
Error type | Description |
---|---|
DomainError | Empty region of interest on input in ImageAverage. |