Erosion and dilation

Erosion and dilation are morphological operations. Erosion removes pixels at the boundaries of objects in an image and dilation adds pixels to the boundaries of objects in an image.

Get Raspberry Pi 3 Cookbook for Python Programmers - Third Edition 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.