Skip to content

Morphology

Image - BottomHat

Computes the bottom hat of the image using a specific kernel. Note: Represents the difference between the image and its opened version.

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - BottomHat_CustomKernel

Computes the bottom hat of the image using a Region as kernel. Note: Represents the difference between the image and its opened version.

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - BottomHat_StructuredKernel

Computes the bottom hat of the image using a predefined kernel. Note: Represents the difference between the image and its opened version.

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Close

Computes the closing of the image using a specific kernel. Note: Removes small holes and fills in small gaps in the image applying consecutive dilation and erosion.

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Close_CustomKernel

Computes the closing of the image using a Region as kernel. Note: Removes small holes and fills in small gaps in the image applying consecutive dilation and erosion.

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Close_StructuredKernel

Computes the closing of the image using a predefined kernel. Note: Removes small holes and fills in small gaps in the image applying consecutive dilation and erosion.

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Dilate

Computes a dilation of the image using a specific kernel. Note: Replaces each pixel with the maximum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - DilateAndErode

Computes dilation and erosion on the image simultaneously (faster than the two separate operations).

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutDilated Image Output dilated image.
OutEroded Image Output eroded image.
Error ErrorState Gets the execution error message

Image - DilateErodeAndAverage

Computes dilation, erosion and average simultaneously (faster execution).

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutDilated Image Output dilated image.
OutEroded Image Output eroded image.
OutAveraged Image Output averaged image.
Error ErrorState Gets the execution error message

Image - Dilate_CustomKernel

Computes a dilation of the image using a Region as kernel. Note: Replaces each pixel with the maximum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Dilate_StructuredKernel

Computes a dilation of the image using a predefined kernel. Note: Replaces each pixel with the maximum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Erode

Computes an erosion of the image using a specific kernel. Note: Replaces each pixel with the minimum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Erode_CustomKernel

Computes an erosion of the image using a Region as kernel. Note: Replaces each pixel with the minimum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Erode_StructuredKernel

Computes an erosion of the image using a predefined kernel. Note: Replaces each pixel with the minimum of its neighboring pixels (inside the kernel).

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - HitAndMiss

Apply the Hit&Miss kernel to the image.

IN

Name Type Description
InImage Image The input Image
InHitKernel Region Hit kernel.
InMissKernel Region Miss kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Open

Computes the opening of the image using a specific kernel. Note: Removes small gaps and fills in small holes in the image applying consecutive erosion and dilation.

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Open_CustomKernel

Computes the opening of the image using a Region as kernel. Note: Removes small gaps and fills in small holes in the image applying consecutive erosion and dilation.

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Open_StructuredKernel

Computes the opening of the image using a predefined kernel. Note: Removes small gaps and fills in small holes in the image applying consecutive erosion and dilation.

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - Prune

Prune the image.

IN

Name Type Description
InImage Image The input Image
InMaxLength Int Trim length used in the pruning process. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - TopHat

Computes the top hat of the image using a specific kernel. Note: Represents the difference between the opened image and its original version.

IN

Name Type Description
InImage Image The input Image
InKernelShape Enum < KernelShape > Kernel shape.
InRadiusX Int Kernel's radius on the X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - TopHat_CustomKernel

Computes the bottom hat of the image using a Region as kernel. Note: Represents the difference between the opened image and its original version.

IN

Name Type Description
InImage Image The input Image
InKernel Region Kernel region.
InKernelAnchor Point2Di A point inside inKernel that defines its center.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - TopHat_StructuredKernel

Computes the top hat of the image using a predefined kernel. Note: Represents the difference between the opened image and its original version.

IN

Name Type Description
InImage Image The input Image
InKernel Enum < MorphologyKernel > Kernel.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message