You are here: Start » AVL.NET » AVL.RegionHoles(AvlNet.Region, AvlNet.RegionConnectivity, int, int?, AvlNet.Region[])

AVL.RegionHoles(AvlNet.Region, AvlNet.RegionConnectivity, int, int?, AvlNet.Region[])

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inRegion
Type: AvlNet.Region
inConnectivity
Type: AvlNet.RegionConnectivity
inMinHoleArea
Type: System.Int32
inMaxHoleArea
Type: System.Nullable<System.Int32>
outHoles
Type: AvlNet.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