this is what the code is
Show older comments
Result which I getting is full black Code is as follows
I =imread('image.bitmap');
G=rgb2gray(I);
Se=ones(5,5);
Out=imdilate(G,Se);
Out1=imerode(Out,Se);
Out2=imsubtract(Out,Out1);
Accepted Answer
More Answers (0)
Categories
Find more on Morphological Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!