summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/pamdeinterlace.1
blob: 8f5ced4cf8f00642e2f678d0cb62d4011eb58280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pamdeinterlace User Manual" 0 "11 November 2001" "netpbm documentation"

.SH NAME

pamdeinterlace - remove every other row from a PAM/PNM image

.UN synopsis
.SH SYNOPSIS

\fBpamdeinterlace\fP

[\fB-takeodd\fP]

[\fB-takeeven\fP]

[\fIinfile\fP]
.PP
You can use the minimum unique abbreviation of the options.  You
can use two hyphens instead of one.  You can separate an option name
from its value with white space instead of an equals sign.

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpamdeinterlace\fP removes all the even-numbered or odd-numbered
rows from the input PNM or PAM image.  Specify which with the
\fB-takeeven\fP and \fB-takeodd\fP options.
.PP
This can be useful if the image is a video capture from an
interlaced video source.  In that case, each row shows the subject
1/60 second before or after the two rows that surround it.  If the
subject is moving, this can detract from the quality of the image.
.PP
Because the resulting image is half the height of the input image,
you will then want to use \fBpamstretch\fP or \fBpamscale\fP to
restore it to its normal height:

.nf
\f(CW
pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm
\fP

.fi
.PP
Another, usually better, way to deinterlace an image is with
\fBpammixinterlace\fP.

.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see 
.UR index.html#commonoptions
 Common Options
.UE
\&), \fBpamdeinterlace\fP recognizes the following
command line options:



.TP
\fB-takeodd\fP
Take the odd-numbered rows from the input and put them in the
output.  The rows are numbered starting at zero, so the first row in
the output is the second row from the input.  You cannot specify both
\fB-takeeven\fP and \fB-takeodd\fP.

.TP
\fB-takeeven\fP
Take the even-numbered rows from the input and put them in the
output.  The rows are numbered starting at zero, so the first row in
the output is the first row from the input.  This is the default.  You
cannot specify both \fB-takeeven\fP and \fB-takeodd\fP.



.UN seealso
.SH SEE ALSO
.BR "pammixinterlace" (1)\c
\&,
.BR "pam" (1)\c
\&
.BR "pnm" (1)\c
\&
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pamdeinterlace.html
.PP