\ .\" 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" .UN lbAB .SH NAME pamdeinterlace - remove every other row from a PAM/PNM image .UN lbAC .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 lbAD .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 lbAE .SH 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 lbAF .SH SEE ALSO .BR "pammixinterlace" (1)\c \&, .BR "pam" (5)\c \& .BR "pnm" (5)\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