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

AVS.FillRegionHoles Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FillRegionHoles
(
	AvlNet.Region inRegion,
	AvlNet.RegionConnectivity inConnectivity,
	int inMinHoleArea,
	int? inMaxHoleArea,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inConnectivityAvlNet.RegionConnectivityType of connectivity used for the region foreground.
inMinHoleAreaint<0, INF>Minimal area of a hole to be filled.
inMaxHoleAreaint?<0, INF>Maximal area of a hole to be filled. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.

Function Overrides

See also