How deblur an image???

Réponses (1)

Frank
Frank le 18 Mai 2011

1 vote

You can use this to sharpen the image, that may help deblur it. This will allow you to select an area that you want to sharpen.
I = imread('image name');
imshow(I)
BW=roipoly;
imshow(BW)
h = fspecial('unsharp');
I2 = roifilt2(h,I,BW);
imshow(I)
figure, imshow(I2)

4 commentaires

Alessandro
Alessandro le 18 Mai 2011
It works a little but is not enough, what I can do to improve the sharpness?
Thanks!
Sean de Wolski
Sean de Wolski le 18 Mai 2011
Define "Not enough"
Frank
Frank le 18 Mai 2011
Read a bit into this (for the script):
http://www.mathworks.com/help/toolbox/images/ref/fspecial.html
and check this out, it maybe helpful.
http://m2matlabdb.ma.tum.de/download.jsp?MC_ID=5&MP_ID=188
Alessandro
Alessandro le 18 Mai 2011
"Not enough" means that I should get a better circle with less blurring.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by