Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Morphology » CloseRegion_AnyKernel
CloseRegion_AnyKernel
Performs a morphological closing on a region using an arbitrary kernel.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CloseRegion_AnyKernel ( const avl::Region& inRegion, const avl::Region& inKernel, avl::Region& outRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegion | const Region& | Input region | ||
inKernel | const Region& | Kernel shape (any) | ||
outRegion | 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
See Also
- CloseRegion – Performs a morphological closing on a region using selected predefined kernel.