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 ( IList<AvlNet.Region> inRegions, AvlNet.Rectangle2D inRoi, int inLinesCount, float inLineWidth, bool inRemoveOutliers, IList<SafeList<AvlNet.Region>> outLines, IList<AvlNet.Region> outLine0, IList<AvlNet.Region> outLine1, IList<AvlNet.Region> outLine2, IList<AvlNet.Region> outLine3, out AvlNet.Rectangle2D outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegions | System.Collections.Generic.IList<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 | System.Collections.Generic.IList<AvlNet.SafeList<AvlNet.Region>> | Lines in single Array. | |||
outLine0 | System.Collections.Generic.IList<AvlNet.Region> | ||||
outLine1 | System.Collections.Generic.IList<AvlNet.Region> | ||||
outLine2 | System.Collections.Generic.IList<AvlNet.Region> | ||||
outLine3 | System.Collections.Generic.IList<AvlNet.Region> | ||||
outAlignedRoi | AvlNet.Rectangle2D |
Function Overrides
- GroupRegionsByLines(IList<Region>, Rectangle2D, Nullable<CoordinateSystem2D>, Int32, Single, Boolean, IList<SafeList<Region>>, IList<Region>, IList<Region>, IList<Region>, IList<Region>, Rectangle2D)
- GroupRegionsByLines(IList<Region>, Rectangle2D, Int32, Single, Boolean, IList<SafeList<Region>>, IList<Region>, IList<Region>, IList<Region>, IList<Region>, Rectangle2D, IList<Segment2D>, IList<Rectangle2D>, IList<Point2D>)
- GroupRegionsByLines(IList<Region>, Rectangle2D, Nullable<CoordinateSystem2D>, Int32, Single, Boolean, IList<SafeList<Region>>, IList<Region>, IList<Region>, IList<Region>, IList<Region>, Rectangle2D, IList<Segment2D>, IList<Rectangle2D>, IList<Point2D>)