Sir I need to remove motion blur from a blurred image. I am using Wiener Filter to deblur the image but i am unable to find the PSF of the blurred image. Someone please help me to deblur the blurred image and finding the PSF of blurred image.

3 次查看(过去 30 天)
I am using MATLAB 7.9.0(R2009b)
% Load image I = im2double(imread('F:\gopro1.jpg')); figure(1); imshow(I); title('Source image');
PSF = fspecial('motion',1,0);
% Restore image
figure(3);
in=deconvwnr(I, PSF, 0);
imshow(in);
title('Wiener');
%figure(4); imshow(deconvreg(Blurred, PSF)); title('Regul');
% figure(5); imshow(deconvblind(Blurred, PSF, 100));
% title('Blind');
%figure(6); imshow(deconvlucy(Blurred, PSF, 100));
%title('Lucy');

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by