man-pages/man1/pnmsmooth.1.html
2021-03-31 01:06:50 +01:00

97 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pnmsmooth</TITLE>
</HEAD><BODY>
<H1>pnmsmooth</H1>
Section: User Commands (1)<BR>Updated: 4 December 1994<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">&nbsp;</A>
<H2>NAME</H2>
pnmsmooth - smooth out an image
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pnmsmooth</B>
[<B>-size</B>
<I>width</I>
<I>height</I>]
[<B>-dump</B>
<I>dumpfile</I>]
[<I>pnmfile</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Smooths out an image by replacing each pixel with the
average of its width X height neighbors.
<A NAME="ixAAC"></A>
<A NAME="ixAAD"></A>
It is implemented as a C progam that generates a PGM convolution matrix
and then invokes
<I>pnmconvol</I>.
<A NAME="ixAAE"></A>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-size width height</B>
<DD>
Specifies the size of the convolution matrix.
Default size is a 3x3 matrix.
Width and height sizes must be odd.
Maximum size of convolution matrix is limited by the maximum value for a
pixel such that (width * height * 2) must not exceed the maximum pixel value.
<DT id="2"><B>-dump dumpfile</B>
<DD>
Generates and saves the convolution file only.
Use of this option does not invoke pnmconvol.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pnmconvol">pnmconvol</A>(1), <A HREF="/cgi-bin/man/man2html?5+pnm">pnm</A>(5)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHORS</H2>
Copyright (C) 1989, 1991 by Jef Poskanzer.
<BR>
Converted from script to C program December 1994 by Mike Burns (<A HREF="mailto:burns@chem.psu.edu">burns@chem.psu.edu</A>).
<P>
<HR>
<A NAME="index">&nbsp;</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">AUTHORS</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:24 GMT, March 31, 2021
</BODY>
</HTML>