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...

 채택된 답변

Image Analyst
Image Analyst 2013년 11월 4일

0 개 추천

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.

추가 답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 11월 4일

0 개 추천

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)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2013년 11월 4일

답변:

2013년 11월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by