You are here: Start » AVL.NET » Invoke.TopHatRegion
Performs a morphological white top hat operation on a region using a predefined kernel.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void TopHatRegion ( Avl.Region inRegion, Avl.KernelShape inKernel, int inRadiusX, Optional<int> inRadiusY, Avl.Region outRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegion | Avl.Region | Input region. | ||
![]()  | inKernel | Avl.KernelShape | Kernel shape (predefined). | ||
![]()  | inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. | 
![]()  | inRadiusY | Atl.Optional<int> | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL. | |
![]()  | outRegion | Avl.Region | Output region. | 


