PSF of an image

154 views (last 30 days)
Sajitha K.N.
Sajitha K.N. on 29 Oct 2019
Answered: Subhadeep Koley on 1 Nov 2019
I want to deblur an blurred image.For that I want to use
J = deconvlucy(I,psf) this function.
But I don't know how to find psf value. Please someone help me. Its very urgent.
  1 Comment
Cyrus Tirband
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).

Sign in to comment.

Answers (1)

Subhadeep Koley
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.
Some, example of creating PSF using fspecial() is given below.
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!

Community Treasure Hunt

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

Start Hunting!