You are here: Start » AVL.NET » AVL.OpenRegion_AnyKernel(AvlNet.Region, AvlNet.Region, AvlNet.Region)
AVL.OpenRegion_AnyKernel(AvlNet.Region, AvlNet.Region, AvlNet.Region)
Performs a morphological opening on a region using an arbitrary kernel.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void OpenRegion_AnyKernel( AvlNet.Region inRegion, AvlNet.Region inKernel, out AvlNet.Region outRegion )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inKernel
- Type: AvlNet.Region
Kernel shape (any) - outRegion
- Type: AvlNet.Region
Output 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
![]() |
![]() |


