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 visualizaciones (últimos 30 días)

Respuesta aceptada

Image Analyst
Image Analyst el 1 de Abr. de 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.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by