How to display the object created with function strel?

6 ビュー (過去 30 日間)
L
L 2017 年 11 月 23 日
コメント済み: Walter Roberson 2018 年 5 月 21 日
How to display the object created with function strel?
  2 件のコメント
Adam
Adam 2017 年 11 月 23 日
編集済み: Adam 2017 年 11 月 23 日
Display it in what way? Image? Command line? You can apply it to a single dot win an otherwise blank image and you'll see what it looks like.
L
L 2017 年 11 月 27 日
Display as image.

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

採用された回答

Walter Roberson
Walter Roberson 2017 年 11 月 24 日
AAA = strel('disk', 5);
AAA.Neighborhood
image(AAA.Neighborhood); colormap(gray(2));
  4 件のコメント
neel patel
neel patel 2018 年 5 月 21 日
for display it is good but how to save that image? mit imsave it is not working. can anyone tell me the answer?
Walter Roberson
Walter Roberson 2018 年 5 月 21 日
imwrite(uint8(AAA.Neighborhood), gray(2),'NameOfFile.bmp')

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by