Dilation, Erosion, Opening, Closing
To illustrate some basic operations using Morphology,
in the examples below the following colors apply:
- Original Binary Image: Black
- Structure Element: Red
- Resultant Image: White
Dilation and Erosion

Dilation ------------------ Erosion
Closing and Opening

Closing ------------------- Opening
Opening is an erosion followed by a dilation operation.
Closing is a dilation followed by an erosion operation.
In decreasing order: Dilation, Closing, Original, Opening and Erosion
Binary Morphology.
Grey level Morphology

Left: Dilated, Right: Closed

Left: Original, Right: Opened

Eroded
Non Linear Smoothing

Left: original, Right: Opening followed by a Closing
DIP Feedback Form