You are here: Start » AVL.NET » Invoke.FillRegionHoles
Adds pixels to the input region so that it contains no holes.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void FillRegionHoles ( Avl.Region inRegion, Avl.RegionConnectivity inConnectivity, int inMinHoleArea, Optional<int> inMaxHoleArea, Avl.Region outRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegion | Avl.Region | Input region. | ||
![]()  | inConnectivity | Avl.RegionConnectivity | Type of connectivity used for the region foreground. | ||
![]()  | inMinHoleArea | int | <0, INF> | Minimal area of a hole to be filled. | |
![]()  | inMaxHoleArea | Atl.Optional<int> | <0, INF> | Maximal area of a hole to be filled. Default value: atl::NIL. | |
![]()  | outRegion | Avl.Region | Output region. | 


