Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/pamedge.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Pamedge User Manual
.SH 1
pamedge
.LP
Updated: 11 January 2003
.br
Table Of Contents
.SH 2
NAME
.LP
pamedge - edge-detect an image
.SH 2
SYNOPSIS
.LP
\fBpamedge\fR [\fIimagefile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpamedge\fR reads a Netpbm image (PNM or PAM) and produces
an image that outlines the edges.
.LP
The output image is of the same type as the input, except that the
maxval of the output is at least 255 and if the input is PBM, the output
is PGM.
.LP
You can pipe the result through \f(CWpamditherbw -threshold\fR and play
with the threshold value to get a PBM (bilevel image) of the edges.
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 "Digital Image Processing" by Gonzalez and
Wintz, chapter 7.
.LP
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 \fBpamdepth\fR first.
.SH 2
SEE ALSO
.LP
\fBpgmenhance\fR,
\fBpamditherbw\fR,
\fBpamdepth\fR,
\fBpammasksharpen\fR,
\fBpamsharpness\fR,
\fBpamsharpmap\fR,
\fBpam\fR,
\fBpnm\fR
.SH 2
HISTORY
.LP
.LP
\fBpamedge\fR was added to Netpbm in Release 10.14 (March 2003).
It replaced \fBpgmedge\fR, which was the same thing, but worked only on
PGM and PBM images.
.SH 2
AUTHOR
.LP
Copyright (C) 1991 by Jef Poskanzer.  Adapted to \fBpnmedge\fR Peter
Kichgessner in 1995, and then to \fBpamedge\fR by Bryan Henderson in
2003.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
SEE ALSO
.IP \(bu
HISTORY
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.