You are here: Start » AVL.NET » AVS.ThresholdToRegion_Dynamic Method
AVS.ThresholdToRegion_Dynamic Method
Thresholds an image relatively to the average pixel value in a local rectangular neighborhood.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ThresholdToRegion_Dynamic ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, NullableRef<AvlNet.Region> inSourceRoi, int inRadiusX, int? inRadiusY, float? inMinRelativeValue, float? inMaxRelativeValue, float inHysteresis, AvlNet.Region outRegion, AvlNet.Image diagBaseImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region in which pixels are written. Default value: atl::NIL. | |||
inSourceRoi | AvlNet.NullableRef<AvlNet.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 | int? | <0, 65535> | Vertical radius of internal mean blur (Auto = inRadiusX). Default value: atl::NIL. | ||
inMinRelativeValue | float? | 5.0f | Minimum relative value of a pixel that is considered foreground (Auto = -INF). Default value: 5.0f. | ||
inMaxRelativeValue | 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 | AvlNet.Region | Output region. | |||
diagBaseImage | AvlNet.Image | Diagnostic blurred image. |
Function Overrides
- ThresholdToRegion_Dynamic(Image, Int32, Nullable<Single>, Nullable<Single>, Single, Region)
- ThresholdToRegion_Dynamic(Image, NullableRef<Region>, NullableRef<Region>, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Region)