You are here: Start » AVL.NET » AVL.ThresholdToRegion_Dynamic(AvlNet.Image, int, float?, float, AvlNet.Region)
AVL.ThresholdToRegion_Dynamic(AvlNet.Image, int, float?, float, AvlNet.Region)
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, int inRadiusX, float? inMinRelativeValue, float inHysteresis, out AvlNet.Region outRegion )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRadiusX
- Type: System.Int32
Horizontal radius of internal mean blur - inMinRelativeValue
- Type: System.Nullable<System.Single>
Minimum relative value of a pixel that is considered foreground (Auto = -INF), or null. - inHysteresis
- Type: System.Single
Defines how much the threshold criteria are lowered for pixels neighboring with other foreground pixels - outRegion
- Type: AvlNet.Region
Output region
