File Exchange

image thumbnail


version (1.17 KB) by Dhaval Gondaliya
For the Erosion and dilation

1 Download

Updated 14 Apr 2013

View License

This file is used for erosion and dilation.
I have done it for shwon picture.

Cite As

Dhaval Gondaliya (2021). Erosion (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


how I implement a own structure element to this code? where I get input with structure element? pls help me

Dhaval Gondaliya

Thank you yagnesh sir,
I think its easy to make universal, we need to use input command and in the input we can give mattrix.


The work is gud bt u should make universal code.

suppose i want to use
str_elem=[1 0 0;1 1 0;1 1 1];

MATLAB Release Compatibility
Created with R2012a
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!