You are here: Start » FIL.NET » Invoke.DetectLines
Finds lines in an image using Hough Transform.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void DetectLines ( Fil.Image inImage, Optional<Fil.Region> inRoi, float inAngleResolution, float inMinAngleDelta, float inMinDistance, float inMinScore, float inEdgeThreshold, List<Fil.Line2D> outLines, List<float> outScores, Diagnostic<Fil.Image> diagGradientMagnitudeImage, Diagnostic<Fil.Image> diagScoreImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Input region of interest. Default value: ftl::NIL. | ||
![]() | inAngleResolution | float | <0.1f, 180.0f> | 1.0f | Resolution of lines' orientation. Default value: 1.0f. |
![]() | inMinAngleDelta | float | <0.0f, INF> | 20.0f | Minimum angle between two lines. Default value: 20.0f. |
![]() | inMinDistance | float | <0.0f, INF> | 20.0f | Minimum distance between two lines. Default value: 20.0f. |
![]() | inMinScore | float | <0.0f, INF> | 20.0f | Minimum matching score. Default value: 20.0f. |
![]() | inEdgeThreshold | float | 10.0f | Minimum accepted edge magnitude. Default value: 10.0f. | |
![]() | outLines | System.Collections.Generic.List<Fil.Line2D> | Output lines. | ||
![]() | outScores | System.Collections.Generic.List<float> | Output scores. | ||
![]() | diagGradientMagnitudeImage | Fil.Diagnostic<Fil.Image> | Visualized gradients magnitude of an input image. | ||
![]() | diagScoreImage | Fil.Diagnostic<Fil.Image> | Calculated score for each pixel of an input image. |