フィルターのクリア

this is what the code is

1 回表示 (過去 30 日間)
kavya p
kavya p 2015 年 1 月 7 日
コメント済み: Image Analyst 2015 年 1 月 29 日
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);

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 7 日
Try using [] in imshow():
Out2 = double(Out) - double(Out1);
imshow(Out2, []);
  2 件のコメント
kavya p
kavya p 2015 年 1 月 29 日
Thanks for ur suggestion.This suggestion may work for pixel of width more than 1
Image Analyst
Image Analyst 2015 年 1 月 29 日
Uh, yeah. It doesn't really have anything to do with a pixel "width".

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by