ImageAverageHSx
Computes the average of the HSV, HSL or HSI image pixel values.
Syntax
C++
Python
def ImageAverageHSx( inRgbImage: Image, /, *, inRoi: Region | None = None, inColorModel: HSxColorModel = HSxColorModel.HSV, inMinSaturation: int | None = 0 ) -> ( outHAverage: int, outSAverage: int, outBAverage: int )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRgbImage | Image | |||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inColorModel | HSxColorModel | HSxColorModel.HSV | Selected color model | |
![]() |
inMinSaturation | int | None | 0 - 255 | 0 | |
![]() |
outHAverage | int | Output hue average | ||
![]() |
outSAverage | int | Output saturation average | ||
![]() |
outBAverage | int | Output brightness average |


