PSF of an image

106 visualizaciones (últimos 30 días)
Sajitha K.N.
Sajitha K.N. el 29 de Oct. de 2019
Respondida: Subhadeep Koley el 1 de Nov. de 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 comentario
Cyrus Tirband
Cyrus Tirband el 29 de Oct. de 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).

Iniciar sesión para comentar.

Respuestas (1)

Subhadeep Koley
Subhadeep Koley el 1 de Nov. de 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!

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by