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 Ansichten (letzte 30 Tage)

Akzeptierte Antwort

Image Analyst
Image Analyst am 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.

Weitere Antworten (0)

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by