This file is used for erosion and dilation.
I have done it for shwon picture.
Dhaval Gondaliya (2021). Erosion (https://www.mathworks.com/matlabcentral/fileexchange/41292-erosion), MATLAB Central File Exchange. Retrieved .
how I implement a own structure element to this code? where I get input with structure element? pls help me
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];
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!