【matlab】膨胀

clear all;close all;
BW=zeros(9,10);
BW(4:6,4:7) =1
imshow(BW)
hold on

SE=strel('square',3)
BW2=imdilate(BW,SE)
figure
imshow(BW2)

posted @ 2016-11-14 10:02  xy123001  阅读(332)  评论(0)    收藏  举报