You are here: Start » AVL.NET » AVL.RegionHoles Method

AVL.RegionHoles Method

Creates regions of the holes of the input region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RegionHoles(
	AvlNet.Region inRegion,
	AvlNet.RegionConnectivity inConnectivity,
	int inMinHoleArea,
	out AvlNet.Region[] outHoles
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inConnectivityAvlNet.RegionConnectivityRegion connectivity semantics.
inMinHoleAreaint<0, INF>1Minimal area of a resulting hole. Default value: 1.
outHolesAvlNet.Region

Description

The operation computes regions representing holes of input region. Holes of a region are those connected areas of pixels not belonging to the region, that do not touch the boundary of the region frame.

Examples

RegionHoles run on a sample region.

See also