You are here: Start » FIL.NET » Function Reference » Region » Region Morphology » FIL.BottomHatRegion_AnyKernel
Performs a morphological black top hat (bottom hat) operation on a region using an arbitrary kernel.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void BottomHatRegion_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
Extracts small parts which do not belong to region. Uses user-defined kernels.
Is performed by running consecutively two filters. CloseRegion to remove small holes from region and RegionDifference to remove rest of the region.
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty kernel on input in BottomHatRegion_AnyKernel. |