You are here: Start » AVL.NET » AVS.ThresholdImage_HSx Method

AVS.ThresholdImage_HSx Method

Transforms each pixel value to minimum or maximum depending on whether it belongs to specified region in the HSV, HSL or HSI color space.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ThresholdImage_HSx
(
	AvlNet.Image inRgbImage,
	AvlNet.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	float inFuzziness,
	AvlNet.Image outMonoImage,
	AvlNet.Image diagHSxImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.ImageInput image in the RGB color space.
inColorModelAvlNet.HSxColorModelSelected color model.
inBeginHueint<0, 255>0Lowest acceptable Hue; if higher than inEndHue, then range wrapping is used. Default value: 0.
inEndHueint<0, 255>255Highest acceptable Hue, if lower than inBeginHue, then range wrapping is used. Default value: 255.
inFuzzinessfloat<0.0f, INF>Tolerance for value ranges that results in intermediate output values.
outMonoImageAvlNet.Image
diagHSxImageAvlNet.ImageImage in HSx color space.

Function Overrides

See also