How to display the object created with function strel?

8 views (last 30 days)
How to display the object created with function strel?
  2 Comments
Adam
Adam on 23 Nov 2017
Edited: Adam on 23 Nov 2017
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.

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
neel patel
neel patel on 21 May 2018
for display it is good but how to save that image? mit imsave it is not working. can anyone tell me the answer?

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!