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

    pier

    Files

    • interp.va

      (6.79 kB, downloaded 2 times, last: )
    • test.zip

      (2.25 kB, downloaded 1 times, last: )