You are here: Start » AVL.NET » AVS.GroupRegionsByLines Method

AVS.GroupRegionsByLines Method

Splits an array of blobs by distance to computed base lines.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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
inRegionsSystem.Collections.Generic.IList<AvlNet.Region>Input regions (parts of characters).
inRoiAvlNet.Rectangle2DRange of character classification.
inLinesCountint<0, INF>1ROI is divided into inLinesCount lines. Default value: 1.
inLineWidthfloat<0.0f, INF>1.0fValue of line range used if inRemoveOutliers is set to TRUE. Default value: 1.0f.
inRemoveOutliersboolFalseIf this flag is set blobs with distance greater than inLineWidth are removed. Default value: False.
outLinesSystem.Collections.Generic.IList<AvlNet.SafeList<AvlNet.Region>>Lines in single Array.
outLine0System.Collections.Generic.IList<AvlNet.Region>
outLine1System.Collections.Generic.IList<AvlNet.Region>
outLine2System.Collections.Generic.IList<AvlNet.Region>
outLine3System.Collections.Generic.IList<AvlNet.Region>
outAlignedRoiAvlNet.Rectangle2D

Function Overrides

See also