You are here: Start » FIL.NET » FIS.AnnotateGridPoints_Ransac Method
FIS.AnnotateGridPoints_Ransac Method
Select a subset of the given points that forms a grid and assign 2D indices to them.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void AnnotateGridPoints_Ransac ( IList<FilNet.Point2D> inPoints, int? inMaxAttempts, int? inMaxOutlierCount, float inMinLength, float? inMaxLength, float inMaxLengthRatio, float inAngleRange, float inBaseAspectRatioRange, float? inBaseAspectRatio, float? inBaseShear, float? inBaseOrientation, IList<FilNet.AnnotatedPoint2D> outPointGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point2D> | |||
![]() | inMaxAttempts | int? | <1, INF> | Maximum number of attempts at finding the grid. Default value: ftl::NIL. | |
![]() | inMaxOutlierCount | int? | <0, INF> | Determines how many outlier points can be present to end the search. Default value: ftl::NIL. | |
![]() | inMinLength | float | <0.0f, INF> | 0.0f | Minimum length of a grid segment. Default value: 0.0f. |
![]() | inMaxLength | float? | <0.0f, INF> | 10.0f | Maximum length of a grid segment, if set to Auto it will be approximated. Default value: 10.0f. |
![]() | inMaxLengthRatio | float | <1.0f, 2.0f> | 1.3f | Maximum ratio of two consecutive segments in the grid. Default value: 1.3f. |
![]() | inAngleRange | float | <0.0f, 45.0f> | 16.0f | Maximum variation of angles between neighbouring grid segments in degrees. Default value: 16.0f. |
![]() | inBaseAspectRatioRange | float | <0.0f, 1.0f> | 0.3f | Maximum variation of the base aspect ratio (ignores if base aspect ratio is not given). Default value: 0.3f. |
![]() | inBaseAspectRatio | float? | <0.3f, 1.0f> | 1.0f | A reference aspect ratio of the grid. Default value: 1.0f. |
![]() | inBaseShear | float? | <0.0f, 60.0f> | 00.0f | A reference shear angle between grid directions. Default value: 00.0f. |
![]() | inBaseOrientation | float? | <0.0f, 360.0f> | A reference orientation of one of the grids directions. Default value: ftl::NIL. | |
![]() | outPointGrid | System.Collections.Generic.IList<FilNet.AnnotatedPoint2D> | Detected grid. |
Function Overrides
- AnnotateGridPoints_Ransac(IList<Point2D>, Single, Single, Single, Single, IList<AnnotatedPoint2D>)
- AnnotateGridPoints_Ransac(IList<Point2D>, Nullable<Int32>, Nullable<Int32>, Single, Nullable<Single>, Single, Single, Single, Nullable<Single>, Nullable<Single>, Nullable<Single>, IList<AnnotatedPoint2D>, IList<Segment2D>, Single)