You are here: Start » AVL.NET » AVL.SplitRegionIntoExactlyNComponents(AvlNet.Region, int, bool, AvlNet.Region[])

AVL.SplitRegionIntoExactlyNComponents(AvlNet.Region, int, bool, AvlNet.Region[])

Splits a region into a fixed-size array of regions. Minimizes distances between blobs belonging to a single component.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SplitRegionIntoExactlyNComponents(
	AvlNet.Region inRegion,
	int inComponentCount,
	bool inRemoveBoundaryBlobs,
	out AvlNet.Region[] outComponents
)

Parameters

inRegion
Type: AvlNet.Region
Input region
inComponentCount
Type: System.Int32
inRemoveBoundaryBlobs
Type: System.Boolean
Flag indicating whether the blobs on border of the input region should be removed or not
outComponents
Type: AvlNet.Region

Remarks

See full override for more details.

See also