You are here: Start » FIL.NET » Invoke.ThresholdToRegion_Relative
Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ThresholdToRegion_Relative ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.Image inBaseImage, Optional<float> inMinRelativeValue, Optional<float> inMaxRelativeValue, 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. | ||
![]() | inBaseImage | Fil.Image | Pixels of this image are subtracted from inImage before thresholding. | ||
![]() | inMinRelativeValue | Ftl.Optional<float> | 128.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | |
![]() | inMaxRelativeValue | Ftl.Optional<float> | Maximum relative value of a pixel that is considered foreground (Auto = +INF). Default value: ftl::NIL. | ||
![]() | inHysteresis | float | <0.0f, INF> | 0.0f | Defines how much the threshold criteria are lowered for pixels neighboring with other foreground pixels. Default value: 0.0f. |
![]() | outRegion | Fil.Region | Output region. |