How to display the object created with function strel?

11 views (last 30 days)
L
L on 23 Nov 2017
Commented: Walter Roberson on 21 May 2018
How to display the object created with function strel?
  2 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 24 Nov 2017
AAA = strel('disk', 5);
AAA.Neighborhood
image(AAA.Neighborhood); colormap(gray(2));
  4 Comments
Walter Roberson
Walter Roberson on 21 May 2018
imwrite(uint8(AAA.Neighborhood), gray(2),'NameOfFile.bmp')

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!