You are here: Start » AVL.NET » AVL.DilateRegion_AnyKernel(AvlNet.Region, AvlNet.Region, AvlNet.Location?, AvlNet.Region)

AVL.DilateRegion_AnyKernel(AvlNet.Region, AvlNet.Region, AvlNet.Location?, AvlNet.Region)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DilateRegion_AnyKernel(
	AvlNet.Region inRegion,
	AvlNet.Region inKernel,
	AvlNet.Location? inKernelAnchor,
	out AvlNet.Region outRegion
)

Parameters

inRegion
Type: AvlNet.Region
Input region
inKernel
Type: AvlNet.Region
Kernel shape (any)
inKernelAnchor
Type: System.Nullable<AvlNet.Location>
Location within inKernel, defining its center, or null.
outRegion
Type: AvlNet.Region
Output region

Description

The operation is a cousin of the DilateRegion 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 DilateRegion article for further information regarding the morphological dilation itself.

Examples

See also