Opencv 4.5.0 / Android / how to implement a Wiener filter ?

asked 2020-10-29 11:04:48 -0600

Franck gravatar image

Hi

This python sample provides an implementation of Wiener filter. I tried this sample with the image found in the tutorial below. I noted a good result with the values R = 3 and SNR(dB) = 20dB

This cpp sample provides an implementation of Wiener filter. The tutorial recommandes the value R = 53 and SNR = 5200 (37-38dB) I can't reproduce this result with theses values but I had a good result with the values R = 3 and SNR(dB) = 20dB

I have some difficulties to convert the samples from Python to Java or from CPP to Java because I don't know identify the good conversions or I have bad filtered images.

Could you please help me to implement a Java sample of the Wiener filter ?

Best regards,

Franck

edit retag flag offensive close merge delete

Comments

1

we won't write your program, you should start, and come back with a more concrete problem

berak gravatar imageberak ( 2020-10-29 11:16:49 -0600 )edit
sturkmen gravatar imagesturkmen ( 2020-10-29 16:33:17 -0600 )edit