You are here: Start » FIL.NET » FIL.RegionHoles
Creates regions of the holes of the input region.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionHoles ( FilNet.Region inRegion, FilNet.RegionConnectivity inConnectivity, int inMinHoleArea, int? inMaxHoleArea, IList<FilNet.Region> outHoles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inConnectivity | FilNet.RegionConnectivity | Region connectivity semantics. | ||
![]() | inMinHoleArea | int | <0, INF> | 1 | Minimal area of a resulting hole. Default value: 1. |
![]() | inMaxHoleArea | int? | <0, INF> | Maximal area of a resulting hole. Default value: ftl::NIL. | |
![]() | outHoles | System.Collections.Generic.IList<FilNet.Region> |
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.