You are here: Start » FIL.NET » Invoke.GroupRegionsByLines

Invoke.GroupRegionsByLines

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void GroupRegionsByLines
(
	List<Fil.Region> inRegions,
	Fil.Rectangle2D inRoi,
	Optional<Fil.CoordinateSystem2D> inRoiAlignment,
	int inLinesCount,
	float inLineWidth,
	bool inRemoveOutliers,
	List<List<Fil.Region>> outLines,
	List<Fil.Region> outLine0,
	List<Fil.Region> outLine1,
	List<Fil.Region> outLine2,
	List<Fil.Region> outLine3,
	out Fil.Rectangle2D outAlignedRoi,
	Diagnostic<List<Fil.Segment2D>> diagLines,
	Diagnostic<List<Fil.Rectangle2D>> diagLineRanges,
	Diagnostic<List<Fil.Point2D>> diagRegionPoints
)

Parameters

Name Type Range Default Description
inRegionsSystem.Collections.Generic.List<Fil.Region>Input regions (parts of characters).
inRoiFil.Rectangle2DRange of character classification.
inRoiAlignmentFtl.Optional<Fil.CoordinateSystem2D>
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.List<System.Collections.Generic.List<Fil.Region>>Lines in single Array.
outLine0System.Collections.Generic.List<Fil.Region>
outLine1System.Collections.Generic.List<Fil.Region>
outLine2System.Collections.Generic.List<Fil.Region>
outLine3System.Collections.Generic.List<Fil.Region>
outAlignedRoiFil.Rectangle2D
diagLinesFil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>>Segments which indicates the position of lines.
diagLineRangesFil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>>Rectangles represents range of lines which are included if inRemoveOutliers is set.
diagRegionPointsFil.Diagnostic<System.Collections.Generic.List<Fil.Point2D>>Point which indicates region position.

See also