You are here: Start » AVL.NET » AVL.DetectEdges
Extracts a pixel-precise image of continuous edges.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DetectEdges ( AvlNet.Image inImage, AvlNet.EdgeFilter inEdgeFilter, float inStdDevX, float inEdgeThreshold, float inEdgeHysteresis, float inMaxJoiningDistance, int inMinBlobArea, AvlNet.Image outEdgesImage, AvlNet.Image diagGradientMagnitudeImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which edges will be extracted. | |||
inEdgeFilter | AvlNet.EdgeFilter | Type of edge filter used for computing gradients. | |||
inStdDevX | float | <0.0f, INF> | 2.0f | Amount of horizontal smoothing used by the edge filter. Default value: 2.0f. | |
inEdgeThreshold | float | <0.0f, INF> | 15.0f | Sufficient edge strength; edges of that strength will always be detected. Default value: 15.0f. | |
inEdgeHysteresis | float | <0.0f, INF> | 5.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 5.0f. | |
inMaxJoiningDistance | float | <0.0f, INF> | 0.0f | Maximal distance between edges that can be joined. Default value: 0.0f. | |
inMinBlobArea | int | <0, INF> | 1 | Minimal area of an edge blob. Default value: 1. | |
outEdgesImage | AvlNet.Image | Image of found edges. | |||
diagGradientMagnitudeImage | AvlNet.Image | Visualization of the gradient magnitude. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Function Overrides
- DetectEdges(Image, EdgeFilter, Single, Single, Single, Single, Int32, Image)
- DetectEdges(Image, NullableRef<Region>, EdgeFilter, Single, Nullable<Single>, Single, Single, Single, Int32, Image)
- DetectEdges(Image, NullableRef<Region>, EdgeFilter, Single, Nullable<Single>, Single, Single, Single, Int32, Image, Image)