You are here: Start » AVL.NET » Invoke.SplitRegionIntoBlobs

Invoke.SplitRegionIntoBlobs

Splits a region into an array of regions corresponding to its connected components.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SplitRegionIntoBlobs
(
	Avl.Region inRegion,
	Avl.RegionConnectivity inConnectivity,
	int inMinBlobArea,
	Optional<int> inMaxBlobArea,
	bool inRemoveBoundaryBlobs,
	List<Avl.Region> outBlobs
)

Parameters

Name Type Range Default Description
inRegionAvl.RegionInput region.
inConnectivityAvl.RegionConnectivityType of connectivity used for the region foreground.
inMinBlobAreaint<0, INF>1Minimal area of a resulting blob. Default value: 1.
inMaxBlobAreaAtl.Optional<int><0, INF>Maximal area of a resulting blob. Default value: atl::NIL.
inRemoveBoundaryBlobsboolFalseFlag indicating whether the blobs on border of the input region should be removed or not. Default value: False.
outBlobsSystem.Collections.Generic.List<Avl.Region>

See also