PSF of an image
82 views (last 30 days)
Show older comments
1 Comment
Cyrus Tirband
on 29 Oct 2019
You can't attempt to deconvolve without knowing the PSF. The PSF is the 'blur' that is created by your optical system when you input a point source. If you don't know what the blur created by a single dot looks like, how can you restore the original image from a whole picture?
If your output is created by a simulation, just input a point source to find your PSF.
If your output is created by an experimental set-up, you may be able to measure the PSF (I can't tell you more about this).
Answers (1)
Subhadeep Koley
on 1 Nov 2019
To deblur a blurred image with deconvlucy() you have to have the original Point-Spread Function (PSF) by which the original image has been blurred.
However, if you don’t know the original PSF in advance, then you can try random PSF by tweaking various parameters of the fspecial() function until you figure out which PSF is giving the best deblurring.
Motion Blur-
LEN = 21; THETA = 11;
PSF = fspecial('motion', LEN, THETA);
Gaussian Blur-
PSF = fspecial('gaussian',7,10);
Disk Blur-
PSF = fspecial('disk',3);
etc.
Hope this helps!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!