Skip to content

Morphology

ShapeRegion - Dilate

Computes the morphological dilation on the calling shape region, using a square kernel.

IN

Name Type Description
InShapeRegion ShapeRegion The input ShapeRegion
InRadius Float Kernel radius. The effective kernel size will be (2 * inRadius + 1). Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutShapeRegion ShapeRegion The dilated shape region.
Error ErrorState Gets the execution error message

ShapeRegion - Erode

Computes the morphological erosion on the calling shape region, using a square kernel.

IN

Name Type Description
InShapeRegion ShapeRegion The input ShapeRegion
InRadius Float Kernel radius. The effective kernel size will be (2 * inRadius + 1). Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutShapeRegion ShapeRegion The eroded shape region.
Error ErrorState Gets the execution error message