You are here: Start » AVL.NET » Function Reference » Computer Vision » 2D Edge Detection » AVL.DetectRidges_AsRegion
Extracts a pixel-precise region of bright or dark thin lines.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DetectRidges_AsRegion ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float inStdDevX, float? inStdDevY, float inRidgeThreshold, float inRidgeHysteresis, AvlNet.Polarity inPolarity, int inMinBlobArea, AvlNet.Region outRidgeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inStdDevX | float | <0.0f, INF> | 3.0f | Smoothing standard deviation (horizontal). Default value: 3.0f. | |
inStdDevY | float? | <0.0f, INF> | Smoothing standard deviation (vertical, or Auto = horizontal). Default value: atl::NIL. | ||
inRidgeThreshold | float | <0.0f, INF> | 5.0f | Sufficient ridge strength; ridges of that strength will always be detected. Default value: 5.0f. | |
inRidgeHysteresis | float | <0.0f, INF> | 4.0f | Value by which the ridge threshold is decreased for ridge points neighboring with sufficiently strong edges. Default value: 4.0f. | |
inPolarity | AvlNet.Polarity | ||||
inMinBlobArea | int | <0, INF> | 1 | Minimal area of a ridge blob. Default value: 1. | |
outRidgeRegion | AvlNet.Region |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.