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