You are here: Start » AVL.NET » AVL.ImageAverageHSx(AvlNet.Image, AvlNet.Region, AvlNet.HSxColorModel, int?, int, int, int)
AVL.ImageAverageHSx(AvlNet.Image, AvlNet.Region, AvlNet.HSxColorModel, int?, int, int, int)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ImageAverageHSx( AvlNet.Image inRgbImage, AvlNet.Region inRoi, AvlNet.HSxColorModel inColorModel, int? inMinSaturation, out int outHAverage, out int outSAverage, out int outBAverage )
Parameters
- inRgbImage
- Type: AvlNet.Image
- inRoi
- Type: AvlNet.Region
- inColorModel
- Type: AvlNet.HSxColorModel
- inMinSaturation
- Type: System.Nullable<System.Int32>
- outHAverage
- Type: System.Int32
- outSAverage
- Type: System.Int32
- outBAverage
- Type: System.Int32
Description
The filter finds average values of the HSV, HSL or HSI color space image from the RGB image inRgbImage within specific region inRoi.
The calculations take into account only these pixels which have saturation a greater than inMinSaturation.
Filter returns average values of a hue, saturation and brightness.
