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, NullableRef<AvlNet.Region> inRoi, AvlNet.HSxColorModel inColorModel, int inBeginHue, int inEndHue, int? inMinSaturation, int? inMaxSaturation, int? inMinBrightness, int? inMaxBrightness, float inFuzziness, AvlNet.Image outMonoImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRgbImage | AvlNet.Image | Input image in the RGB color space. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. 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. | ||
inFuzziness | float | <0.0f, INF> | Tolerance for value ranges that results in intermediate output values. | ||
outMonoImage | AvlNet.Image |
Function Overrides
- ThresholdImage_HSx(Image, HSxColorModel, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Single, Image)
- ThresholdImage_HSx(Image, NullableRef<Region>, HSxColorModel, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Single, Image, Image)