pammixinterlace
Merge each row in an image with its two neighbors. tldr-pages
On several platforms
Several platforms
Merge each row in an image with its two neighbors
pammixinterlace path/to/image.ppm >path/to/output.ppmIdentifyUse the specified filtering mechanism
pammixinterlace -filter linear path/to/image.ppm >path/to/output.ppmIdentifyTurn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern
pammixinterlace -adaptive path/to/image.ppm >path/to/output.ppmIdentify