MATLAB Answers

How to deblur/sharpen this image edges

3 views (last 30 days)
shubham kumar gupta
shubham kumar gupta on 5 Jul 2021
Edited: Vinesh Katewa on 13 Jul 2021
I have a image of 199x199 and I want to deblur/sharpen this image
I have tried imsharp, deconvlucy but they're not working as expected
PSF = fspecial('gaussian',5,5);
luc1 = deconvlucy(noisy_img,PSF,5);
imshow(luc1,[])
figure;
imshow(nosiy_img,[]);
I_sharpen=imsharpen(nosiy_img,'amount',10);
figure;
imshow(I_sharpen,[]);
title('Sharpened Image');
g=fspecial('average',[10,10]);
g=imfilter(nosiy_img,g);
g=3*imsubtract(nosiy_img,g);
figure,imshow(g,[]);
x=imadd(nosiy_img,g);
figure; imshow(x,[]);
Image data link: Drive

Answers (1)

Vinesh Katewa
Vinesh Katewa on 13 Jul 2021
Edited: Vinesh Katewa on 13 Jul 2021
Hi Shubham,
As I can understand from your question, you have already tried out some deblurring algorithms, but your results were not satisfactory.
To get an enhanced image from a blurry image requires extracting several information from an image and using that information to further enhance it. You can use this resource to use blind deconvolution to deblur images.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by