You are here: Start » AVL.NET » Function Reference » Region » Region Features » AVL.RegionHoles

AVL.RegionHoles

Creates regions of the holes of the input region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RegionHoles
(
	AvlNet.Region inRegion,
	AvlNet.RegionConnectivity inConnectivity,
	int inMinHoleArea,
	int? inMaxHoleArea,
	IList<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.
inMaxHoleAreaint?<0, INF>Maximal area of a resulting hole. Default value: atl::NIL.
outHolesSystem.Collections.Generic.IList<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.

Function Overrides

See also