How deblur an image???

Answers (1)

Frank
Frank on 18 May 2011
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 Comments

Alessandro
Alessandro on 18 May 2011
It works a little but is not enough, what I can do to improve the sharpness?
Thanks!
Define "Not enough"
Frank
Frank on 18 May 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 on 18 May 2011
"Not enough" means that I should get a better circle with less blurring.

Sign in to comment.

Products

Asked:

on 18 May 2011

Community Treasure Hunt

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

Start Hunting!