| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pamdeinterlace User Manual" 1 "11 November 2001" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
pamdeinterlace - remove every other row from a PAM/PNM image |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBpamdeinterlace\fP |
| 16 |
|
| 17 |
[\fB-takeodd\fP] |
| 18 |
|
| 19 |
[\fB-takeeven\fP] |
| 20 |
|
| 21 |
[\fIinfile\fP] |
| 22 |
.PP |
| 23 |
You can use the minimum unique abbreviation of the options. You |
| 24 |
can use two hyphens instead of one. You can separate an option name |
| 25 |
from its value with white space instead of an equals sign. |
| 26 |
|
| 27 |
.UN description |
| 28 |
.SH DESCRIPTION |
| 29 |
.PP |
| 30 |
This program is part of |
| 31 |
.BR "Netpbm" (1)\c |
| 32 |
\&. |
| 33 |
.PP |
| 34 |
\fBpamdeinterlace\fP removes all the even-numbered or odd-numbered |
| 35 |
rows from the input PNM or PAM image. Specify which with the |
| 36 |
\fB-takeeven\fP and \fB-takeodd\fP options. |
| 37 |
.PP |
| 38 |
This can be useful if the image is a video capture from an |
| 39 |
interlaced video source. In that case, each row shows the subject |
| 40 |
1/60 second before or after the two rows that surround it. If the |
| 41 |
subject is moving, this can detract from the quality of the image. |
| 42 |
.PP |
| 43 |
Because the resulting image is half the height of the input image, |
| 44 |
you will then want to use \fBpamstretch\fP or \fBpamscale\fP to |
| 45 |
restore it to its normal height: |
| 46 |
|
| 47 |
.nf |
| 48 |
\f(CW |
| 49 |
pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm |
| 50 |
\fP |
| 51 |
|
| 52 |
.fi |
| 53 |
.PP |
| 54 |
Another, usually better, way to deinterlace an image is with |
| 55 |
\fBpammixinterlace\fP. |
| 56 |
|
| 57 |
.UN options |
| 58 |
.SH OPTIONS |
| 59 |
.PP |
| 60 |
In addition to the options common to all programs based on libnetpbm |
| 61 |
(most notably \fB-quiet\fP, see |
| 62 |
.UR index.html#commonoptions |
| 63 |
Common Options |
| 64 |
.UE |
| 65 |
\&), \fBpamdeinterlace\fP recognizes the following |
| 66 |
command line options: |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
.TP |
| 71 |
\fB-takeodd\fP |
| 72 |
Take the odd-numbered rows from the input and put them in the |
| 73 |
output. The rows are numbered starting at zero, so the first row in |
| 74 |
the output is the second row from the input. You cannot specify both |
| 75 |
\fB-takeeven\fP and \fB-takeodd\fP. |
| 76 |
|
| 77 |
.TP |
| 78 |
\fB-takeeven\fP |
| 79 |
Take the even-numbered rows from the input and put them in the |
| 80 |
output. The rows are numbered starting at zero, so the first row in |
| 81 |
the output is the first row from the input. This is the default. You |
| 82 |
cannot specify both \fB-takeeven\fP and \fB-takeodd\fP. |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
.UN seealso |
| 87 |
.SH SEE ALSO |
| 88 |
.BR "pammixinterlace" (1)\c |
| 89 |
\&, |
| 90 |
.BR "pam" (1)\c |
| 91 |
\& |
| 92 |
.BR "pnm" (1)\c |
| 93 |
\& |
| 94 |
.SH DOCUMENT SOURCE |
| 95 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 96 |
source. The master documentation is at |
| 97 |
.IP |
| 98 |
.B http://netpbm.sourceforge.net/doc/pamdeinterlace.html |
| 99 |
.PP |