Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Region Morphology » DilateRegion_AnyKernel
Performs a morphological dilation on a region using an arbitrary kernel.
Name | Type | Description | |
---|---|---|---|
inRegion | Region | Input region | |
inKernel | Region | Kernel shape (any) | |
inKernelAnchor | Location* | Location within inKernel, defining its center | |
outRegion | Region | Output region |
Applications
Making the region thicker in a non-symmetrical way or filling-in gaps of a particular shape.
Description
The operation is a cousin of the DilateRegion 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 DilateRegion article for further information regarding the morphological dilation itself.
Examples
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty kernel on input in DilateRegion_AnyKernel. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of DilateRegion filter group.
See Also
- DilateRegion – Performs a morphological dilation on a region using a predefined kernel.