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