1Pamedge User Manual(0)                                  Pamedge User Manual(0)
2
3
4

NAME

6       pamedge - edge-detect an image
7
8

SYNOPSIS

10       pamedge [imagefile]
11
12

DESCRIPTION

14       This program is part of Netpbm(1).
15
16       pamedge  reads  a  Netpbm image (PNM or PAM) and produces an image that
17       outlines the edges.
18
19       The output image is of the same type as the input, except that the max‐
20       val  of  the output is at least 255 and if the input is PBM, the output
21       is PGM.
22
23       You can pipe the result through pamditherbw -threshold  and  play  with
24       the threshold value to get a PBM (bilevel image) of the edges.
25
26       The edge detection technique used is to take the Pythagorean sum of two
27       Sobel gradient operators at 90 degrees to each other.  For more details
28       see 'Digital Image Processing' by Gonzalez and Wintz, chapter 7.
29
30       The  maxval  of  the  output is the same as the maxval of the input The
31       effect is better with larger maxvals, so you may want to  increase  the
32       maxval of the input by running it through pamdepth first.
33
34

SEE ALSO

36       pgmenhance(1),    pamditherbw(1),    pamdepth(1),    pammasksharpen(1),
37       pamsharpness(1), pamsharpmap(1), pam(1), pnm(1)
38
39

HISTORY

41       pamedge was added to Netpbm in Release 10.14 (March 2003).  It replaced
42       pgmedge,  which  was  the  same  thing,  but worked only on PGM and PBM
43       images.
44
45
46

AUTHOR

48       Copyright  (C)  1991  by  Jef  Poskanzer.   Adapted  to  pnmedge  Peter
49       Kichgessner in 1995, and then to pamedge by Bryan Henderson in 2003.
50
51
52
53netpbm documentation            11 January 2003         Pamedge User Manual(0)
Impressum