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