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,
	int? inMinSaturation,
	int? inMaxSaturation,
	int? inMinBrightness,
	int? inMaxBrightness,
	AvlNet.Region outRegion
)

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.
inMinSaturationint?<0, 255>128Default value: 128.
inMaxSaturationint?<0, 255>
inMinBrightnessint?<0, 255>128Minimum brightness; denotes V, L or I, depending on inColorModel. Default value: 128.
inMaxBrightnessint?<0, 255>Maximum brightness; denotes V, L or I, depending on inColorModel. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.

Function Overrides

See also