Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The Morphology node applies various morphological operations to images, which are mathematical operations used to process and analyze shapes in images. It can perform operations like erosion, dilation, opening, closing, and more using a customizable kernel size to control the effect strength.

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to process
operationSTRINGYes"erode"
"dilate"
"open"
"close"
"gradient"
"bottom_hat"
"top_hat"
The morphological operation to apply
kernel_sizeINTNo3-999The size of the structuring element kernel (default: 3)

Outputs

Output NameData TypeDescription
imageIMAGEThe processed image after applying the morphological operation