You are here: Start » FIL.NET » FIS.ThresholdImage_Dynamic Method
FIS.ThresholdImage_Dynamic Method
Thresholds an image relatively to some value calculated in a local rectangular neighbourhood.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ThresholdImage_Dynamic ( FilNet.Image inImage, FilNet.ThresholdDynamicReferenceMethod inReferenceMethod, FilNet.KernelShape inKernel, int inRadiusX, float? inMinRelativeValue, float? inMaxRelativeValue, float inFuzziness, FilNet.Image outMonoImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inReferenceMethod | FilNet.ThresholdDynamicReferenceMethod | Mean | Specifies how the local threshold value will be calculated (see SmoothImage filter family). Default value: Mean. | |
![]() | inKernel | FilNet.KernelShape | Box | Kernel shape. Default value: Box. | |
![]() | inRadiusX | int | <0, 65535> | 5 | Horizontal radius of local neighbourhood. Default value: 5. |
![]() | inMinRelativeValue | float? | 0.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 0.0f. | |
![]() | inMaxRelativeValue | float? | Maximum relative value of a pixel that is considered foreground (Auto = +INF). Default value: ftl::NIL. | ||
![]() | inFuzziness | float | <0.0f, INF> | 0.0f | A tolerance for inMin/MaxRelativeValue that results in intermediate output values. Clamped on half of pixel max value (e.g. max fuzziness for uint8 image is 128). Default value: 0.0f. |
![]() | outMonoImage | FilNet.Image |
Function Overrides
- ThresholdImage_Dynamic(Image, NullableRef<Region>, NullableRef<Region>, ThresholdDynamicReferenceMethod, KernelShape, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Image)
- ThresholdImage_Dynamic(Image, NullableRef<Region>, NullableRef<Region>, ThresholdDynamicReferenceMethod, KernelShape, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Image, Image)