How can I deblur an image given the original PSF?

9 ビュー (過去 30 日間)
Javier
Javier 2012 年 7 月 2 日
I would like to deblur an image to get back my original image. I didn't see any deconv2 function in Matlab and was wondering what would be the best way to go about finding the 'inverse PSF'?

採用された回答

Ryan
Ryan 2012 年 7 月 3 日
編集済み: Ryan 2012 年 7 月 3 日
doc deconvlucy the documentation mentions similar functions.
J = deconvlucy(I, PSF)
  2 件のコメント
Javier
Javier 2012 年 7 月 3 日
Thanks Ryan. It seems like this will restore the original image. Is there a way to output the values used to deblur the image? I would like the psf that operated on the blurred image to get the original back. Any suggestions on how to grab that?
Ryan
Ryan 2012 年 7 月 3 日
deconvlucy and deconvwnr do not support any returns other than the original image. deconreg allows the return of the lagrange multiplier in addition to the restored image. These functions use the Lucy-Richardson, Weiner and regularized methods respectively to perform the deconvolution.
You could try deconvblind
[J,PSF] = deconvblind(I, INITPSF)
This returns the deblurred Image, J and the restored PSF used. I am not sure if this is what you are looking for though and you will need to test the results to be sure.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by