You are here: Start » FIL.NET » Invoke.ThresholdToRegion_Color
Creates a region containing image pixels with values close to the given color.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ThresholdToRegion_Color ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.Pixel inRgbColor, float inChromaAmount, float inMaxDifference, float inHysteresis, Fil.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | inRgbColor | Fil.Pixel | Color to compare the image to. | ||
![]() | inChromaAmount | float | <0.0f, 1.0f> | 0.7f | Proportion of chromatic information in distance computation. Default value: 0.7f. |
![]() | inMaxDifference | float | <0.0f, INF> | 5.0f | Maximum difference between image pixel and model color. Default value: 5.0f. |
![]() | inHysteresis | float | <0.0f, INF> | 0.0f | Defines how much the difference criterium is lowered for pixels neighboring with other foreground pixels. Default value: 0.0f. |
![]() | outRegion | Fil.Region | Output region. |