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
inRgbImageAvlNet.Image
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inColorModelAvlNet.HSxColorModelSelected color model.
inMinSaturationint?<0, 255>0Default value: 0.
outHAverageintOutput hue average.
outSAverageintOutput saturation average.
outBAverageintOutput brightness average.

Function Overrides

See also