Morphological Transformations
This function block applies morphological transformations to input images, which can help in various image processing tasks by performing operations like erosion and dilation.
📥 Inputs
Image Any
This input accepts any image data that you wish to apply morphological transformations to.
📤 Outputs
Image Any
This output provides the transformed image after applying the selected morphological operation.
🕹️ Controls
Morph Type
A dropdown menu to select the type of morphological operation you wish to apply, such as erosion, dilation, opening, closing, and more.
Morph Shape
A dropdown menu to select the geometric shape of the structuring element used in morphological operations, such as rectangular, elliptical, or cross-shaped kernels.
Kernel Size
A slider to define the size of the kernel used in the morphological transformations. It determines how much the neighborhood pixels will affect the transformation.
Iterations
A slider used when erosion or dilation is selected to determine how many times the operation will be applied.
🎨 Features
Versatile Transformations
Offers a variety of operations to manipulate image structures based on their shapes and pixel connectivity.
Dynamic Control Over Parameters
Users can adjust kernel size and operation type dynamically, allowing for fine-tuning based on specific requirements.
📝 Usage Instructions
Connect Input: Link the input image to the
Image Any
input.Select Morph Type: Choose the desired morphological operation from the
Morph Type
dropdown.Choose Morph Shape: Select the shape of the structuring element from the
Morph Shape
dropdown.Adjust Kernel Size: Use the
Kernel Size
slider to specify the size of the structuring element.Set Iterations: If the selected operation is erosion or dilation, adjust the
Iterations
slider to determine how many times to apply the operation.Evaluate: Run the block to apply the specified morphological transformation to the input image.
📊 Evaluation
Upon running, this function block outputs the transformed image based on the selected morphological operation and parameters.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated