how to deblur an image?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sir,i have an image and pass it through the Gaussian low pass filtering(fft2). As an output i got an image which is very much blur.now how can i remove this blurring effect from my image.i have used the "Deblurring Images Using a Regularized Filter", which is given in "demo of the matlab" but the output is not correct. Please tell me the code for deblurring the image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147673/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147675/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147676/image.jpeg)
0 comentarios
Respuestas (2)
Image Analyst
el 9 de Mayo de 2013
Nevermind (yet) about deblurring - you don't even have the blurred version correct. However without your code, I can't do much, and I don't want to go searching through dozens of demos to try to figure out which one you used.
1 comentario
jagannath mishra
el 10 de Mayo de 2013
Editada: jagannath mishra
el 10 de Mayo de 2013
Bjorn Gustavsson
el 10 de Mayo de 2013
Editada: Bjorn Gustavsson
el 10 de Mayo de 2013
- You've forgotten an fftshift - that should be done once more.
- The widths of your filter and PSF should match (in a perfect world) or preferably the PSF you deblur with should be a bit narrower than the PSF of the filter (you have to work out how they are related and how to fix that.)
- Pure deconvolution is a process that will amplify noise - that's why you have all these damping terms and more complex methods. If you try to deconvolve with a wider PSF than what you used in the filter then this will be very difficult to avoid.
HTH
3 comentarios
Bjorn Gustavsson
el 10 de Mayo de 2013
- Step through your code line by line, make sure you understand why you did the fftshift where you did it, then you'll be able to see where you should do the ifftshift rather naturally.
- The PSF and the filter-kernel in the fourier domain are an Fourier transform pair.
HTH
Image Analyst
el 10 de Mayo de 2013
Did you get it solved yet? I was going to take a look at it but it's been so long that I suspect you've already solved it and I don't want to waste my time.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!