Start » Filter Reference » Region » Region Features » RegionHoles

RegionHoles


Module: FoundationBasic

Creates regions of the holes of the input region.

Name Type Range Description
Input value
inRegion Region Input region
Input value
inConnectivity RegionConnectivity Region connectivity semantics
Input value
inMinHoleArea Integer 0 - Minimal area of a resulting hole
Input value
inMaxHoleArea Integer* 0 - Maximal area of a resulting hole
Output value
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

  • FillRegionHoles – Adds pixels to the input region so that it contains no holes.