image thumbnail

Binary Dilation and Erosion

version (6.81 KB) by Luigi Rosa
Speed up binary dilation and erosion.


Updated 18 Nov 2003

View License

A faster implementation of binary dilation and erosion.

Our functions take advantage of MATLAB 's decomposition of the structuring element but they may result much faster. Try to run example.m to see the speed improvement factor, changing the parameters.

Please contribute if you find this software useful.
Report any bug to

Luigi Rosa
Via Centrale 35
67042 Civita Di Bagno
L'Aquila -- Italy

mobile +39 340 3463208

Cite As

Luigi Rosa (2021). Binary Dilation and Erosion (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!