- #1
ecastro
- 254
- 8
I have these two images:
And I have this impulse response function, or the point-spread function (PSF):
The first image is the actual size of the PSF, and the second image has zero pads included.
I tried deconvolving the images this way (with MatLab):
The PSF that I used is the PSF with zero pads. However, the deconvolved images are different. The deconvolved image of the first blurred image is correct and I achieved a sharp image, however the second one returns this image:
What could be wrong?
And I have this impulse response function, or the point-spread function (PSF):
The first image is the actual size of the PSF, and the second image has zero pads included.
I tried deconvolving the images this way (with MatLab):
Code:
deconvolved_image = ifft2(fft2(blurred_image)./fft2(sample_psf))
The PSF that I used is the PSF with zero pads. However, the deconvolved images are different. The deconvolved image of the first blurred image is correct and I achieved a sharp image, however the second one returns this image:
What could be wrong?