You are here: Start » FIL.NET » FIS.ThresholdToRegion_Relative Method
FIS.ThresholdToRegion_Relative Method
Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ThresholdToRegion_Relative ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, FilNet.Image inBaseImage, float? inMinRelativeValue, float? inMaxRelativeValue, float inHysteresis, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | inBaseImage | FilNet.Image | Pixels of this image are subtracted from inImage before thresholding. | ||
![]() | inMinRelativeValue | float? | 128.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | |
![]() | inMaxRelativeValue | 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 | FilNet.Region | Output region. |