Image dilation

Dilation is the other fundamental operation in the area of mathematical morphology. Image dilation is the process of gradually enlarging the boundaries of regions of foreground pixels or the size of 1-valued objects. Thus, areas of foreground pixels grow in size, smoothing object boundaries and closing holes and gaps between objects.

To understand the way image dilation works in practice, we will use the same image with geometrical objects and a photo.

Get Hands-On Computer Vision with Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.