You are here: Start » AVL.NET » AVL.GroupRegionsByLines
Splits an array of blobs by distance to a computed base lines
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void GroupRegionsByLines ( AvlNet.Region[] inRegions, AvlNet.Rectangle2D inRoi, int inLinesCount, float inLineWidth, bool inRemoveOutliers, out AvlNet.Region[][] outLines, out AvlNet.Region[] outLine0, out AvlNet.Region[] outLine1, out AvlNet.Region[] outLine2, out AvlNet.Region[] outLine3, out AvlNet.Rectangle2D outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegions | AvlNet.Region[] | Input regions (parts of characters). | ||
![]() | inRoi | AvlNet.Rectangle2D | Range of character classification. | ||
![]() | 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 | AvlNet.Region[][] | Lines in single Array. | ||
![]() | outLine0 | AvlNet.Region[] | |||
![]() | outLine1 | AvlNet.Region[] | |||
![]() | outLine2 | AvlNet.Region[] | |||
![]() | outLine3 | AvlNet.Region[] | |||
![]() | outAlignedRoi | AvlNet.Rectangle2D |
See also
- GroupRegionsByLines(AvlNet.Region[], AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, int, float, bool, AvlNet.Region[][], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Rectangle2D)
- GroupRegionsByLines(AvlNet.Region[], AvlNet.Rectangle2D, int, float, bool, AvlNet.Region[][], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Rectangle2D, AvlNet.Segment2D[], AvlNet.Rectangle2D[], AvlNet.Point2D[])
- GroupRegionsByLines(AvlNet.Region[], AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, int, float, bool, AvlNet.Region[][], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Rectangle2D, AvlNet.Segment2D[], AvlNet.Rectangle2D[], AvlNet.Point2D[])
- Class Reference
- AVL Class