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