This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe 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
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
image | IMAGE | Yes | - | The input image to process |
operation | STRING | Yes | "erode""dilate""open""close""gradient""bottom_hat""top_hat" | The morphological operation to apply |
kernel_size | INT | No | 3-999 | The size of the structuring element kernel (default: 3) |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
image | IMAGE | The processed image after applying the morphological operation |