Skip to content

Morphology

Region - BottomHat

Computes the morphological bottom hat operation on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - BottomHat_CustomKernel

Computes the morphological bottom hat operation on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as the bottom hat kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Close

Computes the morphological closing on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Close_CustomKernel

Computes the morphological closing on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as the closing kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Dilate

Computes the morphological dilation on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The dilated region.
Error ErrorState Gets the execution error message

Region - Dilate_CustomKernel

Computes the morphological dilation on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as a dilation kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The dilated region.
Error ErrorState Gets the execution error message

Region - Erode

Computes the morphological erosion on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The eroded region.
Error ErrorState Gets the execution error message

Region - Erode_CustomKernel

Computes the morphological erosion on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as a dilation kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The eroded region.
Error ErrorState Gets the execution error message

Region - HitAndMiss

Computes the morphological hit-and-miss operation using the provided kernels. Note: Hit-and-miss kernel intersection must be empty. If not, the function throws an exception.

IN

Name Type Description
InRegion Region The input Region
InHitKernel Region Input kernel for the hit operation.
InMissKernel Region Input kernel for the miss operation.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Open

Computes the morphological opening on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Open_CustomKernel

Computes the morphological opening on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as the opening kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Prune

Computes the morphological pruning operation.

IN

Name Type Description
InRegion Region The input Region
InMaxLength Int the maximum branch size to retain.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Skeletonize

Computes the region's morphological skeleton.

IN

Name Type Description
InRegion Region The input Region
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Thicken

Computes the morphological thickening on the calling region.

IN

Name Type Description
InRegion Region The input Region
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - Thin

Computes the morphological thinning on the calling region.

IN

Name Type Description
InRegion Region The input Region
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - TopHat

Computes the morphological top hat operation on the calling region, using the selected default kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Enum < KernelShape > Type of kernel.
InRadiusX Int Kernel X radius. The effective kernel X size will be (2 * inRadiusX + 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
OutRegion Region The computed region.
Error ErrorState Gets the execution error message

Region - TopHat_CustomKernel

Computes the morphological top hat operation on the calling region, using the provided kernel.

IN

Name Type Description
InRegion Region The input Region
InKernel Region Input region used as the top hat kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRegion Region The computed region.
Error ErrorState Gets the execution error message