Wiener deconvolution black bars

asked 2017-03-07 09:33:05 -0600

k_kaz gravatar image

updated 2017-03-07 09:36:34 -0600

I want to use the wiener deconvolution filter in order to remove the blurring of an image. The code provided in Samples->python is working well, but in the resulting image there are these ripples on the sides as you can see below.

image description

Same thing happens when the input is the image from the wikipedia page about wiener deconvolution Wiener deconvolution Wikipedia. In this page the image is shown without ripples, while the python script produces the same quality result, but with ripples. I am wondering if there is something i can change in the algorithm to remove those ripples, or if there is some kind of algorithm to remove them after the wiener deconvolution is applied.

Edit: The image from wikipedia when python script is applied: image description

edit retag flag offensive close merge delete

Comments

Are you doing it iteratively or a single shot? See slide 11 of this presentation, and further down.

Tetragramm gravatar imageTetragramm ( 2017-03-07 22:41:24 -0600 )edit

I am using the samples->python->deconvolution.py script which is single shot i guess. Wiener deconvolution produces better quality results as far as the deblurring than the Lucy richardson. Lucy richardson though doesn't produce ripples in the output.

k_kaz gravatar imagek_kaz ( 2017-03-13 01:31:25 -0600 )edit

Well try the iterative Wiener deconvolution and see if that helps.

Tetragramm gravatar imageTetragramm ( 2017-03-13 17:20:27 -0600 )edit