卜若的代码笔记-matlab系列-matlab基础教程-第五章:图像的腐蚀膨胀

1.腐蚀:

se1=strel('disk',5);
outputImageData=imerode(imageData,se1);

2.膨胀:

B = strel('sphere', 6);
outputImageData2=imdilate(outputImageData,B);

猜你喜欢

转载自blog.csdn.net/qq_37080133/article/details/84926685