Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Region Features » RegionNumberOfHoles
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 Basic Complexity Level.
See Also
- FillRegionHoles – Extends the input region so that it contains also all the pixels previously lying in its holes.