You are here: Start » AVL.NET » Invoke.ThresholdToRegion_Dynamic
Thresholds an image relatively to the average pixel value in a local rectangular neighborhood.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ThresholdToRegion_Dynamic ( Avl.Image inImage, Optional<Avl.Region> inRoi, Optional<Avl.Region> inSourceRoi, int inRadiusX, Optional<int> inRadiusY, Optional<float> inMinRelativeValue, Optional<float> inMaxRelativeValue, float inHysteresis, Avl.Region outRegion, Diagnostic<Avl.Image> diagBaseImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Region in which pixels are written. Default value: atl::NIL. | ||
![]() | inSourceRoi | Atl.Optional<Avl.Region> | Region from which pixels are read. Default value: atl::NIL. | ||
![]() | inRadiusX | int | <0, 65535> | 5 | Horizontal radius of internal mean blur. Default value: 5. |
![]() | inRadiusY | Atl.Optional<int> | <0, 65535> | Vertical radius of internal mean blur (Auto = inRadiusX). Default value: atl::NIL. | |
![]() | inMinRelativeValue | Atl.Optional<float> | 5.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 5.0f. | |
![]() | inMaxRelativeValue | Atl.Optional<float> | Maximum relative value of a pixel that is considered foreground (Auto = +INF). Default value: atl::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 | Avl.Region | Output region. | ||
![]() | diagBaseImage | Avl.Diagnostic<Avl.Image> | Diagnostic blurred image. |