You are here: Start » AVL.NET » Invoke.ThresholdToRegion_HSx

Invoke.ThresholdToRegion_HSx

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ThresholdToRegion_HSx
(
	Avl.Image inRgbImage,
	Optional<Avl.Region> inRoi,
	Avl.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	Optional<int> inMinSaturation,
	Optional<int> inMaxSaturation,
	Optional<int> inMinBrightness,
	Optional<int> inMaxBrightness,
	Avl.Region outRegion,
	Diagnostic<Avl.Image> diagHSxImage
)

Parameters

Name Type Range Default Description
inRgbImageAvl.Image
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inColorModelAvl.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.
inMinSaturationAtl.Optional<int><0, 255>128Default value: 128.
inMaxSaturationAtl.Optional<int><0, 255>
inMinBrightnessAtl.Optional<int><0, 255>128Minimum brightness; denotes V, L or I, depending on inColorModel. Default value: 128.
inMaxBrightnessAtl.Optional<int><0, 255>Maximum brightness; denotes V, L or I, depending on inColorModel. Default value: atl::NIL.
outRegionAvl.RegionOutput region.
diagHSxImageAvl.Diagnostic<Avl.Image>Diagnostic image in HSx color space.

See also