You are here: Start » AVL.NET » AVL.RegionNumberOfHoles
Computes the number of holes in a region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RegionNumberOfHoles ( AvlNet.Region inRegion, AvlNet.RegionConnectivity inConnectivity, int inMinHoleArea, int? inMaxHoleArea, out int outNumberOfHoles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inConnectivity | AvlNet.RegionConnectivity | Region connectivity semantics. | |||
inMinHoleArea | int | <0, INF> | 1 | Minimal area of a hole. Default value: 1. | |
inMaxHoleArea | int? | <0, INF> | Maximal area of a hole. Default value: atl::NIL. | ||
outNumberOfHoles | int |
Description
The operation computes the number of region holes. 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.