Hi guyss i m kinda confused to do this, im trying to deblurring an already blurred image, so the PSF already include too, but i dont know to make the PSF into 0, any idea???

2 views (last 30 days)

Accepted Answer

Image Analyst
Image Analyst on 1 Apr 2022
Try deconvlucy().
Or else fft2 both the image and the PSF, and make the PSF have the same size as the image and make sure the origin of the spectrum are both in the same place (middle of the image if you used fftshift, or in upper left corner if you didn't). Then do an inverse filter by dividing the spectra and then finally ifft2.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!