matlab - Image deblurring using the Wiener deconvolution -
i trying deblur following image wiener deconvolution. not given original psf, , came arbitrary value noise figure. tried optimize code playing around sigma values cannot work.
my code...
img = im2double(imread('c:\users\adhil\desktop\matlab pics\test.jpg')); len = 2; theta = 5; psf = fspecial('gaussian', len, theta); wnr1 = deconvwnr(img, psf, 0.0000001); imshow(wnr1); title('restored image'); subplot(1,2,1);imshow(img);title('before'); subplot(1,2,2);imshow(wnr1);title('after'); here result...

please advise
if have no idea point spread function is, or try approximation far actual point spread function, wiener deconvolution won't work well, because relies on knowing point spread function.
you might have better results trying blind deconvolution (matlab function):
deconvblind
using array of ones same size gaussian psf guess initial psf (using array of ones suggested matlab documentation).
Comments
Post a Comment