Dilate Activity
The Dilate activity processes an input image to expand its thin-seeming parts. This morphological operation, often referred to as dilation, is useful for enhancing features, bridging small gaps, or increasing the size of foreground objects within an image.
| Field | Description | Requirement |
|---|---|---|
| Input image | Path, file name, and extension of the image to be processed. | Required |
| Output image | Path, file name, and extension for the processed output image. | Required |
| Dilate coefficient | Determines the intensity of dilation. Higher values result in more pronounced dilation. The default value is 9. | Optional |
Action Types & Examples
Input Image Path
- Format:
string - Example Result:
C:Robustarobusta.jpg
Output Image Path
- Format:
string - Example Result:
C:Robustagrayscale.jpg
Dilate Coefficient Value
- Format:
integer - Example Result:
50
Implementation Examples
Field Setup - Input image: C:Robustarobusta.jpg - Output image: C:Robustagrayscale.jpg - Dilate coefficient: 50
Technical Notes
The Dilate activity performs a morphological dilation operation on the input image. The
Dilate coefficientparameter directly controls the extent of this expansion; a larger coefficient value will result in a more significant dilation effect. If not explicitly set, the activity will apply a defaultDilate coefficientof9.