You are here: Start » AVL.NET » Function Reference » Region » Region Morphology » AVL.TopHatRegion

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
inRegionAvlNet.RegionInput region.
inKernelAvlNet.KernelShapeKernel shape (predefined).
inRadiusXint<0, INF>1Nearly half of the kernel's width (2*R+1). Default value: 1.
inRadiusYint?<0, INF>Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.

Errors

List of possible exceptions:

Error type Description
DomainError Unsupported kernel in TopHatRegion.

Function Overrides

See also