You are here: Start » AVL.NET » Invoke.DetectSegments
Finds segments in an image using Hough Transform.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void DetectSegments ( Avl.Image inImage, Optional<Avl.Region> inRoi, float inAngleResolution, float inMinAngleDelta, float inMinDistance, float inMinLength, float inMinScore, float inEdgeThreshold, List<Avl.Segment2D> outSegments, Diagnostic<Avl.Image> diagGradientMagnitudeImage, Diagnostic<Avl.Image> diagScoreImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Input region of interest. Default value: atl::NIL. | ||
![]()  | inAngleResolution | float | <0.1f, 180.0f> | 1.0f | Resolution of segments' orientation. Default value: 1.0f. | 
![]()  | inMinAngleDelta | float | <0.0f, INF> | 20.0f | Minimum angle between two segments. Default value: 20.0f. | 
![]()  | inMinDistance | float | <0.0f, INF> | 20.0f | Minimum distance between two segments. Default value: 20.0f. | 
![]()  | inMinLength | float | <0.0f, INF> | 20.0f | Minimum segment length. 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. | |
![]()  | outSegments | System.Collections.Generic.List<Avl.Segment2D> | Output segments. | ||
![]()  | diagGradientMagnitudeImage | Avl.Diagnostic<Avl.Image> | Visualized gradients magnitude of an input image. | ||
![]()  | diagScoreImage | Avl.Diagnostic<Avl.Image> | Calculated score for each pixel of an input image. | 



