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

Invoke.FillRegionHoles

Adds pixels to the input region so that it contains no holes.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FillRegionHoles
(
	Avl.Region inRegion,
	Avl.RegionConnectivity inConnectivity,
	int inMinHoleArea,
	Optional<int> inMaxHoleArea,
	Avl.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvl.RegionInput region.
inConnectivityAvl.RegionConnectivityType of connectivity used for the region foreground.
inMinHoleAreaint<0, INF>Minimal area of a hole to be filled.
inMaxHoleAreaAtl.Optional<int><0, INF>Maximal area of a hole to be filled. Default value: atl::NIL.
outRegionAvl.RegionOutput region.

See also