You are here: Start » AVL.NET » AVS.ThresholdToRegion Method
AVS.ThresholdToRegion Method
Creates a region containing image pixels with values within the specified range.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ThresholdToRegion ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float? inMinValue, float? inMaxValue, float inHysteresis, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inMinValue | float? | 128.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | ||
inMaxValue | float? | Maximum 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. |