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

91 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pgmedge</TITLE>
</HEAD><BODY>
<H1>pgmedge</H1>
Section: User Commands (1)<BR>Updated: 04 February 1990<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>
pgmedge - edge-detect a portable graymap
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pgmedge</B>
[<I>pgmfile</I>]
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a portable graymap as input.
Outlines the edges, and writes a portable graymap as output.
<A NAME="ixAAC"></A>
Piping the result through
<B>pgmtopbm -threshold</B>
and playing with the
threshold value will give a bitmap of the edges.
<A NAME="ixAAD"></A>
<P>
The edge detection technique used is to take the Pythagorean sum of
two Sobel gradient operators at 90 degrees to each other.
For more details see &quot;Digital Image Processing&quot; by Gonzalez and Wintz,
chapter 7.
<P>
The maxval of the output is the same as the maxval of the input The
effect is better with larger maxvals, so you may want to increase the
maxval of the input by running it through
<B>pnmdepth</B>
first.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+pgmenhance">pgmenhance</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pgmtopbm">pgmtopbm</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pnmdepth">pnmdepth</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+pgm">pgm</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+pbm">pbm</A></B>(5)
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1991 by Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">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:22 GMT, March 31, 2021
</BODY>
</HTML>