%腐蚀
A=imread('wirebond_mask.tif');
subplot(2,2,1),imshow(A),title('原图像')
se=strel('disk',10);%半径10的圆盘型结构元素
A2=imerode(A,se);%半径为10的圆盘腐蚀
subplot(2,2,2),imshow(A2),title('半径为10的圆盘腐蚀的图像')
se=strel('disk',5);%半径5的圆盘型结构元素
A3=imerode(A,se);%半径为5的圆盘腐蚀
subplot(2,2,3),imshow(A3),title('半径为5的圆盘腐蚀的图像')
A4=imerode(A,strel('disk',20));%半径为20的圆盘腐蚀
subplot(2,2,4),imshow(A4),title('半径为20的圆盘腐蚀的图像')
腐蚀
最新推荐文章于 2021-08-13 11:24:28 发布