You are here: Start » AVL.NET » AVS.ThresholdToRegion_RGB Method
AVS.ThresholdToRegion_RGB Method
Creates a region containing image pixels which belongs to the specified range for each individual pixel component.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ThresholdToRegion_RGB ( AvlNet.Image inRgbImage, NullableRef<AvlNet.Region> inRoi, int? inMinRed, int? inMaxRed, int? inMinGreen, int? inMaxGreen, int? inMinBlue, int? inMaxBlue, int? inMinAlpha, int? inMaxAlpha, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRgbImage | AvlNet.Image | Input image, usually in the RGB color space. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inMinRed | int? | <0, 255> | 128 | Minimum for the first pixel component, usually Red (Auto = -INF). Default value: 128. | |
inMaxRed | int? | <0, 255> | Maximum for the first pixel component, usually Red (Auto = +INF). Default value: atl::NIL. | ||
inMinGreen | int? | <0, 255> | 128 | Minimum for the second pixel component, usually Green (Auto = -INF). Default value: 128. | |
inMaxGreen | int? | <0, 255> | Maximum for the second pixel component, usually Green (Auto = +INF). Default value: atl::NIL. | ||
inMinBlue | int? | <0, 255> | 128 | Minimum for the third pixel component, usually Blue (Auto = -INF). Default value: 128. | |
inMaxBlue | int? | <0, 255> | Maximum for the third pixel component, usually Blue (Auto = +INF). Default value: atl::NIL. | ||
inMinAlpha | int? | <0, 255> | Minimum for the fourth pixel component, usually Blue (Auto = -INF). Default value: atl::NIL. | ||
inMaxAlpha | int? | <0, 255> | Maximum for the fourth pixel component, usually Blue (Auto = +INF). Default value: atl::NIL. | ||
outRegion | AvlNet.Region | Output region. |