You are here: Start » AVL.NET » Invoke.ThresholdImage_Relative
Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ThresholdImage_Relative ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.Image inBaseImage, Optional<float> inMinRelativeValue, Optional<float> inMaxRelativeValue, float inFuzziness, Avl.Image outMonoImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]() | inBaseImage | Avl.Image | Pixels of this image are subtracted from inImage before thresholding. | ||
![]() | inMinRelativeValue | Atl.Optional<float> | 128.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | |
![]() | inMaxRelativeValue | Atl.Optional<float> | Maximum relative value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | ||
![]() | inFuzziness | float | <0.0f, INF> | 0.0f | A tolerance for inMin/MaxRelativeValue that results in intermediate output values. Default value: 0.0f. |
![]() | outMonoImage | Avl.Image |