You are here: Start » FIL.NET » FIL.CloseRegion_AnyKernel
Performs a morphological closing on a region using an arbitrary kernel.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CloseRegion_AnyKernel ( FilNet.Region inRegion, FilNet.Region inKernel, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inKernel | FilNet.Region | Kernel shape (any). | ||
![]() | outRegion | FilNet.Region | Output region. |
Description
The operation is a cousin of the CloseRegion 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 CloseRegion article for further information regarding the morphological closing itself.
Examples
![]() |
![]() |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty kernel on input in CloseRegion_AnyKernel. |