Morphological Operations in Binary Images

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Morphological processing deals with the analysis of structures. The primitive operations of erosion and dilation, as well as their combinations (opening and closing), can be applied to binary images. By using a small image (a structure element) it is possible to filter the image and to analyze shapes and structures in the image. This Demonstration shows the usefulness of the morphological processing on binary (black and white) images.

Contributed by: José A. Díaz (December 2011)
After work by: Srivani Pinneli and Yu-Sung Chang
Open content licensed under CC BY-NC-SA




[1] P. Soille, Morphological Image Analysis, 2nd ed., Berlin: Springer–Verlag, 2004.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.