資源簡介
膨脹、腐蝕、開閉運算、top-hat變換處理,可執行,自己用過
代碼片段和文件信息
%形態學處理
a=imread(‘163.bmp‘);
%a=rgb2gray(a);
a=256-a;
se=strel(‘disk‘5);
%腐蝕
b=imerode(ase);
imshow(a)title(‘原圖‘);
figureimshow(b)title(‘腐蝕‘);
%膨脹
c=imdilate(ase);
figure
imshow(c)title(‘膨脹
- 上一篇:MPEG-4編碼技術的研究與仿真
- 下一篇:模擬ECG心電信號數據matlab
評論
共有 條評論