1Pamdeinterlace User Manual(0) Pamdeinterlace User Manual(0)
2
3
4
6 pamdeinterlace - remove every other row from a PAM/PNM image
7
8
10 pamdeinterlace
11
12 [-takeodd]
13
14 [-takeeven]
15
16 [infile]
17
18 You can use the minimum unique abbreviation of the options. You can
19 use two hyphens instead of one. You can separate an option name from
20 its value with white space instead of an equals sign.
21
22
24 This program is part of Netpbm(1).
25
26 pamdeinterlace removes all the even-numbered or odd-numbered rows from
27 the input PNM or PAM image. Specify which with the -takeeven and
28 -takeodd options.
29
30 This can be useful if the image is a video capture from an interlaced
31 video source. In that case, each row shows the subject 1/60 second be‐
32 fore or after the two rows that surround it. If the subject is moving,
33 this can detract from the quality of the image.
34
35 Because the resulting image is half the height of the input image, you
36 will then want to use pamstretch or pamscale to restore it to its nor‐
37 mal height:
38
39 pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm
40
41
42 Another, usually better, way to deinterlace an image is with pammixin‐
43 terlace.
44
45
47 In addition to the options common to all programs based on libnetpbm
48 (most notably -quiet, see
49 Common Options ⟨index.html#commonoptions⟩ ), pamdeinterlace recognizes
50 the following command line options:
51
52
53
54
55 -takeodd
56 Take the odd-numbered rows from the input and put them in the
57 output. The rows are numbered starting at zero, so the first
58 row in the output is the second row from the input. You cannot
59 specify both -takeeven and -takeodd.
60
61
62 -takeeven
63 Take the even-numbered rows from the input and put them in the
64 output. The rows are numbered starting at zero, so the first
65 row in the output is the first row from the input. This is the
66 default. You cannot specify both -takeeven and -takeodd.
67
68
69
70
72 pammixinterlace(1), pam(1) pnm(1)
73
75 This manual page was generated by the Netpbm tool 'makeman' from HTML
76 source. The master documentation is at
77
78 http://netpbm.sourceforge.net/doc/pamdeinterlace.html
79
80netpbm documentation 11 November 2001 Pamdeinterlace User Manual(0)