You are here: Start » FIL.NET » Invoke.DetectEdges_AsPaths
Extracts subpixel-precise paths that represent continuous edges.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void DetectEdges_AsPaths ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.EdgeFilter inEdgeFilter, float inStdDevX, Optional<float> inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, Optional<float> inMaxJoiningDistance, float inMaxJoiningAngle, float inJoiningDistanceBalance, Optional<float> inJoiningEndingLength, float inMinEdgeLength, List<Fil.Path> outEdges, Diagnostic<Fil.Image> diagGradientMagnitudeImage, Diagnostic<Fil.Region> diagEdgeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Image from which edges will be extracted. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of the image from which edges will be extracted. Default value: ftl::NIL. | ||
![]() | inEdgeFilter | Fil.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. |
![]() | inStdDevY | Ftl.Optional<float> | <0.0f, INF> | Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: ftl::NIL. | |
![]() | 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 | Ftl.Optional<float> | <0.0f, INF> | Maximal distance between edges that can be joined. Default value: ftl::NIL. | |
![]() | inMaxJoiningAngle | float | <0.0f, 180.0f> | 30.0f | Maximal allowed angle between edges being joined. Default value: 30.0f. |
![]() | inJoiningDistanceBalance | float | <0.0f, 1.0f> | 0.0f | Determines how important distance between edges is according to their angle difference. Default value: 0.0f. |
![]() | inJoiningEndingLength | Ftl.Optional<float> | <1.0f, INF> | Determines the length of the edge end used for edge angle computing. Default value: ftl::NIL. | |
![]() | inMinEdgeLength | float | <0.0f, INF> | 0.0f | Minimal length of an edge. Default value: 0.0f. |
![]() | outEdges | System.Collections.Generic.List<Fil.Path> | Paths representing found edges. | ||
![]() | diagGradientMagnitudeImage | Fil.Diagnostic<Fil.Image> | Visualization of the gradient magnitude. | ||
![]() | diagEdgeRegion | Fil.Diagnostic<Fil.Region> | Region representing found edges. |