You are here: Start » AVL.NET » Function Reference » Region » Region Morphology » AVL.TopHatRegion
Performs a morphological white top hat operation on a region using a predefined kernel.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TopHatRegion ( AvlNet.Region inRegion, AvlNet.KernelShape inKernel, int inRadiusX, int? inRadiusY, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inKernel | AvlNet.KernelShape | Kernel shape (predefined). | |||
inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. | |
inRadiusY | int? | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL. | ||
outRegion | AvlNet.Region | Output region. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unsupported kernel in TopHatRegion. |