圖像處理代碼

1.增長椒鹽噪聲並進行中值濾波 I=imread(‘C:\Users\acer\Pictures\Saved Pictures\1.jpg’); I=rgb2gray(I); subplot(2,2,1) imshow(I) title(‘原始圖’); P2=imnoise(I,‘salt & pepper’,0.02); subplot(2,2,2) imshow(P2) title(‘椒鹽噪聲
相關文章
相關標籤/搜索