You are here: Start » FIL.NET » FIL.ErodeRegion_AnyKernel

FIL.ErodeRegion_AnyKernel

Performs a morphological erosion on a region using an arbitrary kernel.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ErodeRegion_AnyKernel
(
	FilNet.Region inRegion,
	FilNet.Region inKernel,
	FilNet.Location? inKernelAnchor,
	FilNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionFilNet.RegionInput region.
inKernelFilNet.RegionKernel shape (any).
inKernelAnchorFilNet.Location?Location within inKernel, defining its center. Default value: ftl::NIL.
outRegionFilNet.RegionOutput region.

Description

The operation is a cousin of the ErodeRegion filter, yet it uses any proper region selected by user as a structuring element. The center of a kernel is assumed to be at location (width/2,height/2). Refer to the ErodeRegion article for further information regarding the morphological erosion itself.

Examples

Errors

List of possible exceptions:

Error type Description
DomainError Empty kernel on input in ErodeRegion_AnyKernel.

Function Overrides

See also