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
32 before or after the two rows that surround it. If the subject is mov‐
33 ing, 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 Another, usually better, way to deinterlace an image is with pammixin‐
42 terlace.
43
44
46 In addition to the options common to all programs based on libnetpbm
47 (most notably -quiet, see
48 Common Options ⟨index.html#commonoptions⟩ ), pamdeinterlace recognizes
49 the following command line options:
50
51
52
53
54 -takeodd
55 Take the odd-numbered rows from the input and put them in the
56 output. The rows are numbered starting at zero, so the first
57 row in the output is the second row from the input. You cannot
58 specify both -takeeven and -takeodd.
59
60
61 -takeeven
62 Take the even-numbered rows from the input and put them in the
63 output. The rows are numbered starting at zero, so the first
64 row in the output is the first row from the input. This is the
65 default. You cannot specify both -takeeven and -takeodd.
66
67
68
69
71 pammixinterlace(1), pam(1) pnm(1)
72
74 This manual page was generated by the Netpbm tool 'makeman' from HTML
75 source. The master documentation is at
76
77 http://netpbm.sourceforge.net/doc/pamdeinterlace.html
78
79netpbm documentation 11 November 2001 Pamdeinterlace User Manual(0)