You are here: Start » FIL.NET » Invoke.GroupRegionsByLines
Splits an array of blobs by distance to computed base lines.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void GroupRegionsByLines ( List<Fil.Region> inRegions, Fil.Rectangle2D inRoi, Optional<Fil.CoordinateSystem2D> inRoiAlignment, int inLinesCount, float inLineWidth, bool inRemoveOutliers, List<List<Fil.Region>> outLines, List<Fil.Region> outLine0, List<Fil.Region> outLine1, List<Fil.Region> outLine2, List<Fil.Region> outLine3, out Fil.Rectangle2D outAlignedRoi, Diagnostic<List<Fil.Segment2D>> diagLines, Diagnostic<List<Fil.Rectangle2D>> diagLineRanges, Diagnostic<List<Fil.Point2D>> diagRegionPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegions | System.Collections.Generic.List<Fil.Region> | Input regions (parts of characters). | ||
![]() | inRoi | Fil.Rectangle2D | Range of character classification. | ||
![]() | inRoiAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | |||
![]() | inLinesCount | int | <0, INF> | 1 | ROI is divided into inLinesCount lines. Default value: 1. |
![]() | inLineWidth | float | <0.0f, INF> | 1.0f | Value of line range used if inRemoveOutliers is set to TRUE. Default value: 1.0f. |
![]() | inRemoveOutliers | bool | False | If this flag is set blobs with distance greater than inLineWidth are removed. Default value: False. | |
![]() | outLines | System.Collections.Generic.List<System.Collections.Generic.List<Fil.Region>> | Lines in single Array. | ||
![]() | outLine0 | System.Collections.Generic.List<Fil.Region> | |||
![]() | outLine1 | System.Collections.Generic.List<Fil.Region> | |||
![]() | outLine2 | System.Collections.Generic.List<Fil.Region> | |||
![]() | outLine3 | System.Collections.Generic.List<Fil.Region> | |||
![]() | outAlignedRoi | Fil.Rectangle2D | |||
![]() | diagLines | Fil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>> | Segments which indicates the position of lines. | ||
![]() | diagLineRanges | Fil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>> | Rectangles represents range of lines which are included if inRemoveOutliers is set. | ||
![]() | diagRegionPoints | Fil.Diagnostic<System.Collections.Generic.List<Fil.Point2D>> | Point which indicates region position. |