This file is used for erosion and dilation.
I have done it for shwon picture.
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];
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.