Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Region Morphology » ErodeRegion_AnyKernel

ErodeRegion_AnyKernel


Performs a morphological erosion 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 thinner in a non-symmetrical way or removing small parts of a particular shape.

Description

The operation is a cousin of the ErodeRegion 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 ErodeRegion article for further information regarding the morphological erosion itself.

Examples

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filters is member of ErodeRegion filter group.

See Also