CloseRegion_AnyKernel
Performs a morphological closing on a region using an arbitrary kernel.
Applications:Filling-in gaps of a particular shape without making the region thicker.
Syntax
C++
C#
Python
def CloseRegion_AnyKernel( inRegion: Region, inKernel: Region, outRegion: Region, / ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inKernel | Region | Kernel shape (any) | |
![]() |
outRegion | Region | Output region |


