removal the outer boundary of bw image?
5 次查看(过去 30 天)
显示 更早的评论
Hi all
i wrote this code
y=imread('..........bmp');
bw=im2bw(y);
b=bwboundaries(bw);
boundry=b{1};
imshow(bw);
hold on;
plot(boundry(:,2),boundry(:,1),'g');
now i need to remove the outer boundary in green color without any effect on the details inside this boundary , is this possible in matlab ? if it is possible how can this be done?
regards
4 个评论
Image Analyst
2012-1-29
Walter, I tried but I have no idea what he wants. Apparently it's not what you or I suggested even though both suggestions were valid possible approaches according to how he unclearly worded his question.
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!