1Pamedge User Manual(0) Pamedge User Manual(0)
2
3
4
6 pamedge - edge-detect an image
7
8
10 pamedge [imagefile]
11
12
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, except
31 at least 255. The effect is better with larger maxvals, so you may
32 want to increase the maxval of the input by running it through pamdepth
33 first.
34
35
37 There are no command line options defined specifically for pamedge, but
38 it recognizes the options common to all programs based on libnetpbm
39 (See
40 Common Options ⟨index.html#commonoptions⟩ .)
41
42
44 pgmenhance(1), pamditherbw(1), pamdepth(1), pammasksharpen(1),
45 pamsharpness(1), pamsharpmap(1), pam(1), pnm(1)
46
47
49 pamedge was added to Netpbm in Release 10.14 (March 2003). It replaced
50 pgmedge, which was the same thing, but worked only on PGM and PBM
51 images.
52
53
54
56 Copyright (C) 1991 by Jef Poskanzer. Adapted to pnmedge Peter
57 Kichgessner in 1995, and then to pamedge by Bryan Henderson in 2003.
58
60 This manual page was generated by the Netpbm tool 'makeman' from HTML
61 source. The master documentation is at
62
63 http://netpbm.sourceforge.net/doc/pamedge.html
64
65netpbm documentation 11 January 2003 Pamedge User Manual(0)