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

AVS.ThresholdToRegion_HSx Method

Creates a region containing image pixels which belongs to specified region in HSV, HSL or HSI space.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ThresholdToRegion_HSx
(
	AvlNet.Image inRgbImage,
	AvlNet.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	AvlNet.Region outRegion,
	AvlNet.Image diagHSxImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
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.
outRegionAvlNet.RegionOutput region.
diagHSxImageAvlNet.ImageDiagnostic image in HSx color space.

Function Overrides

See also