this is what the code is
1 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
采纳的回答
Image Analyst
2015-1-7
Try using [] in imshow():
Out2 = double(Out) - double(Out1);
imshow(Out2, []);
2 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!