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


