You are here: Start » AVL.NET » AVL.GroupRegionsByLines(AvlNet.Region[], AvlNet.Rectangle2D, int, float, bool, AvlNet.Region[][], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Rectangle2D)
AVL.GroupRegionsByLines(AvlNet.Region[], AvlNet.Rectangle2D, int, float, bool, AvlNet.Region[][], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Region[], AvlNet.Rectangle2D)
Splits an array of blobs by distance to a computed base lines
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
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
- inRegions
- Type: AvlNet.Region
Input regions (parts of characters) - inRoi
- Type: AvlNet.Rectangle2D
Range of character classification - inLinesCount
- Type: System.Int32
ROI is divided into inLinesCount lines - inLineWidth
- Type: System.Single
Value of line range used if inRemoveOutliers is set to TRUE - inRemoveOutliers
- Type: System.Boolean
If this flag is set blobs with distance greater than inLineWidth are removed. - outLines
- Type: AvlNet.Region
Lines in single Array - outLine0
- Type: AvlNet.Region
- outLine1
- Type: AvlNet.Region
- outLine2
- Type: AvlNet.Region
- outLine3
- Type: AvlNet.Region
- outAlignedRoi
- Type: AvlNet.Rectangle2D
Remarks
See full override for more details.
