1Pammixinterlace User Manual(0) Pammixinterlace User Manual(0)
2
3
4
6 pammixinterlace - mix adjacent lines to merge interlaced images
7
8
10 pammixinterlace
11
12 [-filter={linear, fir, ffmpeg}]
13
14 [-adaptive]
15
16 [infile]
17
18
19
21 This program is part of Netpbm(1).
22
23 pammixinterlace is meant to operate on an image which is the interlac‐
24 ing of two images, where raster rows 0, 2, 4, etc. are from one image
25 and rows 1, 3, 5, etc. are from another. (See below for why you might
26 expect to encounter such an image).
27
28 pammixinterlace makes each row of the output a mixture of the corre‐
29 sponding row of the input and its two neighbors. It uses half of the
30 main row and a quarter each of the two neighbor rows.
31
32 This can be useful if the image is a video capture from an interlaced
33 video source. In that case, each row shows the subject 1/60 second
34 before or after the two rows that surround it. If the subject is mov‐
35 ing, this can detract from the quality of the image.
36
37 In video data streams, you often find each frame contains only half the
38 rows of the image -- the odd half or the even half. The displayer of
39 the stream displays the rows in their proper positions on a CRT as they
40 come in. When you display the rows in this order, the CRT has less
41 flicker because a particular area of the screen gets refreshed twice as
42 often. In the process of capturing such a stream, computers often gen‐
43 erate the interlaced image of the type that pammixinterlace works with.
44 But this interlaced image, when displayed on a CRT, does not look the
45 same as if a displayer were rendering the stream directly on a CRT as
46 it arrived, because of the timing of when the various pixels get drawn
47 and subsequently fade. That's why you need something like pammixinter‐
48 lace.
49
50 You may prefer the effect of simply extracting one of two images. You
51 can do that with pamdeinterlace.
52
53
54
56 -filter={linear,fir,ffmpeg}
57 This option chooses between one of the three filtering mecha‐
58 nisms. linear is a linear-blend formula. fir is a size-5 FIR
59 low-pass filter, and ffmpeg is a formula pulled from the docu‐
60 mentation of the program ffmpeg ⟨http://ffmpeg.mplayerhq.hu⟩ .
61
62 The default is fir.
63
64
65 -adaptive
66 This option turns on "adaptive" filtering mode. In this mode
67 pammixinterlace modifies only pixels that are obviously part of
68 a "comb" pattern.
69
70
71
72
73
75 pamdeinterlace(1), pam(1) pnm(1)
76
78 This manual page was generated by the Netpbm tool 'makeman' from HTML
79 source. The master documentation is at
80
81 http://netpbm.sourceforge.net/doc/pammixinterlace.html
82
83netpbm documentation 22 February 2007 Pammixinterlace User Manual(0)