You are here: Start » AVL.NET » Invoke.ImageAverageHSx
Computes the average of the HSV, HSL or HSI image pixel values.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void ImageAverageHSx ( Avl.Image inRgbImage, Optional<Avl.Region> inRoi, Avl.HSxColorModel inColorModel, Optional<int> inMinSaturation, out int outHAverage, out int outSAverage, out int outBAverage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRgbImage | Avl.Image | |||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | inColorModel | Avl.HSxColorModel | Selected color model. | ||
![]()  | inMinSaturation | Atl.Optional<int> | <0, 255> | 0 | Default value: 0. | 
![]()  | outHAverage | int | Output hue average. | ||
![]()  | outSAverage | int | Output saturation average. | ||
![]()  | outBAverage | int | Output brightness average. | 


