You are here: Start » AVL.NET » AVL.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[])
AVL.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[])
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, AvlNet.CoordinateSystem2D? inRoiAlignment, 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, out AvlNet.Segment2D[] diagLines, out AvlNet.Rectangle2D[] diagLineRanges, out AvlNet.Point2D[] diagRegionPoints )
Parameters
- inRegions
- Type: AvlNet.Region
Input regions (parts of characters) - inRoi
- Type: AvlNet.Rectangle2D
Range of character classification - inRoiAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
- 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
- diagLines
- Type: AvlNet.Segment2D
Segments which indicates the position of lines - diagLineRanges
- Type: AvlNet.Rectangle2D
Rectangles represents range of lines which are included if inRemoveOutliers is set - diagRegionPoints
- Type: AvlNet.Point2D
Point which indicates region position
