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, NullableRef<AvlNet.Region> inRoi, AvlNet.HSxColorModel inColorModel, int inBeginHue, int inEndHue, int? inMinSaturation, int? inMaxSaturation, int? inMinBrightness, int? inMaxBrightness, AvlNet.Region outRegion, AvlNet.Image diagHSxImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRgbImage | AvlNet.Image | ||||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inColorModel | AvlNet.HSxColorModel | Selected color model. | |||
inBeginHue | int | <0, 255> | 0 | Lowest acceptable Hue; if higher than inEndHue, then range wrapping is used. Default value: 0. | |
inEndHue | int | <0, 255> | 255 | Highest acceptable Hue, if lower than inBeginHue, then range wrapping is used. Default value: 255. | |
inMinSaturation | int? | <0, 255> | 128 | Default value: 128. | |
inMaxSaturation | int? | <0, 255> | |||
inMinBrightness | int? | <0, 255> | 128 | Minimum brightness; denotes V, L or I, depending on inColorModel. Default value: 128. | |
inMaxBrightness | int? | <0, 255> | Maximum brightness; denotes V, L or I, depending on inColorModel. Default value: atl::NIL. | ||
outRegion | AvlNet.Region | Output region. | |||
diagHSxImage | AvlNet.Image | Diagnostic image in HSx color space. |
Function Overrides
- ThresholdToRegion_HSx(Image, HSxColorModel, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Region)
- ThresholdToRegion_HSx(Image, NullableRef<Region>, HSxColorModel, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Region)