You are here: Start » AVL.NET » Function Reference » Region » Region Features » AVL.RegionHoles_Elastic
Fills a ridges region with convex basins.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RegionHoles_Elastic ( AvlNet.Region inRegion, NullableRef<AvlNet.Region> inRoi, int inDistanceThreshold, IList<AvlNet.Region> outBasins )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inDistanceThreshold | int | 5 | Default value: 5. | ||
outBasins | System.Collections.Generic.IList<AvlNet.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.