Wiener deconvolution black bars
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.
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:
Are you doing it iteratively or a single shot? See slide 11 of this presentation, and further down.
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.
Well try the iterative Wiener deconvolution and see if that helps.