You are here: Start » FIL.NET » Function Reference » Region » Region Features » FIL.RegionHoles_Elastic
Fills a ridges region with convex basins.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionHoles_Elastic ( FilNet.Region inRegion, int inDistanceThreshold, IList<FilNet.Region> outBasins )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inDistanceThreshold | int | 5 | Default value: 5. | |
![]() | outBasins | System.Collections.Generic.IList<FilNet.Region> |
Description
This filter fills a regions holes with convex basins based on a flooding algorithm.
The parameter inDistanceThreshold can be used to ignore smaller holes of the input region.
Examples
![]() Example region |
![]() Computed region holes |
![]() Computed region holes where the threshold has been increased to ignore the smaller hole |