double line interpolation

  • Dear all, in order to clean an image I have to replace 2 adiacent line

    Basically replace the 2 lines with an average of 2 line above and 2 line below or something similar.

    Attached hee is my implementation where I’m using 2 different kernel and thisis resource consuming

    Can you suggest me alternative in order to use only 1 kernel

    attached here my sample and a test image

    best regards




      (6.79 kB, downloaded 3 times, last: )

      (2.25 kB, downloaded 2 times, last: )