【发布时间】:2012-01-29 19:24:42
【问题描述】:
我写了这段代码
y=imread('..........bmp');
bw=im2bw(y);
b=bwboundaries(bw);
boundry=b{1};
imshow(bw);
hold on;
plot(boundry(:,2),boundry(:,1),'g');
我得到了这张图片http://postimage.org/image/91xxambx9/
现在我需要删除绿色的外边界,而不影响这个边界内的细节,这在 Matlab 中是否可行?如果有可能怎么办?
【问题讨论】:
标签: matlab