How to display the object created with function strel?

8 visualizaciones (últimos 30 días)
L
L el 23 de Nov. de 2017
Comentada: Walter Roberson el 21 de Mayo de 2018
How to display the object created with function strel?
  2 comentarios
Adam
Adam el 23 de Nov. de 2017
Editada: Adam el 23 de Nov. de 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.
L
L el 27 de Nov. de 2017
Display as image.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Nov. de 2017
AAA = strel('disk', 5);
AAA.Neighborhood
image(AAA.Neighborhood); colormap(gray(2));
  4 comentarios
neel patel
neel patel el 21 de Mayo de 2018
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 el 21 de Mayo de 2018
imwrite(uint8(AAA.Neighborhood), gray(2),'NameOfFile.bmp')

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by