97 lines
2.2 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pnmsmooth - smooth out an image
|
|
<A NAME="lbAC"> </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"> </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"> </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"> </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"> </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"> </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>
|