The dilation (expansion) algorithm performs a two-dimensional filtering operation on the input image using the supplied 2D Boolean kernel; the kernel size of the Boolean defines the pixel neighborhood of the filtering operation. As a morphological operation operator, equivalent to the maximize operation, which increases or enlarges the foreground area in the picture (in this case, the white color in the figure below). Identifies and fills holes in the picture.
| Input Image | Parameter | Output Image |
|---|---|---|
![]() | - | ![]() |
Morphological operations are a set of image processing operations that process digital images based on the shape of the image. The dilation filter is equivalent to the max operation and will expand the bright structures in the image. Another morphological filter is Erode, which is equivalent to the minimization operation. An erosion filter may be used after an expansion filter to form a morphological closure of the image.
For detailed interface information, please refer to hbVPDilate.