borders of simple image
Show older comments
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...
Accepted Answer
More Answers (1)
Sean de Wolski
on 4 Nov 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)
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!