You are here: Start » AVL.NET » Function Reference » Region » Region Morphology » AVL.OpenRegion_AnyKernel

AVL.OpenRegion_AnyKernel

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void OpenRegion_AnyKernel
(
	AvlNet.Region inRegion,
	AvlNet.Region inKernel,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inKernelAvlNet.RegionKernel shape (any).
outRegionAvlNet.RegionOutput region.

Description

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

Examples

Errors

List of possible exceptions:

Error type Description
DomainError Empty kernel on input in OpenRegion_AnyKernel.

See also