膨脹和腐蝕

%膨脹和腐蝕 f=imread('aerial.tif'); subplot(2,2,1),imshow(f),title('原圖像') se=strel('square',3);%結構算子 gd=imdilate(f,se);%膨脹 subplot(2,2,2),imshow(gd),title('膨脹後的圖像') ge=imerode(f,se);%腐蝕 subplot(2,2,3),im
相關文章
相關標籤/搜索