processing image with deconvolution.
Show older comments
Hi..


EDIT DES: Embedded correct filtered figure (despite being ugly)

Currently working with deblurring a image and Not satisfied with result obtained using unsharp filter.
So, thought to go with deconvolution process for a better result. How to find PSF of image ?
Answers (1)
Image Analyst
on 17 May 2012
0 votes
What do you want to do? I imagine deblurring is just one step in what you really want to accomplish. How about focusing your camera to avoid blurring in the first place. While you're at it, reduce the exposure. Those two steps should get you a better image of the disc to begin with and it's always better to fix problems on acquisition than afterwards. MATLAB does have a Lucy-Richardson deconvolution - check the demos/examples online or in the help.
7 Comments
Tricky
on 17 May 2012
Image Analyst
on 17 May 2012
You can either guess or measure it. From the help for "Deblurring with the Blind Deconvolution Algorithm": "
To determine the size of the PSF, examine the blurred image and measure the width of a blur (in pixels) around an obviously sharp object. In the sample blurred image, you can measure the blur near the contour of the man's sleeve. Because the size of the PSF is more important than the values it contains, you can typically specify an array of 1's as the initial PSF.
The following figure shows a restoration where the initial guess at the PSF is the same size as the PSF that caused the blur. In a real application, you might need to rerun deconvblind, experimenting with PSFs of different sizes, until you achieve a satisfactory result. The restored PSF returned by each deconvolution can also provide valuable hints at the optimal PSF size. See the Image Processing Toolbox deblurring demos for an example."
Tricky
on 20 May 2012
Walter Roberson
on 20 May 2012
? I do not see any sleeve in the images ?
Tricky
on 20 May 2012
Image Analyst
on 20 May 2012
Tricky, Sorry that you did not follow my suggestion and look up the help item I referred you to: From the help for "Deblurring with the Blind Deconvolution Algorithm" If you had, you would have seen "sleeve." Note that when I said "From the help....." and then put double quotes around it, that indicates that it is a direct quote from the help. In other words, I copied and pasted from the help. You can get there by searching for deblurring and clicking on the first item you see, or else navigate there like this Image Processing Toolbox => User's Guide => Image Deblurring => Deblurring with the Blind Deconvolution Algorithm.
Tricky
on 21 May 2012
Categories
Find more on Deblurring in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!