snippetbashTip
pammixinterlace — Merge each row in an image with its two neighbours. See also: `pamdeinterlace`. More information: <h
Viewed 0 times
commandcliimagewithmergepammixinterlaceeachrow
Problem
How to use the
pammixinterlace command: Merge each row in an image with its two neighbours. See also: pamdeinterlace. More information: <https://netpbm.sourceforge.net/doc/pammixinterlace.html>.Solution
pammixinterlace — Merge each row in an image with its two neighbours. See also: pamdeinterlace. More information: <https://netpbm.sourceforge.net/doc/pammixinterlace.html>.Merge each row in an image with its two neighbours:
pammixinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}Use the specified filtering mechanism:
pammixinterlace {{[-f|-filter]}} {{linear|fir|ffmpeg}} {{path/to/image.ppm}} > {{path/to/output.ppm}}Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern:
pammixinterlace {{[-a|-adaptive]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}Code Snippets
Merge each row in an image with its two neighbours
pammixinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}Use the specified filtering mechanism
pammixinterlace {{[-f|-filter]}} {{linear|fir|ffmpeg}} {{path/to/image.ppm}} > {{path/to/output.ppm}}Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern
pammixinterlace {{[-a|-adaptive]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}Context
tldr-pages: common/pammixinterlace
Revisions (0)
No revisions yet.