Start » Filter Reference » Region » Region Features » RegionNumberOfHoles
Module: | FoundationBasic |
---|
Computes the number of holes in a region.
Name | Type | Range | Description | |
---|---|---|---|---|
inRegion | Region | Input region | ||
inConnectivity | RegionConnectivity | Region connectivity semantics | ||
inMinHoleArea | Integer | 0 - | Minimal area of a hole | |
inMaxHoleArea | Integer* | 0 - | Maximal area of a hole | |
outNumberOfHoles | Integer |
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.
Examples
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- FillRegionHoles – Adds pixels to the input region so that it contains no holes.