borders of simple image
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jakub
el 4 de Nov. de 2013
Respondida: Image Analyst
el 4 de Nov. de 2013
I have this image, ploted with pcolor:
How come that if i want to plot only borders it doesnt work?
bwmorph(Im,'remove')
The border on the top is missing...
0 comentarios
Respuesta aceptada
Image Analyst
el 4 de Nov. de 2013
pcolor() does not display the entire image. This is a known "feature" that I've been warning people about for years. Notice that you have only 19 by 19 pixels, not 20x20. Use imshow() instead. I recommend never using pcolor to look at regular, normal, rectangular images.
0 comentarios
Más respuestas (1)
Sean de Wolski
el 4 de Nov. de 2013
Can you please provide full reproduction steps? Repeating these steps below does not reproduce this behavior:
SE = strel('disk',10);
BW = SE.getnhood;
subplot(121)
imshow(BW);
BWr = bwmorph(BW,'remove');
subplot(122)
imshow(BWr)
0 comentarios
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!