| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pamedge User Manual" 1 "11 January 2003" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pamedge - edge-detect an image |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBpamedge\fP [\fIimagefile\fP] |
| 15 |
|
| 16 |
.UN description |
| 17 |
.SH DESCRIPTION |
| 18 |
.PP |
| 19 |
This program is part of |
| 20 |
.BR "Netpbm" (1)\c |
| 21 |
\&. |
| 22 |
.PP |
| 23 |
\fBpamedge\fP reads a Netpbm image (PNM or PAM) and produces |
| 24 |
an image that outlines the edges. |
| 25 |
.PP |
| 26 |
The output image is of the same type as the input, except that the |
| 27 |
maxval of the output is at least 255 and if the input is PBM, the output |
| 28 |
is PGM. |
| 29 |
.PP |
| 30 |
You can pipe the result through \f(CWpamditherbw -threshold\fP and |
| 31 |
play with the threshold value to get a PBM (bilevel image) of the edges. |
| 32 |
|
| 33 |
The edge detection technique used is to take the Pythagorean sum of |
| 34 |
two Sobel gradient operators at 90 degrees to each other. For more |
| 35 |
details see "Digital Image Processing" by Gonzalez and |
| 36 |
Wintz, chapter 7. |
| 37 |
.PP |
| 38 |
The maxval of the output is the same as the maxval of the input, except at |
| 39 |
least 255. The effect is better with larger maxvals, so you may want to |
| 40 |
increase the maxval of the input by running it through \fBpamdepth\fP first. |
| 41 |
|
| 42 |
.UN options |
| 43 |
.SH OPTIONS |
| 44 |
.PP |
| 45 |
There are no command line options defined specifically |
| 46 |
for \fBpamedge\fP, but it recognizes the options common to all |
| 47 |
programs based on libnetpbm (See |
| 48 |
.UR index.html#commonoptions |
| 49 |
Common Options |
| 50 |
.UE |
| 51 |
\&.) |
| 52 |
|
| 53 |
.UN seealso |
| 54 |
.SH SEE ALSO |
| 55 |
.BR "pgmenhance" (1)\c |
| 56 |
\&, |
| 57 |
.BR "pamditherbw" (1)\c |
| 58 |
\&, |
| 59 |
.BR "pamdepth" (1)\c |
| 60 |
\&, |
| 61 |
.BR "pammasksharpen" (1)\c |
| 62 |
\&, |
| 63 |
.BR "pamsharpness" (1)\c |
| 64 |
\&, |
| 65 |
.BR "pamsharpmap" (1)\c |
| 66 |
\&, |
| 67 |
.BR "pam" (1)\c |
| 68 |
\&, |
| 69 |
.BR "pnm" (1)\c |
| 70 |
\& |
| 71 |
|
| 72 |
.UN history |
| 73 |
.SH HISTORY |
| 74 |
.PP |
| 75 |
\fBpamedge\fP was added to Netpbm in Release 10.14 (March 2003). |
| 76 |
It replaced \fBpgmedge\fP, which was the same thing, but worked only on |
| 77 |
PGM and PBM images. |
| 78 |
|
| 79 |
|
| 80 |
.UN author |
| 81 |
.SH AUTHOR |
| 82 |
|
| 83 |
Copyright (C) 1991 by Jef Poskanzer. Adapted to \fBpnmedge\fP Peter |
| 84 |
Kichgessner in 1995, and then to \fBpamedge\fP by Bryan Henderson in |
| 85 |
2003. |
| 86 |
.SH DOCUMENT SOURCE |
| 87 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 88 |
source. The master documentation is at |
| 89 |
.IP |
| 90 |
.B http://netpbm.sourceforge.net/doc/pamedge.html |
| 91 |
.PP |