You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | outAverageColor | Avl.Pixel | Average of each channel. | ||
![]() | outAverageValue | Atl.Optional<float> | Average of the entire image. |