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[])
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, int? inMaxHoleArea, out AvlNet.Region[] outHoles )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inConnectivity
- Type: AvlNet.RegionConnectivity
Region connectivity semantics - inMinHoleArea
- Type: System.Int32
Minimal area of a resulting hole - inMaxHoleArea
- Type: System.Nullable<System.Int32>
Maximal area of a resulting hole, or null. - 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.


