128 lines
2.9 KiB
HTML
128 lines
2.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pamdeinterlace</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pamdeinterlace</H1>
|
|
Section: User Commands (1)<BR>Updated: 11 November 2001<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pamdeinterlace - remove ever other row from a PAM/PNM image
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pamdeinterlace</B>
|
|
|
|
[<B>-takeodd</B>]
|
|
|
|
[<B>-takeeven</B>]
|
|
|
|
<I>N</I>
|
|
|
|
[<I>infile</I>]
|
|
|
|
<P>
|
|
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.
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>pamdeinterlace</B>
|
|
|
|
Removes all the even-numbered or odd-numbered rows from the input
|
|
PNM or PAM image. Specify which with the
|
|
<B>-takeeven</B>
|
|
|
|
and
|
|
<B>-takeodd</B>
|
|
|
|
options.
|
|
<P>
|
|
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.
|
|
<P>
|
|
Because the resulting image is half the height of the input image, you
|
|
will then want to use
|
|
<B>pamstretch</B>
|
|
|
|
or
|
|
<B>pnmscale </B>
|
|
|
|
to restore it to its normal height:
|
|
<P>
|
|
<B>pamdeinterlace myimage.ppm | pamstretch -yscale=2 >newimage.ppm</B>
|
|
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-takeodd</B>
|
|
|
|
<DD>
|
|
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
|
|
<B>-takeeven</B>
|
|
|
|
and
|
|
<B>-takeodd</B>.
|
|
|
|
<P>
|
|
<DT id="2"><B>-takeeven</B>
|
|
|
|
<DD>
|
|
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
|
|
<B>-takeeven</B>
|
|
|
|
and
|
|
<B>-takeodd</B>.
|
|
|
|
<P>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pamstretch">pamstretch</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmscale">pnmscale</A></B>(1)
|
|
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
put by Bryan Henderson in the public domain in 2001
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="8"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:21 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|