You are here: Start » FIL.NET » Function Reference » Region » Region Global Transforms » FIL.FillRegionHoles

FIL.FillRegionHoles

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void FillRegionHoles
(
	FilNet.Region inRegion,
	FilNet.RegionConnectivity inConnectivity,
	int inMinHoleArea,
	FilNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionFilNet.RegionInput region.
inConnectivityFilNet.RegionConnectivityType of connectivity used for the region foreground.
inMinHoleAreaint<0, INF>Minimal area of a hole to be filled.
outRegionFilNet.RegionOutput region.

Description

The operation extends a region to contain all pixels inside any of the region holes. 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

FillRegionHoles run on a sample region.

Remarks

This filter is mostly used in Blob Analysis Technique please refer to our Machine Vision Guide - Blob Analysis article.

Function Overrides

See also