File Exchange

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 (2020). Binary Dilation and Erosion (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Khurram Shehzad

ssklios Sklios

??? Undefined function or variable "uscita".

Error in ==> binero at 33

help please.

jason x

sucked!!! why need mex compile???


Fatih Sar?koç

Thank you for your contribution :)

John Luck

great stuff, well faster than original functions supplied by matlab, solved a few of my processing problems

kavi pandiyan

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