資源簡介
基于MATLAB的圖像復原程序
部分程序
%圖像復原處理
A=imread('J:\圖片\W.jpg');
psf=fspecial('motion',40,45);%運動模糊函數
B=imfilter(A,psf);%A圖像經過運動模糊系統
%無噪聲運動模糊圖像
C=deconvwnr(B,psf);%對B進行維納濾波
figure(1);
subplot(3,1,1);
imshow(A);
title('輸入圖像');
subplot(3,1,2);
imshow(B);
title('運動模糊');
subplot(3,1,3);
imshow(C);
title('無噪聲復原');
代碼片段和文件信息
- 上一篇:基于MATLAB的圖像灰度修正程序
- 下一篇:均值背景建模目標檢測
評論
共有 條評論